UnlyEd / next-right-now

Flexible production-grade boilerplate with Next.js 11, Vercel and TypeScript. Includes multiple opt-in presets using Storybook, Airtable, GraphQL, Analytics, CSS-in-JS, Monitoring, End-to-end testing, Internationalization, CI/CD and SaaS B2B multi single-tenancy (monorepo) support
https://unlyed.github.io/next-right-now/
MIT License
1.26k stars 110 forks source link

Improve tracking of Core Web Vitals #363

Closed Vadorequest closed 3 years ago

Vadorequest commented 3 years ago

Exploitation of currently tracked Core Web Vitals isn't great. Even though the data are stored, they're not stored in a way that makes it easy to use them through Amplitude.

I'll try and contact amplitude support see if I can exploit those data, or if I need to send one event per tracked value. https://community.amplitude.com/instrumentation-and-data-management-57/exploiting-event-properties-when-the-event-contains-several-properties-to-be-reported-core-web-vitals-292

Vadorequest commented 3 years ago

Here is a way to track to core web vitals with Amplitude.

image

That's enough to me for now and I won't make changes to the code.