0x0Lab Blog Just another damn blog

29Mar/102

How to stop Google Analytics

Yes I know google owns us, yes I know we are using analytics as well.

What you need:
- a web server
- place the two files in this file in the root of the web server
- edit your hosts file and add this entry (where xxx.xxx.xxx.xxx is the IP of your web server):
xxx.xxx.xxx.xxx www.google-analytics.com ssl.google-analytics.com

Now every time you visit an analytics-enabled page, the two files from your web server will be included, and all javascript will be executed properly, but google will not track you.

About cirrus

Become a student of change. It is the only thing that will remain constant. (Anthony J. D'Angelo)
Filed under: General Leave a comment
Comments (2) Trackbacks (0)
  1. thanks!!!!!! i ll stick it into my home DNS server


Leave a comment


Powered by WP Hashcash

No trackbacks yet.