Small business website owners are sometimes skeptical about the reported number of visitors that are frequenting their website. They often wonder how many times their own visits, or visits by staff, impact their Google Analytics results. A fool proof way to eliminate one’s own visits or in-house staff visits from Google Analytics is to ‘filter’ them out of the results. Here is a step by step guide for removing, or filtering out, individual IP addresses or ranges of IP addresses from Google stats.
To remove individual IP addresses:
- Find out what your computer IP address is
- Visit http://whatismyipaddress.com/ to determine your device’s IP address
- You can visit this site with any computer or other internet device such as an Smart Phone, iPad, etc. to determine it’s IP address.
- Log into your Google Analytics account
- Click the gold “Admin” button on the top right side of the horizontal navigation bar.
- In the “Profiles” tab, select the “Filters” sub-tab.
- Click the “+New Filter” button
- Create a name for the filter such as “David’s CPU” or “John’s iPad”
- In the Filter Type leave the ‘Predefined filter’ selected and select “traffic from the IP addresses” from the middle drop down menu
- Add the IP address number into the 4 number boxes shown.
- Save
To remove a range of IP addresses:
- Find out the full range of your networked computer IP addresses
- A great ‘free’ tool for finding out your networked IP addresses is Radmin Remote Control: http://www.radmin.com/products/ipscanner/. This tool is malware and adware free, quick to install, easy to use and is only 6mb’s in size.
- Log into your Google Analytics account
- Click the “Admin” button on the top right side of the horizontal navigation bar.
- In the “Profiles” tab, select the “Filters” sub-tab.
- Click the “+New Filter” button
- Create a name for the filter range to be excluded such as “All Office CPUs”
- Select the “Custom filter” type radio button
- In a new window, navigate to the “AnalyticsMarket” IP Range Regular Expression Builder to generate the ‘filter pattern’ that will be added to this new filter: http://www.analyticsmarket.com/freetools/ipregex
- Enter the beginning IP address and last IP address of the range to be filtered and click the “Generate RegEx” button
- Copy the code that is created after generating the RegEx
- Return to the Google Analytics page and paste the code into the “Filter Pattern” text field
- Save
- Done!
- Related Article: How To Add a User to a Google Analytics Account
- For more “How To” technology articles visit our “How To” Articles Category.
- Need more support? Drop us a note on our website contact page.
Brian,
Thank you so much Buddy for sharing this with me!
Dolores
Your are signed up for my blog so you receive notification automatically anytime I post a new article. 🙂
Fabulous. Extremely useful Brian. Thanks.
Glad you found it useful Wendy!
Thanks for sharing, really useful! I have only one question: I presume that the filter will begin to work after its application; page views from the ip adress that was filtered will remain in the past results, but it will not be shown onwards?
That is correct Danada. It will only begin to filter and exclude IP addresses from analytic results after the IP removal process was complete.
Well written article! Thanks for taking the time to show how to fillter ip from my GA account. I like the detail you provide.
You’re welcome Philip! Thanks for leaving a note. It’s nice to know people are listening!
I could not figure out how to generate the RegEx for my string of IPs from this page. I could not the IP Address range tool : http://support.google.com/analytics/bin/answer.py?hl=en&answer=1034771
Thanks for asking Allison! I discovered that Google removed their IP Address Range tool so I found another one that works equally as well and added it to this post. Check it out!
Excellent Article. I’ve read other more technical articles, that basically stated there was no easy to do this, so you had to use all these custom methods by digging into code. You show how analytics is pre-designed with this functionality already built in, and I think you for that!
Have a great day 🙂