1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 05:19:39 +02:00

feat(app): set anonymizeIp property for GA (#2919)

This commit is contained in:
Anthony Lapenna 2019-06-02 18:16:07 +12:00 committed by GitHub
parent d75f2f5d7d
commit 1d9166216a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 4 deletions

View file

@ -40,7 +40,7 @@ angular.module('portainer')
};
}]);
AnalyticsProvider.setAccount('@@CONFIG_GA_ID');
AnalyticsProvider.setAccount({ tracker: __CONFIG_GA_ID, set: { anonymizeIp: true } });
AnalyticsProvider.startOffline(true);
toastr.options.timeOut = 3000;