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
Community Advisor
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
  • 4690 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 13, 2022

Yes, it is still working. Did you try my solution in the reply marked as "Accepted Solution" here? If it's not working, please provide more details of your setup. Screenshots of your Rule's setup (including screenshots of the event, condition and action components) would be very helpful too.

If you have a Rule that uses the "Cumulative Layout Shift (CLS)" event from my extension, then the metrics data elements will have the data that Web Vitals had returned for that measurement, including delta. You can certainly track a metric as a (numeric) event, if desired.