Exclude IP Address From Google Analytics

If you have installed Google Analytics on your site, or for a client it is always helpful to exclude IP addresses so the sites stats give an accurate representation of the real traffic.

Note: You will need to have admin rights to the Google Analytics account and know the IP address/s to filter out.

If you are unsure of your IP address, just google “What is my IP address“. The first result returned should be your IP address.


Then login to your Google Analytics account and select the “Admin” link in the top right.


Then select “All Filters“.


Once you are viewing the filters screen you want to create a new one. Select “New Filter“.


When on the new add filter screen you will need to add a name for your filter (e.g. Exclude Home IP). Select the “predefined” radio button. Make sure “Exclude“, “traffic from the IP addresses” and “that are equal to” are selected from the drop down menus.

Add your “IP Address” to exclude.

Then select your website/s that you would like to apply this filter to.


Once this change has been saved you should be able to view the realtime data and the IP address that was added should be excluded.

Want to become a better web developer?

Join over 25,000 other developer & designers who get awesome links to the best news and articles each week delivered directly to their inbox.


  1. very clear instructions. Thank you

  2. Perfect – thanks for the step-by-step!

  3. Hello,
    This is perfect. I want to know, if i done this, Data under (Audience -> overview) is filtered or not? Is it exclude data which i was visit from that IP?

  4. super helpful and clear instructions. thanks mucho!

  5. Thanks … many others misleading, yours clear

  6. I have done it for IPv4 I got to learn for IPv6.

  7. Is there a way to see previous traffic from the IP address that is being filtered? I’d like to compare the traffic before and after the IP address filter was set which was recently. Thanks.

    • Great tips you have shared. We have to follow all the methods which are you have shared.

  8. you can also add localhost instead of your ip, if you have analytics currently tracking you local site

  9. The + New Filter not show up if my account aren’t owner 🙁

    • Great tips you have shared. We have to follow all the methods which are you have shared.


  10. Hi,

    thanks for the interesting article. I had to perform the steps you describe so often that I created an open source tool that performs them automatically. It looks up your IP and creates an exclusion filter at the click of a button. It’s open source and 100% free. You can find it at https://www.excludemyip.com. I hope you’ll find it useful!


  11. Wow…That’s incredible tip for beginners as well as for experienced digital marketers.Now i can bifurcate the real visitors and users for my website.

This post currently has 15 responses. What do you think?

You can use basic HTML when posting code, please turn all < characters into &lt; or > into &gt;
If the code is multi-line, use <pre><code></code></pre>

Leave a Reply

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