How to Filter An IP Address in Google Analytics

To make sure your visits to your site are not being tracked by Google Analytics, you need to know how to filter an IP address. Why is this even important? Your IP address can have an impact on how Google reports visitors to your site. You should be adding content to your site 2-3 times a week. If you do not set up a filter to filter out your IP address, Google will count your visits to your own site. The result is that your visitor numbers will be off. You may see that you have 100 visitors on a given day. But 10% of those hits could have come from you. Wouldn’t you rather have accurate information about your visitors? Ok, let’s get started….

What is an IP Address and How Does it Work?

Much like your street address, each time you are online, you are registering your computer on your network with an IP Address. An IP address is a unique set of numbers that is assigned to your computer by your broadband company. This number allows you to communicate over the Internet via your broadband connection. Your IP address will normally stay the same unless you change broadband companies. The number sequence is displayed like this: where x is a number. Whether you are working in an office or surfing the Internet at home, you will need an IP address. A lot of us take this for granted. We fire up our computers and jump on the internet while all of this is happening in the background.

How to Find My IP Address Location

Finding your IP address really isn’t that hard. The easiest way is to start by going to any search engine; type in “what’s my ip address” and your IP address will display on your screen.

how to filter an ip address

How to Block Your IP Address From Google Analytics

Now we get to learn how to filter an IP address in Google Analytics! Here comes the fun part!

  • Log into your Google Analytics account.
  • Click on: All Web Site Data
  • At the top of the screen, you will see the following links: Home, Reporting, Customization, Admin. Click on Admin.

how to filter an ip address

  • In the next screen, click All Filters in the left panel, under Accounts.
  • Next, click on the Add Filter button.

Filter Name: Type in a name here such as Exclude Home IP.

The filter type: will be predefined.

Select Filter Type: Exclude

Select Source or Destination: traffic from the IP addresses

Select Expression: that are equal to

You will then see a box to type in your IP address. Type in the IP address including the decimals. You number should look something like: 123.456.789.1

Then click SAVE.


Congratulations! You just filtered out your IP address on Google Analytics! You can use this technique for any website that is registered with Google Analytics. Simply go into the Google Analytics panel and follow the same steps as above. Then when you look at the traffic statistics to your site, the results will be more accurate.

TIP: All broadband companies will have their own range of IP addresses to use for their customers. And it’s very common to change broadband providers over time. These companies are competing for your business offering what they think are the best deals for you. If you change broadband companies, be sure to check your IP address after the switch and update any filters you set up in Google Analytics accordingly.

You now have a good understanding on what an IP address is, how it works and how to block your IP address from Google Analytics. Filtering out your IP address allows you to get more accurate results from Google Analytics.

Thanks for dropping in and checking out my little tutorial on how to change your IP address in Google Analytics. If you have any questions or comments, please leave a comment below.

2 thoughts on “How to Filter An IP Address in Google Analytics”

  1. Hello Alana,

    Thank you very much for enlightening us with this great article. I have to be honest and tell you that I was surprised, though. I know how to filter the IP address to get more accurate results from Google Analytics. However, I did not know that -we have to block our website IP if we change Internet Providers as well.

    I have a question Alana, if we are blocking are IP from Google to obtain more accurate results of the traffic to our websites in Google Analytics, then do you think it is wise to do the same in Yahoo, Alexa and any search engine online? We know that Google is the largest search engine but Yahoo still hold 20-30% of traffic if I am not mistaken of course (forgive me if I am wrong please).

    So, would you advise to do the same at least with Yahoo for being the secong biggest search engine? or what is your point of view on this matter?

    Thank you again, and I will be looking forward to hearing your response.

    Great website as well, keep the passion, quality and good work 😉

    • Hello Olivia! I haven’t explored that in Yahoo/Bing, or Alexa. I actually don’t even use Alexa. I rely strictly on Google and Bing/Yahoo. If it’s at all possible, I would advise that you block your IP address in Yahoo and Alexa in order to get better search results. Thank you for dropping by! I’m always happy to answer any questions! Hope this helps! Let me know if you do the same with Alexa and Bing. I’m sure other visitors would want to know as well. All the best, Alanna


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.