At this moment in life I am using Google Chrome as my browser of choice.
It is fast, efficient, and has some interesting features and functionality that makes it easy for me to use (I am a big fan of the startup page, as well as how it organizes bookmarks, etc). However, I just noticed that it does seem to use my hosts file. For those of you who don’t know, a hosts file is a file that allows you to configure certain websites to redirect to certain other sites. For a home user, a big use is to block certain websites from displaying or accessing your computer…. Such as Google Analytics.
Let’s say I wanted to keep google analytics from tracking when I go to my own website. This is a very useful feature when you do not want the pages you view on your own site to show up on your google analytics page. This skews the ratings, generally towards direct referral traffic.
The way it works in Internet Explorer, Firefox, Safari, etc is… in Windows XP simply open: C:\WINDOWS\system32\drivers\etc\hosts
In notepad and add:
# [Google Inc]
to the file.
Is this a feature intentionally left out of Google Chrome to prevent users from blocking Google advertising like Google Adwords, etc? You can do it like this:
127.0.0.1 pagead2.googlesyndication.com #[Google AdWords]
127.0.0.1 ssl.google-analytics.com #[urchinTracker]
127.0.0.1 www.google-analytics.com #[Google Analytics]
127.0.0.1 imageads.googleadservices.com #[Ewido.TrackingCookie.Googleadservices]