Skip to content

Instantly share code, notes, and snippets.

@jester1979
Created August 26, 2012 12:17
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jester1979/3478369 to your computer and use it in GitHub Desktop.
Anonymize Google Analytics
var _gaq = _gaq || [];
_gaq.push (['_setAccount', 'UA-XXXXXXX-YY']);
_gaq.push (['_gat._anonymizeIp']);
_gaq.push (['_trackPageview']);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment