You need to be logged in to post in the forums. If you do not have an account, please sign up first.
[UserJS] Google Analytics IP Masking
The <i>Google Analytics</i>-API provides a <a href="http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=181782">new feature</a>, that allows a webmaster to instruct the Google Analytics tracker (that is constructed by of a tiny piece of Javascript code embedded in the web page's markup) not to store the last 8 bits of the IP address of you, the visitor.This UserScript checks each inline script embedded in a web page, whether a Google Analytics Tracker is constructed therein. If that is the case, it surgically
inserts an Analytics-API call to the <a href="http://code.google.com/intl/de/apis/analytics/docs/gaJS/gaJSApi_gat.html#_gat._anonymizeIp">_anonymizeIp()</a> function, thus requesting the masquerade of the IP.You may consider it one step in direction of an alternative to the <i>Google Analytics Opt-Out Addon</i>s <a href="http://tools.google.com/dlpage/gaoptout">available</a> for other major browsers. But beware: This script has <em>not</em> been extensively tested yet! (I use to block analytics via Opera's urlfilter feature, anyways.)

»» http://my.opera.com/XAntares/blog/google-analytics-ip-masking
Never argue with an idiot. They drag you down to their level, then beat you with experience. «« « ‹‹ ‹
Nice one. Helps staying in the stats for webmasters but doesn't provide a full IP disclosure - if the webmaster doesn't look into his server logfiles 

Looking for a new home for your blog, albums, mail and forums after my.opera closes at march 1, 2014?
Visit https://vivaldi.net - the new community set up by Jon S. v. Tetzchner and several former Opera employees. Many of us are already there and some of the employees too
Visit https://vivaldi.net - the new community set up by Jon S. v. Tetzchner and several former Opera employees. Many of us are already there and some of the employees too
As a new experimental feature you now can also enable the handling of asynchronous trackers. A call to _anonymizeIp() is pushed into the _gaq command queue in these cases.
This feature has to be enabled editing the script! And I'm not yet sure, if that works (although I have some indication it does) – even more unsure, if older API versions choke on it.
This feature has to be enabled editing the script! And I'm not yet sure, if that works (although I have some indication it does) – even more unsure, if older API versions choke on it.
Never argue with an idiot. They drag you down to their level, then beat you with experience. «« « ‹‹ ‹