If you add large code, it works, like this: (with your track ID, obviously)
<amp-analytics type="googleanalytics">
<script type="application/json">
{
"vars": {
"account": "UA-XXXXXXX-Y"
},
"triggers": {
"trackPageview": {
"on": "visible",
"request": "pageview"
}
}
}
</script>
</amp-analytics>
-
This reply was modified 9 years, 1 month ago by rmoro.
I have the same issue. Any help?