mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
allow analytics.js to be cached, enable anonymizeIP setting (#11656)
This commit is contained in:
parent
a2b864dd6b
commit
93a8d8a25b
@ -19,6 +19,7 @@ export class Analytics {
|
||||
});
|
||||
ga.l = +new Date();
|
||||
ga('create', (<any>config).googleAnalyticsId, 'auto');
|
||||
ga('set', 'anonymizeIp', true);
|
||||
return ga;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user