set anonymizeIp to true (#335)

This commit is contained in:
Mikhail Mikheev 2019-12-12 12:29:29 +04:00 committed by GitHub
parent e7ba5e5392
commit 87a7796a84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ export const loadGoogleAnalytics = () => {
console.error('[GoogleAnalytics] - In order to use google analytics you need to add an trackingID')
} else {
GoogleAnalytics.initialize(trackingID)
GoogleAnalytics.set({ anonymizeIp: true })
analyticsLoaded = true
}
}