Skip to content

Instantly share code, notes, and snippets.

@shabbirbhimani
Created May 16, 2018
Embed
What would you like to do?
Google Analytics Code to add Anonymize IP
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