That is exactly what I have done, as well as switched on the ‘advanced analytics’ button and the ‘IP Anonymization’ button. The advanced analytics code is like this:
{
"vars": {
"account": "UA-117909482-1" //Replace this with your Tracking ID
},
"triggers": {
"trackPageview": {
"on": "visible",
"request": "pageview",
},
/**
* Enter your Advanced Analytics code here
*/
}
}
I believe the tracking is working, its just giving me validation warnings about the AMP compliance.
-
This reply was modified 6 years, 3 months ago by t0nydean.