Internet Explorer 7/8/9: How To prevent Google Analytics script from running without GA Opt-out Browser Add-on

TweetGoogle's Google Analytics Opt-out Browser Add-on enables consumers to "indicate that information about the website visit shouldn't be sent to Google Analytics." This post describes how to accomplish same outcome using built in features without installing Browser Helper Object. Users of IE7 / 8 (and soon 9) who wish to prevent GA script from running […]

Google's Google Analytics Opt-out Browser Add-on enables consumers to "indicate that information about the website visit shouldn't be sent to Google Analytics." This post describes how to accomplish same outcome using built in features without installing Browser Helper Object. Users of IE7 / 8 (and soon 9) who wish to prevent GA script from running can follow these steps:

  • In IE, open Tools menu and click Internet Options.
  • Click Security tab and then click Restricted Sites icon.
  • Click Sites button.
  • In box at the top, add *.google-analytics.com and push Add button.
  • Click Close button, then the OK button to dismiss Internet Options.

To protect your privacy further, IE willn't send cookies to sites in Restricted Sites zone. In general, you can block script from any other domains by also adding those domains to Restricted Sites zone. Similarly, InPrivate Filtering in IE8 (and IE9) supports Importing and Exporting lists of sites that the user doesn't want to exchange information with.

[Source]