Google Analitycs and AMP Site

Posted in: Newspaper
Post count: 46

Welcome,
I installed the mobile version of the site and the amp plugin. Since then, I have the impression that the statistics in google analytics are distorted and do not match, suddenly 70% of traffic disappeared. Jetpack shows me to enter page 3000, while google analysts only 200.
what do I have to do to correctly count my entries on the amp

Post count: 18283

Hello!

Please provide a link to your website in order to inspect and see what can be done.

Thank you!

Post count: 28

happens with me too

Post count: 623

Hi,

Generally, this (Jetpack stats doesn’t match with Google Analytics) happens when you have Facebook Instant Articles enabled on your website.

You can add Google Analytics code for AMP using theme panel >> Mobile theme >> AMP ANALYTICS.
Refer: https://prnt.sc/1n9zgv2

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

Note: Replace UA-123456789-1 with your actual Google Analytics tracking ID.

Other possibilities are:-

1. Jetpack stats also tracks most of the bot traffic as compared to Google Analytics.
2. Check if you have deferred the Analytics Script.
3. Consider using Google Sitekit or MonsterInsights plugin to track correct Analytics data or use Universal Analytics code. GA4 is not fully ready for production sites.

I hope you will find this helpful.
Feel free to ask if you have any questions.

Post count: 28

Hello @Amit-2 , im doing exactly what you say, but the pageviews downst appear in the GA.

There is a delay, i timing after the implementation?

My Website http://www.metagalaxia.com.br

The code:
{
“vars”: {
“account”: “UA-xxxxxxxxx-X”
},
“triggers”:{
“trackPageview”:{
“on”:”visible”,
“request”:”pageview”
}
}
}

  • This reply was modified 4 years by mathclash.
Post count: 623

Indeed, it looks like the code is not working. Can you try adding Google Sitekit or MonsterInsights with an AMP add-on?

This must be the bug in the Newspaper theme. I Hope tagDiv will fix this in the coming update.

Post count: 18283

Hello!

We are sorry for the inconvenience!
I have just passed this to our developers and they will take a look at it.

Thank you!

Viewing 7 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic.