fix(google analytics): anonymize IP in hits sent to google analytics

https://developers.google.com/analytics/devguides/collection/analyticsjs/ip-anonymization
This commit is contained in:
Moody Salem 2021-03-26 16:39:53 -05:00
parent 8d90bb7a39
commit bdcb9a8a0a
No known key found for this signature in database
GPG Key ID: 8CB5CD10385138DB

@ -35,6 +35,7 @@ if (typeof GOOGLE_ANALYTICS_ID === 'string') {
}
})
ReactGA.set({
anonymizeIp: true,
customBrowserType: !isMobile ? 'desktop' : 'web3' in window || 'ethereum' in window ? 'mobileWeb3' : 'mobileRegular'
})
} else {