How to remove an IP address from Google Analytics Results


How to Remove an IP AddressSmall 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:

  1. Find out what your computer IP address is
    1. Visit http://whatismyipaddress.com/ to determine your device’s IP address
    2. 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.
  2. Log into your Google Analytics account
  3. Click the gold “Admin” button on the top right side of the horizontal navigation bar.
  4. In the “Profiles” tab, select the “Filters” sub-tab.
    IP Address1
  5. Click the “+New Filter” button
    IP Screenshot2
  6. Create a name for the filter such as “David’s CPU” or “John’s iPad”
  7. In the Filter Type leave the ‘Predefined filter’ selected and select “traffic from the IP addresses” from the middle drop down menu
  8. Add the IP address number into the 4 number boxes shown.
    IP Address3
  9. Save

To remove a range of IP addresses:

  1. Find out the full range of your networked computer IP addresses
    1. 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.
  2. Log into your Google Analytics account
  3. Click the “Admin” button on the top right side of the horizontal navigation bar.
  4. In the “Profiles” tab, select the “Filters” sub-tab.
  5. Click the “+New Filter” button
  6. Create a name for the filter range to be excluded such as “All Office CPUs”
  7. Select the “Custom filter” type radio button
    1. 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
    2. Enter the beginning IP address and last IP address of the range to be filtered and click the “Generate RegEx” button
      ip6
  8. Copy the code that is created after generating  the RegEx
  9. Return to the Google Analytics page and paste the code into the “Filter Pattern” text field
    IP Address5
  10. Save
  11. Done!

About Brian Loebig

Owner of LoebigInk.com, author of TheInkBlog.net, CriminalThinking.net and part-time Technology Manager for the Alliance for Performance Excellence, Brian has over 15 years of experience working in the quality improvement, human services and technology fields as an administrator and consultant. Brian has also worked as a practitioner and administrator in the corrections, substance abuse and human services fields with a special emphasis on technology. He continues to work with numerous community-based non-profits as a web technology consultant, board member and volunteer. Feel free to .
This entry was posted in How To... and tagged , , , , , , , , , , . Bookmark the permalink.

11 Responses to How to remove an IP address from Google Analytics Results

  1. dgreentorres says:

    Brian,

    Thank you so much Buddy for sharing this with me!

    Dolores

  2. Wendy Moore says:

    Fabulous. Extremely useful Brian. Thanks.

  3. danada says:

    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?

  4. BrianL says:

    That is correct Danada. It will only begin to filter and exclude IP addresses from analytic results after the IP removal process was complete.

  5. Well written article! Thanks for taking the time to show how to fillter ip from my GA account. I like the detail you provide.

  6. allison says:

    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

    • Brian Loebig says:

      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!

  7. Jeff says:

    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 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s