Page 1 of 1

How: Google Analytics disabled after "temp. allow http..."?

Posted: Fri Apr 29, 2011 5:42 am
by guesterwoman
I wish to keep Google Analytics (GA) disabled even if I choose to "Temporarily allow http://Foo.com" and GA is used by http://Foo.com. So my question is how may I blacklist GA (using default surrogate script/s) on all sites even if the site is whitelisted?

See:
https://adblockplus.org/blog/the-wrong- ... y-concerns
http://hackademix.net/2009/01/25/surrog ... analytics/
https://adblockplus.org/forum/viewtopic ... 886#p27886
http://www.unrest.ca/Net-Neutrality-and ... not-really
http://tools.google.com/dlpage/gaoptout

Re: How: Google Analytics disabled after "temp. allow http..

Posted: Fri Apr 29, 2011 2:04 pm
by therube
I'm probably not understanding, but remove google-analytics.com from your Whitelist or Forbid google-analytics.com.

Doing that regardless of what you Temp Allow google-analytics.com scripts will not run.
(Though the surrogate should work-around sites failing due to google-analytics.com not being allowed.)

Re: How: Google Analytics disabled after "temp. allow http..

Posted: Mon May 02, 2011 9:25 pm
by GµårÐïåñ
If you forbid permanently google analytics, it will remain forbidden on ALL sites. Now there are some sites that have integrated their function (such as clicking buttons, links) with going through the GA script, in which case the surrogates already there (noscript.surrogate.ga.replacement;(function(){var _0=function(){};with(window)urchinTracker=_0,_gaq={__noSuchMethod__:_0,_link:function(h){if(h)location.href=h},_linkByPost:function(){return true},_getLinkerUrl:function(u){return u},_trackEvent:_0},_gat={_getTracker:function(){return _gaq}}})()) will take care of that for you by making its payload inert and allowing function without sending them squat.