Google Analytics

Posted in: Newsmag
Post count: 137

Hello i see some error with TAG assistant and google analytics in my website
https://ibb.co/0hNh5B6
https://ibb.co/Rjt1SB8

and in AMP version seems not detected https://ibb.co/4sDfsfv

However this is the code i have for AMP
{
"vars":{
"account":"UA-177272373-1"
},
"triggers":{
"trackPageview":{
"on":"visible",
"request":"pageview"
}
}
}

There is something wrong? https://ibb.co/Fz9LcLj
Regards

Post count: 35449

Hi,
The amp code is set correctly.
Normally the error that you get is coming from an adblocker, please check this guide https://mixedanalytics.com/blog/tag-assistant-error-occurred-while-tag-fired/
Hope this will help you!

Post count: 137

Ok thansk! and about this?
and in AMP version seems not detected https://ibb.co/4sDfsfv

Post count: 35449

Hi,
Per amp you should use a specific code that can be set in this place https://i.imgur.com/FzORkZF.png then it should work on amptoo.
Thank you!

Post count: 137

yeah i add in that section but still not detected
is this correct?

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

Post count: 35449

Hi,
The code is correct and is set in the right place, it should work.
Also if you want you can set the code directly in amp plugin (remove it from theme panel> mobile theme> amp analytics) and set it here https://i.imgur.com/psa2oeB.png
Hope this will help!

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