set anonymizeIp to true (#335)
This commit is contained in:
parent
e7ba5e5392
commit
87a7796a84
|
@ -20,6 +20,7 @@ export const loadGoogleAnalytics = () => {
|
||||||
console.error('[GoogleAnalytics] - In order to use google analytics you need to add an trackingID')
|
console.error('[GoogleAnalytics] - In order to use google analytics you need to add an trackingID')
|
||||||
} else {
|
} else {
|
||||||
GoogleAnalytics.initialize(trackingID)
|
GoogleAnalytics.initialize(trackingID)
|
||||||
|
GoogleAnalytics.set({ anonymizeIp: true })
|
||||||
analyticsLoaded = true
|
analyticsLoaded = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue