TL;DR
What Is Cumulative Layout Shift and How Does It Impact Marketing?Mastering Cumulative Layout Shift (CLS) is essential for stabilizing user experience, protecting your search engine rankings, and maximizing B2B website conversions.
- User Experience & SEO: High CLS causes unexpected visual disruptions that frustrate users, increase bounce rates, and negatively impact your Core Web Vitals and overall organic visibility.
- Technical Prevention: Proactively reserving space for dynamic content, explicitly specifying image dimensions, and deferring non-critical third-party scripts prevents layout instability during initial page loads.
- Continuous Measurement: Utilizing performance testing tools like Lighthouse, WebPageTest, and Google Search Console is critical for identifying and systematically resolving layout shifts over time.
Do you want more traffic, more leads, and more sales? Optimize your website performance regularly to facilitate search engine optimization (SEO) or a website redesign. An improved website will increase your marketing performance, get you more traffic, higher conversions, and, ultimately, a better return on your efforts. One thing to look at is the Cumulative Layout Shift.
What is Cumulative Layout Shift?
Cumulative Layout Shift (CLS) measures the visual stability of a website or web application. It measures the unexpected movement of visual elements as a user loads and interacts with a page, caused by changes in the layout such as images or ads loading in after the initial load, or dynamic content causing elements to resize or move.
CLS is a crucial metric for web designers and integral to understanding your website performance. CLS reflects the user's perception of the stability of a website: a high CLS score can lead to a poor user experience, making it difficult for users to interact with the page as expected. The goal is to minimize the layout shift so the user experience is more stable and predictable.
What is the Impact of Cumulative Layout Shift?
Cumulative Layout Shift can significantly impact a website's or web application's user experience. A high CLS score can lead to confusion and frustration for users, as the unexpected movement of visual elements can make it difficult to interact with the page as intended. This can lead to users leaving the site prematurely or not completing the desired action. In terms of SEO, a high CLS score negatively impacts the website's page experience, search engine ranking, and overall visibility.
Websites with a high CLS score can also be frustrating for users, especially those with disabilities or using low-end devices. Therefore, developers need to minimize CLS as much as possible to ensure a stable and predictable user experience.
How well is your website performing? Grade your website and know in a minute:
So, the SEO audit for your website identified issues; what can you do? There are several steps you can take to improve Cumulative Layout Shift (CLS) on your website and search engine rankings and organic click-through rates:
-
Reserve space for ads and other dynamic content: By reserving space for ads and other dynamic content, you can prevent layout shifts caused by these elements loading in after the initial page load.
-
Use width and height attributes on images: Specifying width and height attributes prevents layout shifts caused by images resizing as they load.
-
Defer non-critical resources: Deferring non-critical resources, such as third-party scripts and ads, can help reduce layout shifts caused by these elements loading in after the initial page load.
-
Use animations to indicate changes in the layout: This makes layout shifts less disruptive by giving users a sense of where elements are moving.
-
Monitor and measure your CLS score: Use browser developer tools or web-based CLS testing tools to monitor and measure your CLS score and identify areas where improvements can be made.
-
Optimize images and resources: Optimizing images and resources can help reduce the size of loaded assets and minimize layout shifts caused by them.
-
Use setTimeout() function: Before adding or updating DOM elements, the setTimeout() function can help prevent layout shifts caused by the browser re-calculating the layout.
-
Use the font-display CSS property: The CSS property can prevent layout shifts caused by web fonts loading in slowly.
Remember that it is important to test your website/web app in different browsers and devices, as different factors can affect layout shifts.
Tools to use
There are several SEO tools available for web designers that can help you improve Cumulative Layout Shift (CLS) on your website or web application:
-
Browser developer tools: Most modern browsers include developer tools that can help you measure and identify layout shifts on your website. For example, in Google Chrome, you can use the Lighthouse tool in the Audits panel of the developer tools to measure your CLS score and identify potential issues.
-
WebPageTest: An open-source website performance testing tool that can measure your site's CLS score and identify the specific elements causing layout shifts.
-
Calibre: A web-based tool that allows you to test your website and measure its CLS score. It also gives you a detailed breakdown of the elements causing layout shifts and how to fix them.
-
SpeedCurve: A website performance monitoring tool that allows you to measure the CLS score of your website over time and identify patterns or trends that may indicate areas for improvement.
-
Chrome User Experience Report(CrUX): This report is a public dataset of user experience metrics for popular origins on the web, as experienced by Chrome users under real-world conditions. The data is collected from the Chrome User Experience Report (CrUX) API, which provides real user data on performance metrics like First Contentful Paint and Speed Index.
-
Google Search Console: Google Search Console has added a new Core Web Vitals report which includes CLS; it's a great way to monitor your website's layout shift score and identify any pages causing issues.
It's worth noting that combining these tools and techniques can give you a more comprehensive understanding of the layout shifts on your website and help you make more effective improvements.
Frequently Asked Questions
What is Cumulative Layout Shift (CLS)?
Cumulative Layout Shift (CLS) is a metric that measures the visual stability of a website or web application. It specifically measures the unexpected movement of visual elements as a user loads and interacts with a page.
What causes a high Cumulative Layout Shift?
Layout shifts are typically caused by several factors, including:
- Images or ads loading in after the initial page load
- Dynamic content causing elements to resize or move
- Web fonts loading in slowly
How does a high CLS score impact user experience?
A high CLS score can lead to confusion and frustration because unexpected movements make it difficult for users to interact with the page. This poor experience can cause users to leave the site prematurely or fail to complete desired actions.
Does Cumulative Layout Shift affect SEO?
Yes. In terms of SEO, a high CLS score negatively impacts a website's page experience, search engine ranking, and overall visibility.
How can I improve my website's CLS score?
There are several steps you can take to improve your CLS score:
- Reserve space for ads and dynamic content
- Use width and height attributes on images
- Defer non-critical resources like third-party scripts
- Optimize images and use the font-display CSS property
Why is it important to use width and height attributes on images?
Specifying width and height attributes prevents layout shifts by ensuring the browser reserves the correct amount of space for images before they finish loading.
What tools can I use to measure and monitor CLS?
There are several SEO and performance tools available, including:
- Browser developer tools (like Lighthouse in Google Chrome)
- WebPageTest
- Calibre
- SpeedCurve
- Chrome User Experience Report (CrUX)
- Google Search Console
How does Google Search Console help with monitoring CLS?
Google Search Console includes a Core Web Vitals report that tracks CLS. It is an excellent way to monitor your website's layout shift score and pinpoint specific pages that are causing issues.
Why should I test my website on different browsers and devices?
Different factors affect layout shifts depending on the environment. Testing across multiple browsers and devices ensures you provide a stable and predictable user experience for all visitors, including those on low-end devices.
What are the overall benefits of optimizing my website and improving CLS?
By improving metrics like CLS, you enhance the user experience and your SEO. This ultimately leads to:
- More website traffic
- Higher conversion rates
- More leads and sales
- A better return on your marketing efforts
This content is also available in:
- Deutsch: Was ist die Cumulative Layout-Shift und ihre Bedeutung im Marketing?
- Español: ¿Qué es el cambio de layout acumulativo y cómo afecta al marketing?
- Français: Le CLS (Cumulative Layout Shift) : définition et impact marketing
- Italiano: Il CLS (Cumulative Layout Shift): definizione e impatto marketing
- Română: Ce este Cumulative Layout Shift și cum afectează marketingul?
- 简体中文: 什么是累积版面转移,它对营销有何影响?



