{"id":3791,"date":"2020-12-03T14:58:19","date_gmt":"2020-12-03T12:58:19","guid":{"rendered":"https:\/\/www.gun.ro\/?p=3791"},"modified":"2024-06-10T13:05:40","modified_gmt":"2024-06-10T11:05:40","slug":"manualul-seo-cumulative-layout-shift","status":"publish","type":"post","link":"https:\/\/gun.ro\/en\/manualul-seo-cumulative-layout-shift\/","title":{"rendered":"CLS &#8211; Cumulative Layout Shift &#8211; How to properly optimize this metric for your site"},"content":{"rendered":"<p>Do you want to optimize your website for optimal loading speed and pass the Core Web Vitals test? In this article, we&#8217;ll show you how to improve the Cumulative Layout Shift (CLS) metric within Core Web Vitals.<\/p><div id=\"ez-toc-container\" class=\"ez-toc-v2_0_64 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >Cuprins:<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #6ec1e4;color:#6ec1e4\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #6ec1e4;color:#6ec1e4\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/gun.ro\/en\/manualul-seo-cumulative-layout-shift\/#What_is_CLS\" title=\"What is CLS?\">What is CLS?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/gun.ro\/en\/manualul-seo-cumulative-layout-shift\/#How_does_CLS_affect_the_user_experience\" title=\"How does CLS affect the user experience?\">How does CLS affect the user experience?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/gun.ro\/en\/manualul-seo-cumulative-layout-shift\/#How_is_CLS_measured\" title=\"How is CLS measured?\">How is CLS measured?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/gun.ro\/en\/manualul-seo-cumulative-layout-shift\/#What_Impact_Does_CLS_Have_on_Your_SEO_Strategy\" title=\"What Impact Does CLS Have on Your SEO Strategy?\">What Impact Does CLS Have on Your SEO Strategy?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/gun.ro\/en\/manualul-seo-cumulative-layout-shift\/#How_to_Improve_CLS_Score\" title=\"How to Improve CLS Score?\">How to Improve CLS Score?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/gun.ro\/en\/manualul-seo-cumulative-layout-shift\/#Basic_Principles_to_Improve_CLS\" title=\"Basic Principles to Improve CLS:\">Basic Principles to Improve CLS:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/gun.ro\/en\/manualul-seo-cumulative-layout-shift\/#Conclusions\" title=\"Conclusions\">Conclusions<\/a><\/li><\/ul><\/nav><\/div>\n\n<p>With the introduction of new performance and UX metrics, Google has devised a very ingenious way of testing web properties: using real-time data.<\/p>\n<p>More specifically, Google uses data stored in saved cookies that monitor various elements such as accessed pages, loading times, loading percentages, and which resources are the hardest to load.<\/p>\n<p>Additionally, cache-type cookies save pieces of the page to be preloaded on the next visit. This is why a site may seem to load faster when accessed for the second or third time.<\/p>\n<p>So, you might be wondering what the CLS metric is, what it does, how it is influenced by developers&#8217; actions, or how it can be improved to obtain a passing score according to Google&#8217;s performance standards.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"What_is_CLS\"><\/span>What is CLS?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Cumulative Layout Shift (CLS) is an important metric that is part of Core Web Vitals used to measure visual stability, helping quantify how users experience unexpected layout shifts. A low CLS value ensures a better user experience. CLS measures the layout changes that occur on a page after its initial display in the browser, usually due to dynamically inserted content that appears over what is already displayed.<\/p>\n<p>In short, CLS represents how much a page undergoes content changes and how much fragmentation exists for a specific page. To fully understand what CLS is, I&#8217;ll use a real-life example.<\/p>\n<p>You go online intending to read an article on a topic of interest to you. You access Google, search using keywords, and find the desired article. You click on it and start reading. After a minute or two, when you&#8217;ve probably reached a third of the article, the accessed page finishes loading all resources and images, causing you the unpleasant experience of losing track because the displayed content on the page was fragmented by other elements and moved according to the alignment preset by the developer.<\/p>\n<p>Specifically, the text and various smaller visual elements loaded faster, while images or photo\/video ads did not. Once loaded from the server, they are displayed in their designated spots. Thus, the text and other elements are &#8222;moved&#8221; to make room for these larger elements, causing the fragmentation mentioned earlier.<\/p>\n<p>Google says the following about CLS:<\/p>\n<p>\u201cCumulative Layout Shift (CLS) is an important, user-centric metric for measuring visual stability because it helps quantify how often users experience unexpected layout shifts\u2014a low CLS helps ensure that the page is delightful.\u201d<\/p>\n<h3><span class=\"ez-toc-section\" id=\"How_does_CLS_affect_the_user_experience\"><\/span>How does CLS affect the user experience?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>When a page has issues related to CLS, there will be constant interruptions and fragmentations until the page is fully loaded. This aspect is annoying for users and is reflected in the site&#8217;s usage statistics.<\/p>\n<p>Unexpected display changes on the page affect the user experience. Another good example is the following: you want to click a button, and the page loads a piece of dynamically inserted content. This &#8222;small insertion&#8221; can cause a serious problem if you intend to click the NO button but end up clicking the YES button. This example is also used in the following demo from Google:<\/p>\n<div class=\"flex flex-grow flex-col max-w-full\">\n<div class=\"min-h-[20px] text-message flex flex-col items-start whitespace-pre-wrap break-words [.text-message+&amp;]:mt-5 juice:w-full juice:items-end overflow-x-auto gap-2\" dir=\"auto\" data-message-author-role=\"assistant\" data-message-id=\"f6c68245-e89e-4daa-b157-5c77be4d9e08\">\n<div class=\"flex w-full flex-col gap-1 juice:empty:hidden juice:first:pt-[3px]\">\n<div class=\"markdown prose w-full break-words dark:prose-invert light\">\n<p>However, not all &#8222;layout shifts&#8221; are negative\u2014only those unexpected by the user. For example, there are good layout shifts, such as clicking a button and a video appearing or typing in a search box and suggestions appearing. In conclusion, layout shifts should occur immediately after a user action and be clearly related to the desired action.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"How_is_CLS_measured\"><\/span>How is CLS measured?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>CLS is measured in real-time and is calculated by scoring content shifts for each unexpected layout shift that occurs during the entire lifecycle of a web page.<\/p>\n<p>To calculate a layout shift score, Google multiplies the impact fraction by the distance fraction.<\/p>\n<p>The impact fraction represents how much of the viewport space an unstable element occupies between two frames.<\/p>\n<p>In Google&#8217;s example, we can see that the text element occupies 50% of the original viewport space but is &#8222;moved&#8221; down by 25%. Between the two frames, the element occupies 50% plus 25% of the viewport, resulting in an impact fraction of 75%.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter wp-image-3797 \" src=\"https:\/\/www.gun.ro\/wp-content\/uploads\/2020\/12\/cls-example-layout-shift-e1603215271862.png\" alt=\"cum se masoara cumulative layout shift - core web vitals\" width=\"471\" height=\"353\" \/><\/p>\n<p id=\"tw-target-text\" class=\"tw-data-text tw-text-large tw-ta\" dir=\"ltr\" data-placeholder=\"Translation\" aria-label=\"Translated text\" data-ved=\"2ahUKEwiF6uPH5dCGAxWtGRAIHYJTAHkQ3ewLegQICxAU\"><span class=\"Y2IQFc\" lang=\"en\">Example of layout shift &#8211; Google Developers <\/span><\/p>\n<p class=\"tw-data-text tw-text-large tw-ta\" dir=\"ltr\" data-placeholder=\"Translation\" aria-label=\"Translated text\" data-ved=\"2ahUKEwiF6uPH5dCGAxWtGRAIHYJTAHkQ3ewLegQICxAU\"><span class=\"Y2IQFc\" lang=\"en\">The distance fraction in this case is the distance that the unstable element has undergone. In the example used, the element was moved by 25% of the &#8222;height&#8221; or the height of the viewport. In summary, Cumulative Layout Shift is measured using a score that is calculated as follows: Fraction of impact x Fraction of distance = Layout Shift Score<\/span><\/p>\n<p><img decoding=\"async\" class=\" wp-image-3796 aligncenter\" src=\"https:\/\/www.gun.ro\/wp-content\/uploads\/2020\/12\/cls-example-distance-shift-e1603215357134-300x225.png\" alt=\"manualul seo cumulative layout shif cls\" width=\"446\" height=\"334\" \/><\/p>\n<p id=\"tw-target-text\" class=\"tw-data-text tw-text-large tw-ta\" dir=\"ltr\" data-placeholder=\"Translation\" aria-label=\"Translated text\" data-ved=\"2ahUKEwiF6uPH5dCGAxWtGRAIHYJTAHkQ3ewLegQICxAU\"><span class=\"Y2IQFc\" lang=\"en\">Using the same example as above, the calculation would look like this: 0.75 x 0.25 = 0.1875 Google has set the CLS score standard for all pages to be less than 0.1 for all pages of a site. <\/span><\/p>\n<p class=\"tw-data-text tw-text-large tw-ta\" dir=\"ltr\" data-placeholder=\"Translation\" aria-label=\"Translated text\" data-ved=\"2ahUKEwiF6uPH5dCGAxWtGRAIHYJTAHkQ3ewLegQICxAU\"><span class=\"Y2IQFc\" lang=\"en\">We conclude that the score obtained from the example above is above the limit imposed by Google and would result in a poor score.<\/span><\/p>\n<p><img decoding=\"async\" class=\" wp-image-3798 aligncenter\" src=\"https:\/\/www.gun.ro\/wp-content\/uploads\/2020\/12\/cls-scores-e1603215566588-300x87.png\" alt=\"cls core web vitals\" width=\"355\" height=\"103\" \/><\/p>\n<p id=\"tw-target-text\" class=\"tw-data-text tw-text-large tw-ta\" dir=\"ltr\" data-placeholder=\"Translation\" aria-label=\"Translated text\" data-ved=\"2ahUKEwiF6uPH5dCGAxWtGRAIHYJTAHkQ3ewLegQICxAU\"><span class=\"Y2IQFc\" lang=\"en\">Similar to this calculation, Google makes dozens of calculations for each unexpected layout shift that occurs throughout the lifetime of a web page. So the more elements you have that modify the content within the viewport, the lower the score will be.<\/span><\/p>\n<h3><span class=\"ez-toc-section\" id=\"What_Impact_Does_CLS_Have_on_Your_SEO_Strategy\"><\/span>What Impact Does CLS Have on Your SEO Strategy?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The essence of Core Web Vitals is to ensure a pleasant and uninterrupted experience on a web page for your website visitors\u2014both on mobile and desktop.<\/p>\n<p>A good CLS score can help assure Google that users will have a pleasant experience and won\u2019t be frustrated when visiting your page. They won\u2019t encounter moments where the site misbehaves, leading them to another page unintentionally, or make accidental orders.<\/p>\n<p>A good user experience (UX) helps you achieve all desired outcomes from SEO: traffic, conversions, top positions on Google, and ultimately, revenue.<\/p>\n<p>According to a study by Screaming Frog, URLs in the #1 position on Google were 10% more likely to get a PASS rating for Core Web Vitals compared to URLs in the #9 position. Of course, this study refers to existing web pages, which may not yet be updated to comply with Core Web Vitals standards.<\/p>\n<p>Looking at the CLS results from Screaming Frog&#8217;s research, we see that less than half (46% of mobile links and 47% for desktop) have a \u201cGOOD\u201d score for the CLS metric. According to their calculations, the average score for CLS is 0.29 for mobile and 0.25 for desktop, indicating room for improvement until 2021 when Google will integrate and give more importance to Core Web Vitals.<\/p>\n<p>From their table, we clearly see that the top positions are dominated by sites with positive scores for CWV metrics, especially CLS for this example.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-3795 aligncenter\" src=\"https:\/\/www.gun.ro\/wp-content\/uploads\/2020\/12\/mobile-cls-data-by-position-e1603215670362-300x144.png\" alt=\"pozitii google dupa cls\" width=\"402\" height=\"193\" \/><\/p>\n<div class=\"flex flex-grow flex-col max-w-full\">\n<div class=\"min-h-[20px] text-message flex flex-col items-start whitespace-pre-wrap break-words [.text-message+&amp;]:mt-5 juice:w-full juice:items-end overflow-x-auto gap-2\" dir=\"auto\" data-message-author-role=\"assistant\" data-message-id=\"5f556764-7277-4d81-be6b-2f654beb72e6\">\n<div class=\"flex w-full flex-col gap-1 juice:empty:hidden juice:first:pt-[3px]\">\n<div class=\"markdown prose w-full break-words dark:prose-invert light\">\n<h3><span class=\"ez-toc-section\" id=\"How_to_Improve_CLS_Score\"><\/span>How to Improve CLS Score?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>To optimize the CLS score, Google recommends testing using tools such as Page Speed Insights or Lighthouse, both of which have the same page testing module for indexing.<\/p>\n<p>You can also use other tools such as:<\/p>\n<ul>\n<li>Chrome User Experience Report<\/li>\n<li>Search Console (Core Web Vitals report)<\/li>\n<li>Some tools can be found on Web.Dev<\/li>\n<\/ul>\n<p>Common causes of layout shifts include:<\/p>\n<ul>\n<li>Images without dimensions<\/li>\n<li>Ads, videos, and other embedded objects or iframes without dimensions<\/li>\n<li>Dynamically injected content<\/li>\n<li>Late-loading CSS where styles are applied after other elements have been loaded<\/li>\n<li>Web fonts causing flashes of invisible or unstylized text<\/li>\n<li>Page elements waiting for other network elements to load before appearing<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"Basic_Principles_to_Improve_CLS\"><\/span>Basic Principles to Improve CLS:<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The biggest enemy for CLS is JavaScript code that loads after the content page (LCP).<\/p>\n<p>Other issues affecting CLS include:<\/p>\n<ul>\n<li>Images without specified dimensions, ads, videos, and iframes without dimensions<\/li>\n<li>CSS loading too late: this happens when CSS is applied to already loaded content (e.g., background images or font icons)<\/li>\n<li>Web fonts causing differences between normal and styled text<\/li>\n<li>Other code elements waiting for items to load before displaying, creating a difference in fractions between the already loaded page and the fully loaded page<\/li>\n<\/ul>\n<p>Always use size attributes for images, videos, and other embedded elements or iframes. If an element is loaded dynamically, use CSS to style any container elements to the same size or aspect ratio before the content is loaded. Then, when the content is loaded into these container elements, the page won\u2019t shift.<\/p>\n<p>Never insert dynamic content above existing content.<\/p>\n<p>If you use CSS to animate elements, use &#8222;transform&#8221; animations.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Conclusions\"><\/span>Conclusions<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>In conclusion, I\u2019d like to remind you that Google uses Core Web Vitals to measure user experience on a site and determine which web properties are best suited to be displayed in the top spots on Google.<\/p>\n<p>CLS is an absolutely necessary metric because, at least from my experience, there was already too much aggression in dynamically injected content on pages, and after 2 or 3 shifts, it was impossible to read the information for which the page was accessed.<\/p>\n<p>Starting in 2021, I\u2019m ready to see fewer and fewer sites with negative intentions towards users, using dozens of banners on pages and employing dubious advertising techniques to get clicks.<\/p>\n<p>My recommendation is to optimize your site for performance and navigation experience, and you will reap the rewards in terms of traffic and conversions in the early years of operation. Additionally, I recommend staying up-to-date with the latest standards recommended by Google, as it\u2019s one of the best ways to stay ahead of competitors.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><iframe src=\"https:\/\/www.youtube.com\/embed\/AQqFZ5t8uNc\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Do you want to optimize your website for optimal loading speed and pass the Core Web Vitals test? In this article, we&#8217;ll show you how to improve the Cumulative Layout Shift (CLS) metric within Core Web Vitals. With the introduction of new performance and UX metrics, Google has devised a very ingenious way of testing [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":3800,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-3791","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-seo"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>CLS - Cumulative Layout Shift - cum s\u0103 \u00eel optimizezi corect<\/title>\n<meta name=\"description\" content=\"Discover the Cumulative Layout Shift doctor and learn what you need to optimize to get a good position in Google results.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/gun.ro\/en\/manualul-seo-cumulative-layout-shift\/\" \/>\n<meta property=\"og:locale\" content=\"ro_RO\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CLS - Cumulative Layout Shift - cum s\u0103 \u00eel optimizezi corect\" \/>\n<meta property=\"og:description\" content=\"Discover the Cumulative Layout Shift doctor and learn what you need to optimize to get a good position in Google results.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/gun.ro\/en\/manualul-seo-cumulative-layout-shift\/\" \/>\n<meta property=\"og:site_name\" content=\"GUN Media\" \/>\n<meta property=\"article:published_time\" content=\"2020-12-03T12:58:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-10T11:05:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/gun.ro\/en\/wp-content\/uploads\/2024\/02\/fbimage.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1080\" \/>\n\t<meta property=\"og:image:height\" content=\"1080\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Gun Media\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Scris de\" \/>\n\t<meta name=\"twitter:data1\" content=\"Gun Media\" \/>\n\t<meta name=\"twitter:label2\" content=\"Timp estimat pentru citire\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/gun.ro\/en\/manualul-seo-cumulative-layout-shift\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/gun.ro\/en\/manualul-seo-cumulative-layout-shift\/\"},\"author\":{\"name\":\"Gun Media\",\"@id\":\"https:\/\/gun.ro\/en\/#\/schema\/person\/8b7d5ca45606ed56c17588a9afdca57d\"},\"headline\":\"CLS &#8211; Cumulative Layout Shift &#8211; How to properly optimize this metric for your site\",\"datePublished\":\"2020-12-03T12:58:19+00:00\",\"dateModified\":\"2024-06-10T11:05:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/gun.ro\/en\/manualul-seo-cumulative-layout-shift\/\"},\"wordCount\":1565,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/gun.ro\/en\/#organization\"},\"articleSection\":[\"SEO\"],\"inLanguage\":\"ro-RO\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/gun.ro\/en\/manualul-seo-cumulative-layout-shift\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/gun.ro\/en\/manualul-seo-cumulative-layout-shift\/\",\"url\":\"https:\/\/gun.ro\/en\/manualul-seo-cumulative-layout-shift\/\",\"name\":\"CLS - Cumulative Layout Shift - cum s\u0103 \u00eel optimizezi corect\",\"isPartOf\":{\"@id\":\"https:\/\/gun.ro\/en\/#website\"},\"datePublished\":\"2020-12-03T12:58:19+00:00\",\"dateModified\":\"2024-06-10T11:05:40+00:00\",\"description\":\"Discover the Cumulative Layout Shift doctor and learn what you need to optimize to get a good position in Google results.\",\"breadcrumb\":{\"@id\":\"https:\/\/gun.ro\/en\/manualul-seo-cumulative-layout-shift\/#breadcrumb\"},\"inLanguage\":\"ro-RO\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/gun.ro\/en\/manualul-seo-cumulative-layout-shift\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/gun.ro\/en\/manualul-seo-cumulative-layout-shift\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/gun.ro\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CLS &#8211; Cumulative Layout Shift &#8211; How to properly optimize this metric for your site\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/gun.ro\/en\/#website\",\"url\":\"https:\/\/gun.ro\/en\/\",\"name\":\"GUN Media\",\"description\":\"Gener\u0103m performan\u021b\u0103 \u0219i emo\u021bii digitale\",\"publisher\":{\"@id\":\"https:\/\/gun.ro\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/gun.ro\/en\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ro-RO\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/gun.ro\/en\/#organization\",\"name\":\"Gun Media\",\"alternateName\":\"GUN\",\"url\":\"https:\/\/gun.ro\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ro-RO\",\"@id\":\"https:\/\/gun.ro\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/gun.ro\/en\/wp-content\/uploads\/2023\/11\/gun-logo.svg\",\"contentUrl\":\"https:\/\/gun.ro\/en\/wp-content\/uploads\/2023\/11\/gun-logo.svg\",\"width\":263,\"height\":71,\"caption\":\"Gun Media\"},\"image\":{\"@id\":\"https:\/\/gun.ro\/en\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/gun.ro\/en\/#\/schema\/person\/8b7d5ca45606ed56c17588a9afdca57d\",\"name\":\"Gun Media\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ro-RO\",\"@id\":\"https:\/\/gun.ro\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/183c02b4799efdd955100a22302fd9e597ecdd2bb7c5f8cd6fe1ed5d507c985c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/183c02b4799efdd955100a22302fd9e597ecdd2bb7c5f8cd6fe1ed5d507c985c?s=96&d=mm&r=g\",\"caption\":\"Gun Media\"},\"url\":\"https:\/\/gun.ro\/en\/author\/gun\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"CLS - Cumulative Layout Shift - cum s\u0103 \u00eel optimizezi corect","description":"Discover the Cumulative Layout Shift doctor and learn what you need to optimize to get a good position in Google results.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/gun.ro\/en\/manualul-seo-cumulative-layout-shift\/","og_locale":"ro_RO","og_type":"article","og_title":"CLS - Cumulative Layout Shift - cum s\u0103 \u00eel optimizezi corect","og_description":"Discover the Cumulative Layout Shift doctor and learn what you need to optimize to get a good position in Google results.","og_url":"https:\/\/gun.ro\/en\/manualul-seo-cumulative-layout-shift\/","og_site_name":"GUN Media","article_published_time":"2020-12-03T12:58:19+00:00","article_modified_time":"2024-06-10T11:05:40+00:00","og_image":[{"width":1080,"height":1080,"url":"https:\/\/gun.ro\/en\/wp-content\/uploads\/2024\/02\/fbimage.jpg","type":"image\/jpeg"}],"author":"Gun Media","twitter_card":"summary_large_image","twitter_misc":{"Scris de":"Gun Media","Timp estimat pentru citire":"10 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/gun.ro\/en\/manualul-seo-cumulative-layout-shift\/#article","isPartOf":{"@id":"https:\/\/gun.ro\/en\/manualul-seo-cumulative-layout-shift\/"},"author":{"name":"Gun Media","@id":"https:\/\/gun.ro\/en\/#\/schema\/person\/8b7d5ca45606ed56c17588a9afdca57d"},"headline":"CLS &#8211; Cumulative Layout Shift &#8211; How to properly optimize this metric for your site","datePublished":"2020-12-03T12:58:19+00:00","dateModified":"2024-06-10T11:05:40+00:00","mainEntityOfPage":{"@id":"https:\/\/gun.ro\/en\/manualul-seo-cumulative-layout-shift\/"},"wordCount":1565,"commentCount":0,"publisher":{"@id":"https:\/\/gun.ro\/en\/#organization"},"articleSection":["SEO"],"inLanguage":"ro-RO","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/gun.ro\/en\/manualul-seo-cumulative-layout-shift\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/gun.ro\/en\/manualul-seo-cumulative-layout-shift\/","url":"https:\/\/gun.ro\/en\/manualul-seo-cumulative-layout-shift\/","name":"CLS - Cumulative Layout Shift - cum s\u0103 \u00eel optimizezi corect","isPartOf":{"@id":"https:\/\/gun.ro\/en\/#website"},"datePublished":"2020-12-03T12:58:19+00:00","dateModified":"2024-06-10T11:05:40+00:00","description":"Discover the Cumulative Layout Shift doctor and learn what you need to optimize to get a good position in Google results.","breadcrumb":{"@id":"https:\/\/gun.ro\/en\/manualul-seo-cumulative-layout-shift\/#breadcrumb"},"inLanguage":"ro-RO","potentialAction":[{"@type":"ReadAction","target":["https:\/\/gun.ro\/en\/manualul-seo-cumulative-layout-shift\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/gun.ro\/en\/manualul-seo-cumulative-layout-shift\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/gun.ro\/en\/"},{"@type":"ListItem","position":2,"name":"CLS &#8211; Cumulative Layout Shift &#8211; How to properly optimize this metric for your site"}]},{"@type":"WebSite","@id":"https:\/\/gun.ro\/en\/#website","url":"https:\/\/gun.ro\/en\/","name":"GUN Media","description":"Gener\u0103m performan\u021b\u0103 \u0219i emo\u021bii digitale","publisher":{"@id":"https:\/\/gun.ro\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/gun.ro\/en\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ro-RO"},{"@type":"Organization","@id":"https:\/\/gun.ro\/en\/#organization","name":"Gun Media","alternateName":"GUN","url":"https:\/\/gun.ro\/en\/","logo":{"@type":"ImageObject","inLanguage":"ro-RO","@id":"https:\/\/gun.ro\/en\/#\/schema\/logo\/image\/","url":"https:\/\/gun.ro\/en\/wp-content\/uploads\/2023\/11\/gun-logo.svg","contentUrl":"https:\/\/gun.ro\/en\/wp-content\/uploads\/2023\/11\/gun-logo.svg","width":263,"height":71,"caption":"Gun Media"},"image":{"@id":"https:\/\/gun.ro\/en\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/gun.ro\/en\/#\/schema\/person\/8b7d5ca45606ed56c17588a9afdca57d","name":"Gun Media","image":{"@type":"ImageObject","inLanguage":"ro-RO","@id":"https:\/\/gun.ro\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/183c02b4799efdd955100a22302fd9e597ecdd2bb7c5f8cd6fe1ed5d507c985c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/183c02b4799efdd955100a22302fd9e597ecdd2bb7c5f8cd6fe1ed5d507c985c?s=96&d=mm&r=g","caption":"Gun Media"},"url":"https:\/\/gun.ro\/en\/author\/gun\/"}]}},"_links":{"self":[{"href":"https:\/\/gun.ro\/en\/wp-json\/wp\/v2\/posts\/3791","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gun.ro\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gun.ro\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gun.ro\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/gun.ro\/en\/wp-json\/wp\/v2\/comments?post=3791"}],"version-history":[{"count":4,"href":"https:\/\/gun.ro\/en\/wp-json\/wp\/v2\/posts\/3791\/revisions"}],"predecessor-version":[{"id":10267,"href":"https:\/\/gun.ro\/en\/wp-json\/wp\/v2\/posts\/3791\/revisions\/10267"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gun.ro\/en\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/gun.ro\/en\/wp-json\/wp\/v2\/media?parent=3791"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gun.ro\/en\/wp-json\/wp\/v2\/categories?post=3791"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gun.ro\/en\/wp-json\/wp\/v2\/tags?post=3791"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}