Google Analytics 4 (GA4) for AMP pages

Posted in: Newspaper
Post count: 26

Hello,

Is there any way to add Google Analytics 4 (GA4) for AMP pages (including triggers)?

Thank you!

Post count: 21065
Post count: 26

But the standard Analytics configuration in AMP does work.

I ask the possibility of being able to include Google Analytics 4 with AMP, in the same way as above (in the theme options), is it possible?

Post count: 21065

Hello!

I think you need to configure it in the analytics as described in the topic above.

Thank you!

Post count: 26

The previous topic describes how to configure Analytics for AMP, but not Google Analytics 4 for AMP.

Can you tell me how to configure GA4 for AMP, is it possible? Thank you.

Post count: 35449

Hi ialv,

Normally the Google Analytics 4 for AMP need to be configurate in your Google Analytics account. In our theme all you need to do is to set the provided code from Google Analytics in the amp section to be used (our theme do not have options for setting the Google Analytics 4 for AMP, only provide a field that will add the code in the website sources).
For amp you can set in in one of those two places.
1. In the amp plugin -> https://i.imgur.com/auCeiWH.png
or
2. In the theme panel if the mobile theme plugin is used for the amp -> https://i.imgur.com/PnG35oq.png

Similar articles that can help:
-> https://www.seroundtable.com/google-analytics-4-google-amp-33467.html
-> https://tech.behindmatters.com/google-analytics-4-support-for-amp-pages/
-> https://www.thyngster.com/how-to-track-amp-pages-with-google-analytics-4

Thank you!

Post count: 26

Great, I have one last question.

In that section of the theme for Analytics AMP, can I put Analytics standard and Analytics for AMP?

I mean, isn’t there a problem with having 2 analytics codes?

Post count: 21065

Hello!

There couldn’t be any problems there.

Thank you!

Post count: 26

It doesn’t work, but thanks, hopefully AMP and GA4 will fix the problem.

Post count: 107

Yup, does not work for us either. We tried on all our sites. GA4 AMP with newspaper is not tracking AMP pageviews, users etc.

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