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
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.
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.
