Created
May 16, 2018 05:08
-
-
Save shabbirbhimani/47b18e94e3b0c2be0c9a56c82851bad9 to your computer and use it in GitHub Desktop.
Google Analytics Code to add Anonymize IP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ga('create', 'UA-XXXXXXX-XX', 'auto'); | |
ga('set', 'anonymizeIp', true); // Should be called before the ga('send', 'pageview'); | |
ga('send', 'pageview'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment