Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not possible to anonymizeIp and location anymore with react-ga4. #52

Closed
indhumathi1985 opened this issue Aug 22, 2022 · 1 comment
Closed
Labels
documentation Improvements or additions to documentation

Comments

@indhumathi1985
Copy link

Not possible to anonymizeIp and location anymore with react-ga4.

ReactGA.set({ anonymizeIp: true })
ReactGA.set({ location: 'Anonymized' })

Doesn't really work with anonymizing

@codler
Copy link
Contributor

codler commented Aug 22, 2022

In Google Analytics 4, IP anonymization is not necessary since IP addresses are not logged or stored.

https://support.google.com/analytics/answer/9019185#IP&zippy=%2Cin-this-article

@codler codler closed this as completed Aug 22, 2022
@codler codler added the documentation Improvements or additions to documentation label Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants