WordPress SEO by Yoast
Custom "Prefix to use in Analytics before the tracked pageview (1 post)

  1. EddyR01
    Posted 3 years ago #

    We need to modify the "Prefix to use in Analytics before the tracked pageviews" option to include the Post ID and Post Author ID like so:

    '/yoast-ga/' . $post_id . '/' . $post_author_id . '/'

    Is this possible? Or is there a way to modify function ga_get_tracking_prefix() without modifying it in the core Yoast plugin files?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress SEO by Yoast
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic