Pages - Web Analytics - AMP

I have “Web Analytics” enabled on my Pages project. It makes adding analytics to every page very simple.

My project uses Hugo and I have some AMP pages. Unfortunately, AMP doesn’t allow custom JavaScript. AMP has an analytics component that would work.

For now, I’m going to manually add the analytics tag to my templates. I’m wondering if Cloudflare might consider adding the AMP analytics component on AMP pages.

1 Like

This topic was automatically closed after 14 days. New replies are no longer allowed.