Ver código fonte

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

Dan Cech 7 anos atrás
pai
commit
93a8d8a25b
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      public/app/core/services/analytics.ts

+ 1 - 0
public/app/core/services/analytics.ts

@@ -19,6 +19,7 @@ export class Analytics {
       });
     ga.l = +new Date();
     ga('create', (<any>config).googleAnalyticsId, 'auto');
+    ga('set', 'anonymizeIp', true);
     return ga;
   }