How To Block Your IP Address From Google Analytics


In this text you will learn how to block your IP address from Google Analytics. This is important if you want to have an accurate information about visitors to your site and about true number of clicks to your links. In other words, you want to prevent your own clicks to be counted by GA.

How-to-exclude-dynamic-address-from-Google-analyticsGoogle Analytics is a free tool, and in this text I shall assume that you are familiar with it, and that you already have your account at GA. If you do not have it, then you are missing something very helpful.

GA is a very useful tool which tracks all activity at your site. Problem is it tracks also your own clicks to your links, because your computer has its IP address and GA records it like any other IP of your site’s visitors.

Recently, I was adding a lot of stuff to a few hundreds of my posts in one of my sites, and I was checking links in each of them. This created huge peaks in my Google Analytics graphs. So I realized it was time to do something about it. This text is the result of it, here I describe what I have learned in the process and how you can exclude your IP address from Google Analytics.

What is IP address

When you connect your machine to the Internet, it is assigned a number known as an Internet Protocol or IP address. In my case I have 4 groups of 3 digits, but you may have something else, this is dependent on location.

The IP address can be:

  • Dynamic.
  • Static.

Some basic description of the two you can read in this Google Support text. So for the first case, normally a different IP address is assigned each time you log on, or when you switch off  and on your modem. However, this may also depend on your provider. Namely provider may have more customers than addresses. Not all of them are online all the time, so an IP address is assigned randomly from those that are available.

The static address is constant, as you can conclude from its name.

Typically, people have dynamic IP addresses. This is a bad news. You realize, you will have to filter out your IP address  from time to time because whatever you put into the filter is in fact temporary. But there are more clever ways.

Below I explain how to filter out your address from Google Analytics, regardless if it is static or dynamic.

How to exclude a dynamic address: use Google Analytics opt-out browser add-on

Go to your browser and search for “Google Analytics opt out”. This will lead to Google Tools and you will see this:

How To Find the Opt-Out Add-On
How To Find the Opt-Out Add-On

All you have to do is press this blue button and follow a few easy steps. With this your job will be done.

So this was easy. See now how to deal with a static address.

How to exclude a static IP address from Google Analytics

Step 1: What is your IP address

This is easy. Go to Google browser and type ‘what is my IP”. You will get it immediately.

Step 2: Go to your Google Analytics

  • Log into your account and go to Admin.
  • On the right you will see the column View, now go to Filters.
  • There is a red button Add Filter; press and choose Create New Filter.
  • You will be asked to give a file name. This is to know which is which in case you have several. This is what you will see in front of you:How-to-exclude-dynamic-address-from-Google-analytics
  • Beneath Filter Type you see three tabs which have drop-down menus when you press, so all you have to do is to select some of the possibilities. I have selected the following:How-to-exclude-dynamic-address-from-Google-analytics
  • Next, in the remaining tab I paste the IP address which I have found in the Step 1 above.
  • Save. Job done!

So this is how to block your IP address from Google Analytics. To summarize, you have two possibilities, static and dynamic address, and you apply two different procedures to exclude your IP address from Google Analytics.

Note 1: In a text, I have seen a few lines about some themes that are cleverly designed so that they do not load the tracking script for the user who is logged in the  WordPress admin area. But I have not explored this further and cannot say which themes have such features.

Note 2: Normally at home you have a modem and all your computers run through it. Modem itself has its own IP address, which is most likely static. So you might want to exclude the modem’s IP instead of excluding IPs of your computers. I am not sure if this is enough. Most likely you have to do this for your computer only, but you can certainly block the modem’s IP address, no harm for sure.

Thank you for reading. If you find this text useful please share it with others. It will be great to have some comment from you, there is a comment box below.

Do you have difficulties in finding great keywords for your text, with optimal search and traffic numbers, and with few competing pages? I am using two great keyword tools, and right now in one of my sites I have 195 pages and posts (out of 208) within top three pages in Google. Here is one of the keyword tools, try it out, they offer 30 free searches.



  1. Hi Jovo
    Thank you for explaining about the dynamic IP addresses. We were scratching our heads, since we suspected that our own visits were counted, but couldn’t figure out how it can be, when we have excluded our own IPs. We prefer to use the Opera Browser, will see how it goes.
    Thank you very much for your help Jovo!

    1. Most welcome, yes the IP addresses are practically always dynamic, most likely for security reasons. The add-on which I mentioned should solve the problem for you. Though I have never used Opera. Best regards.

  2. Thank you for this excellent, detailed information.
    I had previously added two IP addresses to a filter so far, and noticed today it had changed yet again.

    I had already done the ‘static’ IP addresses in Google Analytics, and just need to exclude the ‘dynamic’ IP addresses as well.

    Thanks again this was very helpful!

    1. Most welcome Patsy, great to hear that it was helpful.

Leave a Reply

Your email address will not be published. Required fields are marked *