How To Block Google Analytics

This post shows how to block google analytics from tracking you. You simply add the below in the hosts file.

hosts
127.0.0.1 www.google-analytics.com
127.0.0.1 google-analytics.com
127.0.0.1 ssl.google-analytics.com

It looks like this:

Windows File Hosts

 

The hosts file is located in the following path, depending on your OS:

  • Windows: C:\Windows\System32\drivers\etc
  • UNIX: /etc/hosts

Finally, restart your browser. If this still does not work, just reboot your computer.

0 0 vote
Article Rating
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x