+(44) 0845 095 6633
+(00) 1310 512 6058
0845 095 6633

Exclude visits from a dynamic IP with Google Analytics

September 24, 2008 by James Oliver

Quite an important tip here to show you how to filter out and exclude data from a dynamic ip on Google Analytics. Most people will tend to visit their site to check blogs, forums or even during testing of new products etc. which can lead to an inaccurate number of visits to your site.

In order to stop this you would normally add a filter to Google Analytics for your ip (if it was static), but how would you go about doing this if you have a dynamic IP – which most every day broadband users will have?

Well, the solution lies in using a cookie as opposed to using IP addresses to filter out your computer. The idea behind this is to set a cookie and then use filtering system to look for the cookie and the filter out and ignore all data from the computer/s storing the cookie.

To set the cookie you need to create a new page on your domain with the following code:

<body onLoad=”javascript:__utmSetVar(’no_report’)”>

This code is in addition to the tracking code added at the bottom of all pages on the site. The next step would be to visit this site from any machine you want to exclude in order to set the cookie.

The last step is quite simply creating the filter that will look for the cookie and exclude the data. To do this, follow these steps:

  1. Click Analytics Settings.’
  2. Click ‘Filter Manager.’
  3. Click ‘Add Filter.’ The Create New Filter page appears.
  4. Enter a Filter Name for this filter (maybe use ‘dynamic IP filter).
  5. From the Filter Type drop-down list, select Exclude.
  6. From the filter field select: User Defined
  7. From the filter pattern, select: no_report
  8. Make case sensitive: No
  9. Under the ‘Apply Filter to Website Profiles’ section, select the Available Website Profiles to which this filter will be applied.
  10. Click Add to move the selected profiles into the ‘Selected Website Profiles’ list.
  11. Click Finish to create this filter and start applying it to incoming data

The only bit left to do here is If you use multiple browsers, you will need to visit the newly created set cookie page from each browser you use as they all store cookies in different locations.

I hope this is useful!

  • Digg
  • Google Bookmarks
  • Technorati
  • Facebook
  • del.icio.us
  • MySpace
  • StumbleUpon
  • Sphinn
  • Reddit
  • Mixx
  • Fark
  • NewsVine
  • Live
  • Print
  • email

Related posts:

  1. Analytics School: Add a PPC Only Profile to Analytics
  2. Analytics School – Ten Top Tips
  3. Google Introduces Dynamic Search Ads Platform in Beta
  4. Google Announces new Analytics Platform in Beta
  5. Getting the best ROI from Adwords using Google Analytics
  6. Google Analytics Tracking For Adobe Flash


No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

UK Office

Phoenix House
Pyrford Rd, West Byfleet
Surrey, KT14 6RA

Tel: +(44) 0845 095 6633

Email: sales@topclickmedia.co.uk

USA Office

Broadway Plaza
520 Broadway, Suite 350
Santa Monica, California 90401

Tel: +(00) 1 310 512 6058

Email: sales@topclickmedia.com

Resources