Prevent Google Analytics from tracking your visit
Today Google launched their free tracking tool for webmasters. It keeps track of visitor movements and clicks on the webmaster's site. There are likely some visitors who don't like their movements and clicks to be analyzed in detail.
Now, to prevent this one simply has to add a line to his windows host file, which is located in system32/drivers/etc/host for windows xp and 2000 and in hosts/ for the other windows systems.
The line that needs to be added is
It redirects every request made to www.google-analytics.com to 127.0.0.1 which is your own system. The script can't find the js file and therefor nothing is reported.
Simply delete the line if you want to remove this again.
Prevent Google Analytics from Tracking your Visit
This is not to state that Google is trying to spread adware cookies (?), but rather, website owners take advantage of Google Analytics to determine what sites you are visiting, how many times you click on certain product or service categories, etc. There are certainly website owners that are simply collecting the data for demographic purposes and are not dropping cookies on your operating system as though they were feeding the cookie monster. However, the reality is that is can be safely assumed that most are collecting any data about user internet activity as they can. Now the question is how to stop it?
You definitely can stop Google Analytics from tracking your site visits. It is simply a matter of going to your Windows Hosts file and inserting the following line:
If you do not know how to access your Hosts file, then you need to know so that you can eliminate certain sites from accessing your computer. When a line such as the one above is added to the Hosts file, the browser cannot download the urchin.js file mentioned earlier. They can still identify that you have visited a site, but they cannot tell what you do after that.
The Windows 7 hosts file is located in C:\windows\system32\drivers\etc\ or %systemroot%\system32\drivers\etc\ and cannot be edited by normal users. To edit the hosts file, Click Start â€“ search for â€œNotepadâ€œ, right-click and select â€œRun as Administratorâ€œ.
For Windows XP, the path is C:\windows\system32\drivers\etc\hosts, much as it is in Windows 7, but you are able to readily edit it without the need to use a text editor. All Windows Hosts files are located under \drivers\etc.
Once you have accessed the Hosts file, add the line described above and this will block Google Analytics from tracking your visits to websites. There are other lines that you can add to the Hosts file to further ensure security and privacy:
By including these lines in your Hosts file, you will also block Google AdSense. This gives you a greater level of privacy with your web searches and perhaps you wonâ€™t have as many pop-ups and spam coming to you. Good luck!Advertisement