Hello,
I’d like to know if I can put this code:
<!– Global site tag (gtag.js) – Google Analytics –>
<script async src=”https://www.googletagmanager.com/gtag/js?id=TRACKIND-ID”></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag(‘js’, new Date());
gtag(‘config’, ‘TRACKING-ID’, { ‘anonymize_ip’: true });
</script>
to the text area on ENFOLD Child Settings > Google Dienste (EN: Google products) > Text area “Tracking-Code for Google Analytics” ?
Would it work and anonymize the IP adresses of our visitors?
Or where do I have to put this?
Thanks and best regards
Hey MarkusSchauma,
Yes, you can past it there. Everything would be OK for the GDPR rules.
Best regards,
Basilis
Great, thank you!
Hi,
Thanks for the update. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
Rikard
Hey,
have to say, unfortunately it did not work.
Best regards
Hi,
Thanks for the update.
What is it that didn’t work? Are you tracking any events on your pages? Please explain the issue further.
Best regards,
Ismael
Hey Ismael,
I’m tracking the site on a general basis, no specific events.
Well, I pasted the code in the described field. As I checked if the anonymization works via inspecting the page, there was no aip set to 1 in the Query String Parameters. Also, the tracking was a 404 error in the status code.
Best regards