• Hi,

    I would like to be able to exclude myself from analytics. As I have a dynamic IP, I understand I will need to create a User Defined filter and adjust my GATC for google to store a cookie in my browser.

    I have followed the steps outlined in this blog post: http://digitalmeasure.me/post/43458357915/removing-employee-visits-from-analytics

    The instructions state that a cookie called __utmv will be stored in my browser. I added the code required to a separate page, as requested:

    <script type=”text/javascript”>
    _gaq.push([‘_setVar’, ‘analytics-exclude’]);
    </script>

    Yet I cannot see this cookie in my browser’s list of cookies, either in Safari 6.0.5 or Chrome 28.0.1500.71. This means that I can still view my visits when checking real-time reporting in GA.

    Is there an issue with the communiciation between this plugin and my User Defined filter in GA? Is there something else I should have done when pasting the code into the unique page on my WP site?

    Any help would be greatly appreciated.

    Ben

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

Viewing 1 replies (of 1 total)
  • Ben,

    I just stumbled on your post. I wrote the blog post referenced on excluding yourself from your analytics.

    I noticed the code you posted uses smart quote marks, which is invalid HTML. It’s not your fault. You copied it from my blog and I just noticed that my blog’s single quote marks (”) are being converted to smart single quotes (‘’). It’s hosted on Tumblr and the platform does stupid things to my content like that.

    If this issue remains unresolved, try the revised code below and let me know if it works or doesn’t work.

    <script type="text/javascript">
    _gaq.push(['_setVar', 'analytics-exclude']);
    </script>
Viewing 1 replies (of 1 total)
  • The topic ‘Excluding myself from analytics using cookies’ is closed to new replies.