Once the Web Vitals extension is installed, Data elements are created - How to create the rules? | Community
Skip to main content
Vinay_Chauhan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
January 12, 2022
Solved

Once the Web Vitals extension is installed, Data elements are created - How to create the rules?

  • January 12, 2022
  • 2 replies
  • 4725 views

Once the Web Vitals extension is installed, Data elements are created - How to create the rules?

1. I have installed the Web Vital Extension enabling CLS, FCP, FID and LCP.
2. Have created data elements using the web vitals as extension and using Data Elements Type - Entries, Full Name, ID, Value.

Can you please explain - how to create the rules to capture these values?
Do we have to create eVars and capture these with events also firing?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by yuhuisg

Here are screenshots of an example rule that sets eVar43, eVar44 and eVar45 using the Web Vitals data:

 

 

2 replies

Adobe Employee
January 12, 2022

@yuhuisg Thoughts?

yuhuisg
Community Advisor
yuhuisgCommunity AdvisorAccepted solution
Community Advisor
January 13, 2022

Here are screenshots of an example rule that sets eVar43, eVar44 and eVar45 using the Web Vitals data:

 

 

April 12, 2022

is this extension still working? It's not working for me.

Also, how can I make it work CLS as event (instead of evar/prop)? can we get CLS-delta numbers by page name?

yuhuisg
Community Advisor
Community Advisor
April 14, 2022

Yes, I'm using Chrome and there is no error as such, I'm not getting analytics call itself.


To verify that the Web Vitals data is coming through, add an action that logs your data elements to your browser's console, e.g.

console.log(`Web Vitals - Name: ${_satellite.getVar("Web Vitals - Name", event)}`);
console.log(`Web Vitals - Delta: ${_satellite.getVar("Web Vitals - Delta", event)}`);

If the logging is successful, then the error lies elsewhere that's unrelated to my extension.