AMP Mobile – Google Analytics Code is not the same

Posted in: Newspaper
Post count: 364

According to your manual – https://tagdiv.com/amp-newspaper-theme/
Google Analytics code for AMP should be like this

{
"vars":{
"account":"UA-123456789-1"
},
"triggers":{
"trackPageview":{
"on":"visible",
"request":"pageview"
}
}
}

Google Analytics code
But there is no such format in Google Analytics
screen – https://www.screencast.com/t/416joI5Uo0O
Does it mean that Manual is old OR I use wrong code?

Post count: 18283

Hello !

Indeed the code in our documentation may be older. Use the code google gives you and insert it according to our documentation.

Thank you !

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.