Here's a screenshot of of analytics going through for 3 of the web vital attributes (FID, LCP, & CLS).. the value is coming through for FID and LCP but not CLS for whatever reason.
Solved! Go to Solution.
Views
Replies
Total Likes
I think I know why you're facing this problem. It is possible for CLS to return a value of 0, i.e. zero. However, I had incorrectly programmed the Metric Value (and Metric Delta) data elements to return "undefined" in such cases.
I've made a fix so that the data elements return 0 properly. I've submitted my v1.4.2 extension with this fix to Adobe for public release. Hopefully, Adobe can release my updated extension soon.
Hi, I'm the developer of that Web Vitals extension. What you're experiencing should not be happening.
Can you share a test page that has this problem, so that I can observe what is happening to troubleshoot further?
Views
Replies
Total Likes
Hi yuhuisg, I'm unfortunately unable to share a test page, I know that isn't very helpful in troubleshooting. But we followed the documentation for setting the variables for each of the elements.. it's just odd that everything would work except for a CLS value
I think I know why you're facing this problem. It is possible for CLS to return a value of 0, i.e. zero. However, I had incorrectly programmed the Metric Value (and Metric Delta) data elements to return "undefined" in such cases.
I've made a fix so that the data elements return 0 properly. I've submitted my v1.4.2 extension with this fix to Adobe for public release. Hopefully, Adobe can release my updated extension soon.
Thank you for the insight... How frequent does Adobe release extension updates?
It usually takes a week to 2 weeks after the extension owner has submitted an update.
I'm pleased to hear that your problem has been solved!