Wrong CLS data comes from UX report

62 views
Skip to first unread message

James

unread,
Dec 1, 2022, 6:55:29 PM12/1/22
to Chrome UX Report (Discussions)
Hello everyone,

I found Chrome UX Report keeps showing wrong data even though I fixed the CLS issue and checked in PageSpeed Insights

pageSpeedInsight.PNG
Do you know why and how to fix it?

Thank you.

Barry Pollard

unread,
Dec 2, 2022, 11:53:52 AM12/2/22
to James, Chrome UX Report (Discussions)
PageSpeed Insights lab test does just a load of the page and doesn't scroll or interact with the page in any other way.

The CrUX data (shown at the top if the page) is collected over the previous 28 days from real users - who do scroll, and interact with the page.

For example, if you install the Web Vitals Extension, open dev tools, switch the browser to mobile emulation mode, and view the console, then scroll to the bottom, and then reload the page you see a sizeable CLS:

image.png

Now I'm not saying that's necessarily what your site visitors are doing, but that's just the first example I saw of getting CLS - and one that a Lighthouse load at just the top of the page doesn't see.

We recommend measuring Core Web Vitals in the field to allow you to identify issues like this that lab-based tools can easily miss. See this article for more details: https://web.dev/debug-performance-in-the-field/

Thanks,
Barry



--
You received this message because you are subscribed to the Google Groups "Chrome UX Report (Discussions)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chrome-ux-repo...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chrome-ux-report/ba43400d-77a4-4231-83fe-f4312883fc70n%40chromium.org.

James

unread,
Dec 2, 2022, 12:13:53 PM12/2/22
to Chrome UX Report (Discussions), barryp...@google.com, Chrome UX Report (Discussions), James
So CrUX calculates every layout in the same page not just top layout where users will see when they entered the website. It's hard to troubleshoot then.

Barry Pollard

unread,
Dec 2, 2022, 12:23:20 PM12/2/22
to James, Chrome UX Report (Discussions)
Yes CrUX measures the User Experience of the page not just the loading experience. Layout shifts after the page loads are still disconcerting to the user and a sign the page is not performing optimally.

Note that layout shifts as a result of a user interaction are expected and so ignored (as long as they occur within 500ms of that user interaction).
Reply all
Reply to author
Forward
0 new messages