Created
February 28, 2019 18:49
-
-
Save wp-seopress/788b672e75ad653387888ff13b3e2f62 to your computer and use it in GitHub Desktop.
Filter Google Analytics IP Anonymization feature
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
| function sp_gtag_anonymize_ip($html) { | |
| return "'anonymize_ip': true,"; | |
| } | |
| add_filter('seopress_gtag_anonymize_ip', 'sp_gtag_anonymize_ip'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment