Hello,
I have to put a code in WordPress to make sure the data Google Analytics collects about customers is anonymous.
I have to fill in the folowing code:
< script async src=”https://www.googletagmanager.com/gtag/js?id= UA- xxxxxxx-x “></ script>
< script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag(‘js’, new Date());
gtag(‘config’, ‘UA-xxxxxxx-x’, { ‘anonymize_ip’: true });
</ script>
I have seen how to do this with standard wordpress websites, but not with using the Woodmart theme.
In this case, do I need to place the code in the Woodmart CSS generator?
Thanks for your reply,