Prevent Google Analytics Tracking Your Visits. ~ The Blog Doctor.

Prevent Google Analytics Tracking Your Visits.

New Visitor? Like what you read? Then please subscribe to my Blog Feed or sign up for Free Email Updates. Thanks for Visiting!

Blogger does not have an inbuilt visitor tracking software. Hence bloggers are forced to install some other like Statcounter or Google Analytics.

You can prevent your visits being tracked by Statcounter by checking that option during the configuring code process before pasting it in your template. For Google Analytics the process is slightly more complicated..........


An IP address is a set of four numbers assigned to a computer by an Internet service provider (ISP) to be its permanent address on the Internet during the period of connection. To see your IP address right click your connection icon in the system tray at bottom right on your computer screen and choose Properties. If this set of four numbers that change every time you connect then you have a dynamic IP address which is a temporary one for the duration of that connection. If they remain the same it is a static IP address.

If your ISP is assigning a dynamic IP address to your computer when it connects to the Internet use the following method :


Login at and click on Layout link on Dashboard. Then click on Edit Html subtab of Template tab. In the template box scroll down to this code :



<body onLoad="javascript:__utmSetVar('no_report')">



Enable cookies in all the browsers you are using to access your blog. In Firefox go to Tools----->Options----->Privacy----->Cookies----->Check the box to Accept Cookies from Sites------>OK.

In Internet Explorer go to Tools----->Internet Options---->Privacy----->Advanced---->Check the Accept boxes and click OK.


The last step is to create an Exclude filter in your Google Analytics account settings to remove data from visitors with this cookie. For this login to your Google Analytics page and click on Analytics Settings at top left. Then click on Filter Manager link at bottom right. Click + Add Filter in top frame of Filter Manager and set these settings :

Filter Type: Custom filter > Exclude
Filter Field: User Defined
Filter Pattern: no_report
Case Sensitive: No

In Apply Filter to Website Profiles select the blog from your blogs in the left side box. Click Add to transfer it to right box.

Click Finish. Lastly visit your blog from your machine to set the cookie.


If you are having a static IP address or wish to avoid traffic from a group of static IP addresses from being reported :

1. On Google Analytics Settings Page click on Filter Manager.

2. Create a filter by clicking on + Add Filter in top frame of Filter Manager.

3. Filter Type: Custom filter > Exclude all traffic from an IP address.

4. Enter the IP address in this format :


If the address you wish to exclude is 274.362.5.5

5. If you want to enter a range of addresses use this tool.

6. Apply Filter to Website Profiles by selecting the blog from your blogs in the left side box. Click Add to transfer it to right box.

7. Click Finish.


Breno said...

if you leave the code in blogger... everybody who visit your blog will set that cookie "no_report", right?

vin said...


Hence you have to set a filter to remove data from visitors with this cookie. See the third step.

Breno said...

yeap Vin, but if you visit my blog and the code(body onLoad="javascript:__utmSetVar('no_report')") is there.. you will also set the cookie in your browser and your visits won't be counted too.

vin said...

Well Breno,

I have tested the code in my blog at :

Tips for Bloggers

and so far it is showing me visitors from all over and has stopped counting my visits.

To check if you have put in the code and the filter properly click on Visitors in your Google Analytics sidebar and then on Map Overlay. Then in the countries that appear lower down drill down to your city.

Check now and after a few days. Visit your blog couple of times everyday. You will find that it will show no more visits from your location while visits from all over the world continue to show.

If this does not work try to find what IP numbers are frequently assigned to you by your ISP and use the second option for STATIC IPs.

Anonymous said...

I installed the statcounter without trouble and found that they now use a cookie to keep from tracking your browser. Log in to your counter account, select tools from the picture menu and then look for the cookie link. I've installed it in MSIE on windows as well as Mozilla and Firefox on OS X. Complete success!

mitzy firstchase said...

Trying it later, thanks for the great tip.

Sudam said...

I have been trying to exclude my visit from the analytic and had written google for this but of no avail. I think i have found a good resource on the topic. I will try to fix the bug by following your guidelines and will return back here in a day or two. Really very helpful in gaining the right visitors tracking.


Anonymous said...


I have a dynamic IP address and am using Firefox. Can you tell me if, after the cookie has been set, whether or not it should be showing up in my cookie list via tools/options/privacy/show cookies? Also, will it have to be reset if I clear all cookies after a browsing session. Apologies if this is a dumb question.
Great blog, by the way. Very informative, especially for newbies like myself.

Vin said...


Affirmative to both questions. :-)

colorspeaker said...

I have been looking for this VERY information-I tried creating a "filter" but quickly realized it was not as simple as just "putting in one's IP address" into Analytics- especially with a dynamic IP.
Much needed. Cool! thanks.

Anonymous said...

it's very interesting i'll try it.


Skip to top of post.

Search Blog Before Commenting


Post a Comment

Please use the above search box to search this blog before posting your valuable comments.

Comments posted on Dummies Guide to Google Blogger (Beta) are moderated and will be approved only if they are on-topic and not abusive. Try not to include website URLs/links in your comments. You can email me : drbhatns at gmail dot com for any blogging question. Thanks,


The Blog Doctor The Blog Doctor2 Blog Doctor Home


Tips On Blogger and Latest News.

Skip to top of post.