Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Adding Core Web Vitals into Adobe Analytics

Trystan_Colwyn-
Level 2
Level 2

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 !

5 Replies
Vani_Bhemarasetty_Adobe
Level 4
Level 4

@Trystan_Colwyn-  Sure you can integrate web vitals to adobe analytics through Adobe exchange 

 

Here is the documentation on the same 

https://exchange.adobe.com/experiencecloud.details.106769.web-vitals.html

You can check on installation section on how to install and other details of integration

 

Hope this helps

Thanks @Vani_Bhemarasetty_Adobe 

 

Appreciate the response however looking for a custom code method... using an extension such as this can feel risky as I'm not aware whether its maintained 

@Trystan_Colwyn- Sure, however you can always reach out to Adobe Exchange team to get more details on this extension, so that all your queries on this extension can be cleared.

 

Regards

Vani

gokula
Level 4
Level 4

Hi @Trystan_Colwyn-  

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 !!!