Has anyone added Core Web Vital metrics (list below) into Adobe Analytics?
- Cumulative Layout Shift (CLS)
- First Input Delay (FID)
- First Contentful Paint (FCP)
- Largest Contentful Paint (LCP)
- Time to First Byte (TTFB)
I'm looking to scour through https://github.com/GoogleChrome/web-vitals but any suggestions welcome !
@Trystan_Colwyn- Sure you can integrate web vitals to adobe analytics through Adobe exchange
Here is the documentation on the same
You can check on installation section on how to install and other details of integration
Hope this helps
Yes, we can do. As you're looking for custom code method then there is option that you can explore.
As per recommendation made by Google on below link to use as npm package however you can also make a use of CDN https://github.com/GoogleChrome/web-vitals#load-web-vitals-from-a-cdn and load a Standard version of script in Adobe Launch custom code action.
You can able to see the all metrics logged into console. Once you have the result you can send this to analytics endpoint, using Beacon API or Adobe Analytics API GitHub - AdobeDocs/analytics-2.0-apis: Documentation for the Adobe Analytics 2.0 APIs.
Hope this helps !!!