Google Analytics: IP Filter

Hi everyone,
I am looking for a way to use the Google Analytics filter system to exclude the tracking towards the IP address of my computer at home.
I thought that going to and typing in that IP address would work, but apparently the IP address changes every so often with all ISP’s so this method won’t last forever…

Has anybody found a way to resolve this? We are hoping that there’s a “set it and forget it” way to exclude all of the home and personal computer use traffic in terms of Analytics tracking. (As developing / viewing the site from home can affect the traffic stats in terms of customer traffic and we only want to see the customer traffic)


Have you seen these instructions for filtering IPs? -

Let me know whether your IP address is static or dynamic. Contact your ISP to know more about static/dynamic IPs. If yours is a static IP, then you can exclude that through the GA filter…

I’ve got a static ip address so it’s easy to filter out of GA data. But I recall reading somewhere in the GA help on how to filter out a dynamic ip address.

The GA support link says to enter the first IP address in range and the second IP address in range but how do I determine what my IP address range is?


Google provides IP filter solutions. All you have to do is login into your webmaster account. There you will find IP Address block. Click on it. Provide the range of IP address. That tool generate a code. Use that code and paste on to your webpages.

If we talk about your internet connection, most internet service providers change thier IP addresses after 24 hours. That’s why you always see different IP addresses when you log on computer. If you need a static IP, ask you service provider.

Sorry, I’m having a hard time finding this in Google Analytics. In filters it says “exclude” “traffic from the IP addresses” “that are equal to” / “that begin with” / “that end with” / “that contain” and it only shows one IP address field. I don’t think my ISP provides static IPs for non-business plans.

Any ideas?

You just need to fill your IP address in the “IP address” field. Or if you are still facing problem with it you can check out with your ISP.

I was looking for same solution and got it. But what about if I want analytics don’t consider traffic from specific city, region or country? Do you know wht to do for this?

My ISP doesn’t provide static IP’s for residential accounts so I am stuck with dynamic IP.
Here are the IP exclusion filters in Google Analytics:

I noticed that the first two numbers are always “70.67” even with dynamic IP - but would excluding all of the IPs that start with those 2 numbers exclude way more than just my own home?
If so, how do I set this up for “range” within my IPs to only exclude my own home?


An alternative is to install the Google Analytics Opt-out Browser Add-on (BETA) - It’s “available for Microsoft Internet Explorer, Google Chrome, Mozilla Firefox, Apple Safari and Opera.”

I am using it on 2 machines and it is working for me