How to Block Google Analytics from Tracking Your Own Visits

Mamta
| | March 28, 2021
SEMrush

Disclosure: This page may contain affiliate links. When you click an affiliate link and make a purchase, we get a small compensation at no cost to you. See our Privacy Policy and Disclaimer for more info.

If you don't want Google to track your own visit but doesn't know how to block Google Analytics from tracking your own visits then you're at the right place.

Google Analytics is a free web analytics service offered by Google Inc. that allows you to track, monitor and report traffic to your website.

When you add Google Analytics in your website, it allows you to track your website traffic and users activity such as session duration, pages per session, bounce rate, etc. along with the information on the source of the traffic.

Let's get started and learn how to block IP address in Google Analytics.

Does Google Analytics track IP addresses?

The answer to the question whether Google Analytics track IP addresses or not is NO.

While Google does collect IP addresses but this data are not shared with the end users. So, in Google Analytics report you will not see any data related to IP addresses of users.

Does Google Analytics track my own visits?

The answer is YES. Google Analytics counts each visits to your website, including your own, as real data.

Though Google Analytics allows you to analyze what people do after landing on your website, how long they stay, what other pages of your website do they visit, etc. but you must ensure that your visits are not included in the metrics.

Why Should I block Google Analytics from tracking my own visits or IP address?

Blocking Google Analytics is important for websites that has started recently and receive fewer traffic.

As soon as you add tracking code provided by Google Analytics in your site, it starts measuring traffic coming to your website. 

But if Google Analytics is tracking your own visits to your site then your traffic data is not accurate.

For a blog that is new, you may want to accurately measure your website traffic. 

It may happen so that one particular day you see a sudden spike in your traffic.

While it may be a reason to be happy to see some traffic growth but when you analyze carefully you'll see that Google Analytics is taking into account your visit to the site for calculating the traffic stats. 

Let see how we can avoid this by following two easy methods.

Make your WordPress site or blog compliant with the GDPR rules.

Learn more.

How to Block Google Analytics from Tracking Your Own Visits or IP address?

There are many options to achieve this. In this post we will focus on two easy options to block your visits or IP address.

OPTION 1: 

This one is a very simple option. Add a chrome extension - Block Yourself from Analytics. Just install it and add the name of website where you don't want Google Analytics to track your visits. That's it.

Add this extension by selecting the link given below-

Block Yourself from Analytics chrome extension.

Block Yourself from Analytics extension

Block Yourself from Analytics Chrome Extension

After installation of extension, select the icon added in the top right bar of Google Chrome. Now, select Options. See the image given below.

Now you will see the following dialog box.

Block Google Analytics

Block Google Analytics

Enter the name of the website here. See the above image. After entering the name select Add button and click on Save.

Now your IP address or your visit will not be counted towards website traffic for this website in Google Analytics report.

However, if you don't want to use any extension then there is another option to do this.

Now, let's see option 2.

OPTION 2:

Inside Google Analytics you can easily make some changes and block your own visits by adding your IP address. If you don't know your IP address visit the following sites to find it-

https://whatismyipaddress.com/ and

https://www.whatismyip.com/

Your IP address will look like this: 105.57.186.42 (example). Now that you know your IP address please note it down.

Login to Your Google Analytics Dashboard and select your website property.

Now select Admin from the left side pane. Select the account where you don't want the visits to be tracked. Now, select All Filters. Then click on ADD FILTER.

Enter any filter name, for example, I have given "Exclude Own Visits". 

Under Filter Type, by default Predefined is selected. Leave it as it is.

Under select filter type select Exclude.

Under select source or destination select traffic from the IP addresses.

Under Select expression select that are equal to.

Now enter your IP address which you don't Google Analytics to track.

Then under Apply Filter to Views select All Web Site Data and click on Add.

Now scroll down a bit and select Save.

Google Analytics Filter

Creating Google Analytics Filter

Thus, a new filter has been created which will now block Google Analytics from tracking your IP address.

Conclusion

Now you know how to block IP in Google Analytics.

Above I have explain why it is important to block Google Analytics in a website that is new.

The two method given above are very easy to follow and implement.

Just follow the above mentioned steps and your visit to your site won't be ever counted as visits in Google Analytics.

I hope you enjoyed this simple tutorial which helped you in blocking your own visits in Google Analytics report.

Sharing is Caring! If you like this article, please take a moment to share it on social networking websites.

GreenGeeks 70% OFF
GreenGeeks
GreenGeeks offers an environment-friendly hosting solution to its customers. Start your website at GreenGeeks Lite Plan at only $2.95 per month. The Plan includes FREE Domain Name, FREE SSL Certificate, FREE Backup, SSD Storage, and others.
GeneratePress Best Seller
GeneratePress
The GeneratePress WordPress theme is used by 200000+ websites. It is less than 30 kb in size which makes your website super light and very fast to load. This theme is very popular among affiliate marketers and is fully customizable. You will also get a 30-days money-back guarantee.
  • Thanks for this article. Do you know how I can blog my phone IP’s address? I have tried and for some reason, google analytics is still able to track when I log in on my phone.

  • >
    Share via
    Copy link
    Powered by Social Snap