Hello,
Before I wrote, I checked in there, but when I entered something different than that:
{
“vars”:{
“account”:”XXXXXXX”
},
“triggers”:{
“trackPageview”:{
“on”:”visible”,
“request”:”pageview”
}
}
}
And everything disappears. The contents of this field do not appear in the source code if there is any other content.
Add the code as mentioned and it will be added
– https://developers.google.com/analytics/devguides/collection/amp-analytics/
– https://www.screencast.com/t/jFXztDzew
– https://www.screencast.com/t/Z5udiPQi82
You can not understand me clearly… With the google analytics code works, but I’m trying to put a code on another system:
<AMP-ANALYTICS TYPE=”GEMIUS”>
<SCRIPT TYPE=”APPLICATION/JSON”>
{
“VARS”: {
“PREFIX”: “XXXXX”,
“IDENTIFIER”: “XXXXXXXXX”
}
}
</SCRIPT>
</AMP-ANALYTICS>
and when that code is placed there does not appear in view-source code on page.
It will not appear unless entered as mentioned, that is the current functionality. The type is added automatically by the plugin
– https://www.screencast.com/t/5KOC0ZnTjQ
You could make the modification in the mentioned location
– https://www.screencast.com/t/9q6wp6uS
