I’m hosting my AMP based website on CloudFlare with AMP Real URL. I’d like to see Browser Insights including Core Web Vitals. Currently that view tells me that there’s not enough data. I assume I’d need to integrate https://static.cloudflareinsights.com/beacon.min.js into my AMP site somehow, also maybe adjust the Content Security Policy. Can you advise me how to do that?
As far as I saw there’s no amp component even for the Google Analytics’s Core Web Vitals support. I opened a ticket: https://github.com/ampproject/amphtml/issues/31557
But apart from that I thought maybe you have an advised way for your performance metric collection. My website’s source: https://gitlab.com/MrCsabaToth/mrcsabatoth.gitlab.io