WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. stevemagruder
    Member
    Posted 2 years 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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic