Hi, Thank you for reaching us. We are here to assist you with this. Kindly please refer to the following tutorial for more reference: https://ampforwp.com/tutorials/article/how-to-add-ga4-in-ampforwp/
We have added Google Analytics 4 ( GA 4 ) integration in AMPforWP v1.0.80. Kindly update the plugin to 1.0.80 or above. So that you can see the GA 4 section there. Then kindly enable the Google Analytics 4 option and. there you can see the GA4 Measurement ID.
Firstly, I’m still using UA analytics, so there’s no option to add UA now after updating the plugin. How to do that?
Secondly, I’ve updated the GA4 measurement ID but it is not reflecting in the Google’s tag assistant extension. Please check.
Screenshot for GA4 tag in plugin
Screenshot for Google tag assistant in AMP
Hi, Can you please kindly share the URL of the website once? So that we will assist you to fix the issue ASAP!
Hi @ahmedkaludi! Haven’t received any response from you. Please help me.
Hi, Sorry for the delay response. Can you please kindly let us know, Are you able to see the below option in the AMPforWP dashboard analytics section settings?
Reference screenshot: https://paste.pics/15affe1c5eb067c5394984e208851154
I’m trying this on my staging setup now.
Yes, I’m able to see as per your screenshot. Here’s screenshot: https://paste.pics/7e264edcfddc7e6ff639b61b2a632296
I’m unable to track the gTag on amp version for this article. Here’s the screenshot: https://paste.pics/77e28ee7d31b727b25441ae5c252a811
Please check this.
the GA4 implementation is reflected directly on Google Analytics. There are no Tags involved, that is why you do not see anything on Google Tag.
You should check your Google Analytics realtime page. There you should see that it has activity.
Hi, @aryaayraarya Can you please kindly check your google analytics real-time page and there is its activity? Kindly check it and let us know back your response. So that we will assist you accordingly if you need any assistance.