Skip to main content

Page state (CLS)

See when your layout shifts happen: while the page loads or after it's done

Written by Vasil Dachev

What is it?

Each row is the state the page was in when its biggest layout shift happened: still loading, ready to use but still loading files, or fully loaded. The value is the CLS for sessions in each state.

When a shift happens tells you what caused it. Shifts while the page is loading usually come from images, fonts or banners without space saved for them. Shifts after the page is fully loaded often come from scripts that add content late, like pop-ups, review apps or late ads.

How to read the insight

This view is shown as a list. At the top there's a colored bar, and under it one row per page state. There are only a few page states, so you see all of them right away.

The bar at the top

The bar splits your sessions across page states. The wider a section, the more sessions belong to that page state. Its color shows how that page state is doing, and it matches the dot next to it in the list.

A wide yellow or red section is a page state with a lot of visitors and a problem. That's the first place to look.

The page states

Each row shows a colored dot, the page state and its value. Rows are ordered from early loading to fully loaded.

For speed metrics like LCP, the value is the P75: 75% of visits were this fast or faster. For rates like add to cart rate, it's the rate for sessions in that page state. The number in the top right is how many sessions are behind the view, for the period, device and filters you picked.

Reading the colors

Whether a higher or lower number is better depends on the metric. A lower LCP is better, a higher add to cart rate is better, and a lower bounce rate is better. You don't need to remember which: the color already takes it into account. Green is good, yellow needs attention and red is poor.

Healthy vs unhealthy

Compare your list with these two examples.

What healthy looks like

Every row is green, or close to it, and so is the bar.

What unhealthy looks like

Say the fully loaded state takes 40% of the bar and shows a CLS of 0.18 in yellow, while the loading states stay green. Something adds or moves content after the page is done, often a pop-up, a late banner or an app.

Resolving issues

Start with the page state that has the most sessions and the worst color.

For speed metrics

  1. Read the summary on the right of the insight. To dig deeper, ask the AI chat below it which page state to fix first and why.

  2. Use Filter to look only at the slow page state, then check other insights like page, element and third-party scripts to find the pattern.

  3. Click Simulate to see how much your site-wide number would improve if that page state hit its target. If it barely moves, pick another one.

  4. Fix the shifts for the state that's worst. For shifts while loading, set width and height on images and videos, and reserve space for banners, embeds and cookie bars. For shifts after the page has loaded, find the script that adds content late and ask your developer or the app's vendor to reserve space for it.

  5. Keep watch with Set alert on the insight, or turn on Vita. It watches your Core Web Vitals on every page and flags a regression as soon as it lands.

Open Reality to see your own pages.

Did this answer your question?