Google Analytics is one of the top and most widely used analytics tools. It helps us to track the traffic that we receive on our blog or website.
People can track visitors’ locations, IPs, browsers, etc, and even can check how many users are in real-time on our blog or website. It is completely free and a preferred analytics tool for webmasters.
Do you know that it also tracks you?
Irrespective of, whether you are logged in or not. Google Analytics tracks your every movement such as revisions of your blog post etc.
Don’t worry, you can stop Google Analytics from tracking your own visits and previews. This post will help you a lot, you can stop Google Analytics from tracking your own visits.
How to Stop Google Analytics From Tracking Your Visits?
There are three ways to stop the Google Analytics script from tracking your own visit. Let me explain to you one by one.
1. Block Google Analytics Tracking By IP Address
First of all, locate your own IP address by using http://whatsmyip.org/ and add that IP address to the exclusion list.
Let’s say your IP address is 192.168.0.01 then copy that IP and follow the following steps.
1. Log in to Google Analytics
2. Click on Admin
3. Click on filters inside the view property
4. Click on Add Filter
5. Create a new filter
6. Filter name
7. Check Exclude
8. Now select traffic from the IP address and put an IP address in the text box.
9. Now select expression (see step 5 in the below image) choose “that are equal to” and click on save.
This way, Google Analytics will stop tracking if traffic comes from the excluded IP address.
2. Stop Google Analytics Tracking for Page Previews
Tracking page previews by Google Analytics is a pain for everyone. We preview our post countless times before publishing it to ensure that everything goes correctly. But at the same time we preview a post, Google tracking codes also get reloaded and track every preview.
It badly impacts our analytics figures and we get the wrong report.
To stop the tracking of page previews, follow the following steps:
1. Follow the same steps as explained above like
- Analytics login
- Click on Admin
- Click on filters inside the view property
- Add filter
- Create a new filter and give the filter name
2. Now click on Custom
3. Select “Request URI” from excluding the filter field
4. Now use “preview=true” in Filter Pattern and click on save
In this way, Google Analytics will not track your page previews.
3- Stop Google Analytics Tracking For logged-in users In WordPress
If an admin is logged in, it also gets tracked by Google Analytics. To block this tracking, you need to create a filter inside the Google Analytics account.
Follow the same steps explained in the 2nd method. The only change is, that you need to use “wp-login.php“ in the Filter Pattern section and click on save. See the below image.
You can also set any other rules to exclude other page tracking in this way.
4- Block Yourself From Analytics Through Brower Extension
You can also block yourself from Google Analytics through a browser extension. There is a web browser extension called Block Yourself from Analytics. It works with Google Chrome, Microsoft Edge, Mozilla Firefox, and Opera.
With the help of the above tricks, you can stop Google Analytics from tracking your own visits and page previews.