Blocking Google Analytics Tracking

Blocking Google Analytics Tracking

The free launch of Google Analytics is a great thing for many smaller web publishers and bloggers, who could not afford services such as Webtrends or Urchin, and is sure to lead to widespread adoption around the site publishing industry, as well as privacy concerns. Google Analytics is also probably part of a grandscale attempt to profile the web, tracking user behavior from site to site along with giving site owners an indepth view on where their traffic comes from – and what those users do once they reach a web site.

However, not all web users like having their unique user details made available to publishers, bloggers, and even Google. If you are one of these ultra privacy concerned users, then Amit Agarwal of Digital Inspiration has some info which may be of use to you.

By placing the following line of text into a computer’s Windows Hosts file, users can block Google Analytics from referral and behavior tracking:

# [Google Inc]
127.0.0.1 www.google-analytics.com

Amit notes : “Google Analytics downloads a small javascript urchin.js (Google Analytics Urchin Module) on the client’s computer which reports the all the tracking and analyzing data about the visitor back to Google. By adding the above line, we have effectively blocked our browser from downloading the urchin.js file.”

Written By:
PG

| Search Engine Journal | @lorenbaker

Loren Baker is the founding editor/creator of Search Engine Journal and remains an advisor and Editor In Chief to this publication.

More Posts By

Comments

  1. Sushubh says:

    anyone and everyone would find out a way to link every google’s service with evilness.

  2. David says:

    Why is it that anyone that is successful is almost always tagged as evil?

    • Mark Levin says:

      Apparently you know nothing of Google’s privacy invasions. It isn’t about being successful champ. It is about being an invader of privacy.

  3. Jason says:

    From the Article: “unique user details made available to publishers, bloggers, and even Google.”

    I believe that it is a false statement. Personally identifiable data is not available using urchin. Anonymous user’s paths through the site is trackable.

  4. Block says:

    To block secure website version:
    127.0.0.1 ssl.google-analytics.com

  5. nico says:

    I think tha Goole is moving in the normal way, and we can just wait for next moves
    http://www.referate10.com

  6. peter273 says:

    I just don’t like anyone snooping without my knowledge, feel it like an infringement of my privacy, simple!
    Just blocked the bunch.

  7. paul says:

    of course, if you are using firefox–as you should be–you could simply install the NoScript extension and block google analytics, google syndication and scores of other snooping and/or simply annoying scripts automatically.

  8. Albuk says:

    I use both google-analytics at my site http://www.offshelf.net and firefox latest version. I dont see how the basic info collected by google can jeopardize prsonal security, the data collected in nothing more than aggregate data sypply on visiots in ananimous format, and if you are using firefox with blocked cookies, the report on google-analytics shows blank – no data availble for the visit, tested.

  9. Dirk says:

    In Germany they are going to force Google to disclose their tracking methods. I understand that privacy is an important aspect, but for webmasters Google Analytics is a great tool and I think an IP does reveal more information than the number plate on my car (in Germany the number plate reveales from which district the car owner comes from).

  10. Yosemite1967 says:

    For those of you who still fail to see how Google is jeopardizing your privacy, go try out aolstalker.com and see how easy it is to compile information about a person by his/her search queries or browsing paths.

  11. Me says:

    Dude, get FireFox and install noscript extension and it will be blocked by default. Simple as that. FF rules!

  12. Sleuth says:

    How funny……….THIS site is using Google Analytics and Google Adsense! Download the Ghostery add on for Firefox, it will tell you every single nasty invisible web element on the page.

  13. Dude says:

    This website is using Google analytics… But i use the Adblock plus extension for ff. Just add a rule witch block all content from http://www.google.analytics.com

  14. Super Rat says:

    I dont entirely agree, just download latest firefox (3.5.1 at time of writing)
    Then go to add ons (just gooogle firefox add ons) and download:
    NoScript (superb and you can block google analytics with it, as well as google syndication and any other scripts you so wish to)
    Bad Privacy (awsome and deletes all those ‘super cookies’ and flash lso’s that doing a normal delete all cookies and cleaning out ya temp files won’t get rid off, nor will even a dedicated program like cc cleaner etc as good as that is, so it’s essential in my own opinion)
    Ad Block Plus (fantastic lil program)

    And others that are good but in no means security related are:
    Dictionary (your own language of choice of course)

    Tab Mix Plus (for some reason, Mozillas addon page does not have compatitble version with the latest firefox :S wierd, but below is a link to the addonn authors page which goes to a dev link which is totally 100% compatible :)

    http://tmp.garyr.net/tab_mix_plus-dev-build.xpi

    Hope that helps, adios

    Super Rat

    PS: actually stop using google is another opinion (also entirely mine lol)
    I myself now very happily use Bing http://www.bing.com
    I find there page fresher and nicer to use, its easier to say lol, and most importantly results are easily on a par if not far better IMO, especially image search IMO (pleasssssse note i/we do not need a load of google lovers telling me im wrong, i have gone to the trouble of explaining this in my OWN personal opinion, of years of using google and months of happily using Bing, thanks).

    Be daring, use something different and see for yourself, or not…

    Also if you use firefox and you want an add on to add Bing as the default search engine in the in built search engine, please go to

    https://addons.mozilla.org/en-US/firefox/downloads/latest/10434/addon-10434-latest.xml?src=addondetail

    AND BING DOESN’T TRACK YOU to the massive extent that google do – lol yet…
    But the point is they don’t at present where as google blatantly do!

  15. Matthew D says:

    I am a Linux User so this sites title is incorrect as it should say how to block google analytics with windows hosts file.

    The best way to try to avoid tracking is to just use the firefox plugins already said above or disable java in your browser as it is used in a java based code put their by the sites builder.

    Although you can also go here: http://www.networkadvertising.org/managing/opt_… and opt out of every site that uses network advertising dot org. When you opt out it places a New cookie that tells the page when you visit it not to track you. But when you opt out your IP is logged so you are always tracked.

    Really the only reason to block GA is to speed up loading pages.

    You will be tracked in a varying degree pretty much everywhere unless you use a proxy they will get your IP and if you use a proxy they still can if someone tried but not for tracking purposes. Anyway you are always being tracked so just realise that first.

  16. Matthew D says:

    I am a Linux User so this sites title is incorrect as it should say how to block google analytics with windows hosts file.

    The best way to try to avoid tracking is to just use the firefox plugins already said above or disable java in your browser as it is used in a java based code put their by the sites builder.

    Although you can also go here: http://www.networkadvertising.org/managing/opt_… and opt out of every site that uses network advertising dot org. When you opt out it places a New cookie that tells the page when you visit it not to track you. But when you opt out your IP is logged so you are always tracked.

    Really the only reason to block GA is to speed up loading pages.

    You will be tracked in a varying degree pretty much everywhere unless you use a proxy they will get your IP and if you use a proxy they still can if someone tried but not for tracking purposes. Anyway you are always being tracked so just realise that first.

Trackbacks

  1. [...] Xwindow 的美化字型設定 改天來試試看 Trac 介紹 & 0.8.4 中文版 原來版本控制系統可以這樣用 favicon 大觀 å””~ 好多喔 改天來把橘底白B給換掉 新縮寫 這是繼 i18n. l10n之後的新東西嗎? Tracking Subdomains With Google Analytics Google Analytics 不吃建在子網域下的東西? 沒注意到說, 這是讓 Google Analytics 照單收的方法… Blocking Google Analytics Tracking 不想讓 Google Analytics 收集個人資料的話, 看這裡 為民喉舌 ── 談輸入法 中文能力下降跟這個果然有關係 CSSVista 即時顯示一份 CSS 在 Fx 及 IE 下的效果, 免費軟體, 目前只有 win 版 Google搜索技巧2005版 筆記筆記 活動 布拉西梅利亞的: 你唸過的課文串聯台灣篇。 umm… 我的國小國中課本咧? 高中的好像還留著 Orz 希爾@月の繭的: 你唸過的課文串聯香港篇。 這邊是港版的唷 [...]