Commit bdcb9a8a authored by Moody Salem's avatar Moody Salem

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

https://developers.google.com/analytics/devguides/collection/analyticsjs/ip-anonymization
parent 8d90bb7a
...@@ -35,6 +35,7 @@ if (typeof GOOGLE_ANALYTICS_ID === 'string') { ...@@ -35,6 +35,7 @@ if (typeof GOOGLE_ANALYTICS_ID === 'string') {
} }
}) })
ReactGA.set({ ReactGA.set({
anonymizeIp: true,
customBrowserType: !isMobile ? 'desktop' : 'web3' in window || 'ethereum' in window ? 'mobileWeb3' : 'mobileRegular' customBrowserType: !isMobile ? 'desktop' : 'web3' in window || 'ethereum' in window ? 'mobileWeb3' : 'mobileRegular'
}) })
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment