Skip to content

Commit

Permalink
fix(google analytics): anonymize IP in hits sent to google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
moodysalem committed Mar 26, 2021
1 parent 8d90bb7 commit bdcb9a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

1 comment on commit bdcb9a8

@vercel
Copy link

@vercel vercel bot commented on bdcb9a8 Mar 26, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.