February 25, 201016 yr I'm not sure if this is the right forum, sorry if you have to move it. I have excluded a selection of IP addresses from my Google Analytics results to stop my own viewings affecting data. My IP address changes every day, (something which I have only just learnt). Most of my various IP address are in the range of 86.130.??.??, but some are 86.158.??.??. If I exclude all the IP addresses that start with 86.130 will this not exclude some local viewers? These are results that would be quite important to me as that's my target audience. How wide a range should I block?
March 4, 201016 yr Hi there. I found this information on the Google Analytics Help site. It uses cookies to filter your IP instead. To exclude traffic from dynamic IP addresses, you can use a JavaScript function to set a cookie on your internal computers. You'll then be able to filter all visitors with this cookies from appearing on your Analytics reports. How to exclude traffic by cookie: 1. Create a new page on your domain, containing the following code: <body onLoad="javascript:pageTracker._setVar('test_value');"> (Please note that this code is in addition to the Google Analytics tracking code that you have on every page of your website.) 2. In order to set the cookie, visit your newly created page from all computers that you would like to exclude from your reports. 3. Create an Exclude filter to remove data from visitors with this cookie. Follow these instructions http://www.google.com/support/googleanalytics/bin/answer.py?answer=55494 to create a filter with the following settings: Filter Type: Custom filter > Exclude Filter Field: User Defined Filter Pattern: test_value Case Sensitive: No Please let me know if this works.
Create an account or sign in to comment