Skip to content
  • There are no suggestions because the search field is empty.

How to avoid a low Cumulative Layout Shift (CLS) score due to the Google Page Experience Update

 Prevent Low CLS Scores in Convert Experiments After Google’s Page Experience Update

 THIS ARTICLE WILL HELP YOU:



What is the Google Page Experience Update?

Google's page experience signals include Core Web Vitals. One of them is Cumulative Layout Shift (CLS), which measures how much content moves around while a page loads. You can check your scores in Lighthouse in Chrome DevTools, in Google PageSpeed Insights, or with a tool like GTmetrix.

Our developer docs rate the tracking script's effect on CLS as low to moderate, depending on how your experiments change the page (see Performance Trade-Offs). Most layout shift in an experiment comes from what a variation changes, such as an element that changes size or appears after the page has loaded. For the script's effect on the other Core Web Vitals, see Loading the Convert tracking code async while preventing flashing.

Our recommendation

To avoid a low Cumulative Layout Shift (CLS) score, we recommend the following:

  1. Plan your variation implementation to not affect the CLS score. Make sure your code or WYSIWYG change does not cause layout shift, and that the dimension of the main components of your page does not change, as part of the experiment.
  2. Find your variation CLS Score by using Forced Variation URLs to trigger your experiment and find out the score with a CLS tool. You can use the Lighthouse Page Analitycs component of Chrome Developer Tools under Performance. This will provide you the score and will point to any issues you may have regarding Layout Shifts. You can do this under QA mode to prevent your general visitors to be affected by this. Turn off the Convert Chrome extension first, because it loads a larger debug version of the tracking script and lowers Lighthouse scores in Chrome DevTools.
  3. If you already have a considerable CLS Score already, do the same as the previous point, for each of the variations/deployments running. This will allow you to detect what variation/deployment is causing the issues, and then fix it or pause it.

If you still have a considerable CLS score after following the points above, contact support, and let us know so we can help you diagnose the issue.