Skip to content

Instantly share code, notes, and snippets.

@jester1979
Created August 26, 2012 12:17
Show Gist options
  • Save jester1979/3478369 to your computer and use it in GitHub Desktop.
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