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

This commit is contained in:
Dan Cech
2018-05-08 10:48:27 +02:00
committed by Torkel Ödegaard
parent a2b864dd6b
commit 93a8d8a25b
+1
View File
@@ -19,6 +19,7 @@ export class Analytics {
});
ga.l = +new Date();
ga('create', (<any>config).googleAnalyticsId, 'auto');
ga('set', 'anonymizeIp', true);
return ga;
}