Merge pull request #4089 from overleaf/jlm-ga-anonymize-ip
Anonymize IP address for Google Analytics GitOrigin-RevId: e010e74a01dc6df2bd816d08989f51ae08c05dd7
This commit is contained in:
@@ -35,6 +35,7 @@ html(
|
||||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||
script(type="text/javascript", nonce=scriptNonce).
|
||||
ga('create', '#{gaToken}', '#{settings.cookieDomain.replace(/^\./, "")}');
|
||||
ga('set', 'anonymizeIp', true);
|
||||
ga('send', 'pageview');
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user