mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-27 11:12:12 +00:00
Merge pull request #4089 from overleaf/jlm-ga-anonymize-ip
Anonymize IP address for Google Analytics GitOrigin-RevId: e010e74a01dc6df2bd816d08989f51ae08c05dd7
This commit is contained in:
parent
24ac0dbf97
commit
cc8a96d508
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue