Google Analytics 4 (GA4) on AMP posts

Hi
I use Ghost for our company’s blog. AMP is switched on and works really well - over half of the organic traffic is on AMP pages.

The problem is that the AMP integration only supports Google Analytics Universal, but does not support Google Analytics 4. How can I put GA4 tag on AMP pages?

Thanks

1 Like

Would love to know this too

1 Like

Link to help site has changed, so an update will be coming soon…

If the built-in analytics doesn’t work for you then you can override the amp.hbs template in your theme to add any form of analytics you want :slight_smile:

https://ghost.org/integrations/google-amp/#customise-the-template-with-your-own-styles

1 Like