Reading starts here
ChurnAtlas

Portal layout shifts: 3 values to check at launch

Short answer. Check shift gaps, window length and individual scores before a portal launch. Use the recording to choose go, go with a watch, or hold for a fix.

ChurnAtlas Editorial Team. How posts are made is set out in the editorial standards.

Published · Sources checked · 12 min read

  1. Inputs Your product plan, your permissions and the task you want to finish.
  2. Decision Whether the help page matches what you see on your screen.
  3. Next action Do the task on one test account, then record what you changed.

Before a portal change ships, check the gaps between layout shifts, each window's length, and individual shift scores to decide whether to launch.

Key takeaways

  • Ask for a recording of the changed portal pages with a slow network setting.
  • Group shifts by their gaps and window length.
  • Record each shift's score and investigate the cause of movement.
  • Agree on a score limit before testing, then record go, go with a watch, or hold.

Start with a recording, not a glance

Before a customer portal change goes live, someone on the product team usually asks whether the page moved. The answer is often "it looked fine on my laptop." That is a weak basis for a launch decision. Layout shifts happen inside the browser, and they depend on network speed, the device, and which pieces of the page arrive first. A quick look at a staging page can miss shifts on slower loads.

This post gives CS managers a short check to run before launch. You read three values from a layout shift record: the gap between shifts, the length of each burst, and the score of each shift. Each value leads to a decision, and the three decisions add up to one of three outcomes: go, go with a watch, or hold. You can follow the steps without writing code. Someone on the team does need to record a page load and export the shift events, though. Ask engineers or the vendor's QA team to arrange the recording.

What to check first

Before you read any values, get the inputs right. Ask for a recording of the changed portal pages in a test environment that is as close to production as the team can manage. Three details matter.

First, the pages should be the ones customers actually use after the change, such as the account overview and the billing page. A recording of the marketing home page tells you little about the logged-in portal. For a related review, use the portal rules checklist.

Second, the test should run with a slow network setting. Content that arrives late can cause shifts, such as an image without a set size or a banner that loads after the main content. A fast connection can make that timing harder to notice, so the recording may look cleaner than slower loads.

Third, the output should be a list of shift events. Each event should have a time, the element that moved, and its score. Ask your engineers which tool they use to produce that list.

Once you have the list, sort it by time and read it from the top. The rest of this post assumes you have that list in front of you.

Value 1: the gap between shifts

The first value is the time between one shift and the next. The web.dev article on Cumulative Layout Shift defines a burst this way:

> A burst of layout shifts, known as a session window, is when one or more individual layout shifts occur in rapid succession with less than 1-second in between each shift and a maximum of 5 seconds for the total window duration.

Source: web.dev, "Cumulative Layout Shift (CLS)"

Apply that definition to your list. Take each shift and compare its time with the shift before it. If the gap is under 1 second, the two shifts belong to the same window, subject to the total duration cap. If the gap is 1 second or more, the later shift starts a new window. Write each window's first and last shift on your sheet so you can see the grouping later.

What to do with the answer:

  • If most shifts sit close together, you have a few large windows. Move to the second value and check how long each one runs.
  • If the shifts are spread out with long pauses, each shift is its own window. The length check then adds little, so move to the third value and read each shift on its own.
  • If you see both patterns, handle them separately. Read the tight groups as windows and the isolated shifts as single windows.

The gap matters for customers because a burst of movement tends to land while someone is reading or about to click. A button that jumps just as a customer reaches for it is how wrong clicks happen. A single shift after the page has settled is less likely to cause that problem, but it still belongs on your list. You cannot know in advance which screen a customer will be looking at when it happens.

How long each window runs

The second value is the total length of each window. Because the duration cap is part of the definition, a run of shifts that keeps going past 5 seconds does not count as one window. It becomes two or more windows, and you read each one separately.

Check the start and end time of each window and subtract one from the other. Write the length next to the window's entry in your sheet. A window that lasts a fraction of a second and one that runs close to the cap are very different experiences for a customer, even if they contain the same number of shifts.

What to do with the answer:

  • If every window ends well inside the 5-second cap, treat each window as one unit and move to the third value.
  • If a run of shifts reaches the cap, split it at the cap and treat the later part as a new window. Then read both parts in the third step.
  • If movement continues for most of the test, flag the run for engineering as a priority. A long run usually means something keeps pushing content around: a banner that loads late, a widget that resizes after each data call, or a block that grows as images arrive one by one.

Length matters for a simple reason. Customers may start to act while the page is still moving. If the page keeps moving during that time, they lose their place, re-read the screen, and sometimes click the wrong thing. A single shift can be harmless. Check whether continued movement disrupts reading or clicking.

Value 3: the score of each shift

The third value is the score of each shift. The web.dev examples build a score from two fractions, an impact fraction and a distance fraction, and multiply them together. The distance fraction is the easier one to check on a recording. The article explains it this way: "In the prior example, the largest viewport dimension is the height, and the unstable element has moved by 25% of the viewport height, which makes the distance fraction 0.25." Source: web.dev, "Cumulative Layout Shift (CLS)"

The article's first worked example combines that distance with an impact fraction of 0.75: "So, in this example the impact fraction is 0.75 and the distance fraction is 0.25, so the layout shift score is 0.75 * 0.25 = 0.1875." Source: web.dev, "Cumulative Layout Shift (CLS)"

A second example uses smaller numbers. "The green box has moved down by about 14% of the viewport so the distance fraction is 0.14." With an impact fraction of 0.5, the article gives "The layout shift score is 0.5 x 0.14 = 0.07." Source: web.dev, "Cumulative Layout Shift (CLS)"

The lesson for your list is that a shift can score high because it covers a lot of the screen, because it moves a long way, or both. For each shift, write down the element and its score. Then, for each window, find the largest score. Start investigating the element with the largest score, but check whether late content above it caused the movement.

What to do with the answer:

  • If the largest scores are small, record them and move to the final decision.
  • If one element produces a large score, especially a button, a form field, or a price, name that element in your note and ask for a fix before launch.
  • If several moderate scores come from the same area, look for one shared cause. A section that loads late and pushes everything below it can cause several shifts, and one fix may address them together.

Agree on what counts as "small" or "large" with the product and engineering leads before the test runs. If the limit is set after the results arrive, it tends to drift toward whatever the release date needs. Writing the limit down first keeps the decision honest.

Ask the engineers to confirm how they calculate the page-level number they report, and keep individual shift values in your notes so you can see what sits behind it.

Walk through one sample log

The figures in this section are illustrative. They are not from a real portal. The scores reuse the arithmetic from the web.dev examples above, so the math checks out, but the page and its timing are invented. The point is to see how the three values fit together on one list.

Imagine the recording shows five shifts, in this order:

  • Early in the load, the invoice panel grows and pushes content below it. The movement is small, and the score is small too.
  • Shortly after, a promotional banner loads above the main content. Its impact fraction is 0.5 and its distance fraction is 0.14, giving the score from the web.dev article's second example.
  • Shortly after that, the payment button moves down. Its impact fraction is 0.75 and its distance fraction is 0.25, giving the score from the article's first example.
  • Much later, a chat widget loads near the bottom of the screen. It causes a small shift.
  • Later still, a footer link block shifts slightly. It causes a small shift too.

Start with the first value. The first three shifts each come less than 1 second after the one before, so they form one window. The chat widget comes after a longer pause, so it starts a new window. The footer starts another, after a pause that is also longer than 1 second.

Now the second value. The first window stays well inside the 5-second cap, so it stays as one unit. The other two windows each hold one shift, so their lengths add little.

Then the third value. In the first window, the payment button's score of 0.1875 is the largest, well above the banner's 0.07. Size alone does not settle the question. The payment button is a control customers use to act, so a movement there matters more than the same number on a footer. The button moved because content above it arrived late, which means the real fix belongs to the banner and the invoice panel, not to the button itself.

Now the decision path. The first window holds three shifts close together, so the step about isolated shifts does not apply. The window is short, but several shifts sit in one burst, so the step about bursts applies. The answer is hold. Ask engineering to reserve space for the invoice panel and the banner, then record the pages again. The two small windows at the bottom can go onto the watch list for the first days after release.

Illustrative example: calculate a shift score

Suppose an illustrative shift has an impact fraction of 1 and a distance fraction of 1. Multiply 1 by 1: its shift score is 1. Record the score beside the moving element, then compare it with the limit agreed before the test.

Which way to go before launch

With the three values in hand, the decision is short. Work through the questions in order and stop at the first one that applies.

  • First check: Did the recording show any shifts? If it showed none, check the test before you celebrate. Confirm that it used a slow network setting and the pages customers use after the change. If the clean result holds under those conditions, the change can ship with normal post-launch monitoring.
  • Second check: Are all shifts isolated? If each shift is its own window and every score is within the agreed limit, launch with a watch. If any isolated shift exceeds that limit, hold until a fix is recorded, including shifts on elements that are not controls. Ask the team to re-check the same pages during the first days after release, and to log any customer comments about content that moves.
  • Third check: Do windows run long or come in repeated bursts? A window that nears the 5-second cap, or one with several shifts packed close together, is a reason to hold. Ask engineering for a fix that reserves space for late content, then get a new recording. A rerun on the fixed build tests whether the change addressed the movement.
  • Fourth check: Is any remaining score above the agreed limit? Hold until a fix is recorded; otherwise, launch with a watch. Record whether the movement affects a payment button, a login field, a confirm-change link, or another element.

Two housekeeping points. First, if the code changes after the recording, the recording no longer describes what ships. Ask for a new one. Second, write the build identifier and the recording date on the record, so anyone reading it later can match the result to the code that went live.

Where portal changes usually cause shifts

Knowing the usual causes helps you ask better questions before the recording happens. Check these possible sources of shifts in a portal change:

  • images, video embeds, and frames with no set size. Content below them can move when they load without reserved space.
  • banners, cookie notices, and chat widgets that appear after the main content. Each one pushes the page down when it arrives.
  • account data that expands after a request returns, such as a long list of invoices or a block of alerts that grows as data comes in.
  • tabs and expandable sections that change height when opened, if the layout is built around the closed state.
  • web fonts that swap in after the page first draws, which can change line lengths and wrap text onto new lines.

For each source, ask the team a simple question: does this change add something that loads late? If the answer is yes, add that element to the recording plan and check whether it reserves its own space. A good review asks which element will move, not only whether the page moves at all. That question tends to produce a fix. A general question tends to produce a debate. For form-specific checks, see kickoff form layout shift mistakes.

Put the result in a sign-off note

A sign-off note makes the decision traceable. Keep it short, and fill in the same fields for every release so the notes can be compared over time. For each release, record:

  • The pages tested and the network setting used.
  • The build identifier and the date of the recording.
  • The three values: the gap pattern, the longest window and its length, and the largest shift score with the element that caused it.
  • The decision you reached, which is go, go with a watch, or hold, and who made the call.

Be clear about what the test can and cannot show. A lab recording is a controlled run on one device profile. Real customers on real networks and devices may see different shifts. That is the reason for the post-launch watch, not a reason to skip the lab run. The lab run can catch problems before release, and the watch can reveal differences in real use.

Today, ask engineering for a shift-event recording of the changed portal pages and agree on the score limit before reviewing it.

Questions before launch

Can a quick visual check replace a recording?

No, a quick visual check can miss movement on slower loads. Use the event list to review timing, affected elements and scores.

Does the largest score identify the element to fix?

No, the largest score identifies where to investigate first. Check whether content above the moving element caused the shift.

Hold until a fix is recorded. The limit applies to elements that are not customer controls too.

Sources

Sources checked

Limits of this post

This post is general operational information, not legal advice about notice periods or renewal clauses. It does not promise that any method keeps a customer. Software can get a fact wrong, so open the sources before you act.