Commit 93a8d8a2 by Dan Cech Committed by Torkel Ödegaard

allow analytics.js to be cached, enable anonymizeIP setting (#11656)

parent a2b864dd
...@@ -19,6 +19,7 @@ export class Analytics { ...@@ -19,6 +19,7 @@ export class Analytics {
}); });
ga.l = +new Date(); ga.l = +new Date();
ga('create', (<any>config).googleAnalyticsId, 'auto'); ga('create', (<any>config).googleAnalyticsId, 'auto');
ga('set', 'anonymizeIp', true);
return ga; return ga;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment