we are in the process of enabling the "_gat._anonymizeIp" setting in a client's standard GA tool in the DTM, for GDPR updates
I have attempted to do this by:
- Going in to the Google Analytics tool in the DTM
- opening the "Customize Page Code" section
- adding the code:
var _gaq = _gaq || ;
(modified code from Tracking Code: The _gat Global Object | Analytics for Web (ga.js) | Google Developers )
This doesn't seem to be enabling the anonymize IP, as I can't see the "&api=1" param being passed to the Google tracking call (ref: IP Anonymization in Analytics - Analytics Help )
Has anyone else managed to enable this in GA/DTM?
Any pointers appreciated!