Analytics tracking code not showing in SEO/AMP/Analytics
-
Hi I have just installed the plugin created a new property in GA
I’ve added this code to the analytics field, but when i click save it dissappers (I have modified this code to include my GA code)
<amp-analytics type=”googleanalytics”>
<script type=”application/json”>
{
“vars”: {
“account”: “UA-XXXXX-Y” – Replace this with your tracking code
},
“triggers”: {
“trackPageview”: {
“on”: “visible”,
“request”: “pageview”
}
}
}
</script>
</amp-analytics>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Analytics tracking code not showing in SEO/AMP/Analytics’ is closed to new replies.