Even with anonymizeIp set to true, when I inspect the network requests using Chrome Developer Tools, I'm not seeing the aip=1 parameter in the query string, which indicates that IP anonymization isn't being applied.
I’ve also tried using ReactGA.set({ anonymizeIp: true }); after initialization, but the issue persists.
Could you please advise on how to properly enable IP anonymization using ReactGA? Is there something I’m missing, or is there another approach I should consider?
Thanks in advance for your help!
And yes according to this answer it should be enable by default but still it's not working.
My goal is to anonymize IP addresses to comply with GDPR regulations, but I'm having trouble getting it to work correctly.
Here’s the relevant code snippet I'm using:
Even with anonymizeIp set to true, when I inspect the network requests using Chrome Developer Tools, I'm not seeing the aip=1 parameter in the query string, which indicates that IP anonymization isn't being applied.
I’ve also tried using ReactGA.set({ anonymizeIp: true }); after initialization, but the issue persists.
Could you please advise on how to properly enable IP anonymization using ReactGA? Is there something I’m missing, or is there another approach I should consider?
Thanks in advance for your help!
And yes according to this answer it should be enable by default but still it's not working.