Forums

Google Analytics for WordPress
Suggestion: Setting to not track prefetch/preview pages (1 post)

  1. stevemagruder
    Member
    Posted 6 months ago #

    I just switched to this plugin from Google Analyticator because of the support for custom variables. Thanks for that feature!

    This suggestion is something I'm doing with a site I have coded myself.

    Logic: If the X-MOZ header is equal to "prefetch" (normally for Firefox browsers) or X-Purpose header is equal to "preview" (normally for Safari), then don't call Google Analytics.

    The bottom line is that prefetched and previewed pages are not true page views, and so I don't want these showing up in GA. At least this could be an option, in case somebody for some reason wants them to show up.

    Thanks for your consideration.

    http://wordpress.org/extend/plugins/google-analytics-for-wordpress/

Reply

You must log in to post.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 6 months ago by stevemagruder
  • This topic is not resolved
  • WordPress version: 3.2.1