{"id":7103,"date":"2023-05-18T13:11:09","date_gmt":"2023-05-18T11:11:09","guid":{"rendered":"http:\/\/blog.bart.sk\/en\/?p=7103"},"modified":"2024-01-25T14:04:46","modified_gmt":"2024-01-25T13:04:46","slug":"google-announced-new-metric-core-web-vitals-mean-developers","status":"publish","type":"post","link":"https:\/\/blog.bart.sk\/en\/google-announced-new-metric-core-web-vitals-mean-developers\/","title":{"rendered":"Google Has Announced a New Metric for Core Web Vitals. What does this mean for developers?"},"content":{"rendered":"<p><b>In June 2020, Google Chrome team unveiled a revolutionary way to measure website quality \u2013 Web Vitals. You could have read about this groundbreaking news on our <\/b><a href=\"https:\/\/blog.bart.sk\/google-robi-revoluciu-v-merani-rychlosti-web-stranok\/\"><b>blog<\/b><\/a><b>, for example. This measurement is based on three metrics and Google mainly evaluates the website speed based on those. Since their introduction, my colleagues have been monitoring these parameters on every project we manage. That&#8217;s why we didn&#8217;t miss that from May 2024, one metric from the trio will be replaced by a novelty \u2013 the INP.<\/b><\/p>\n<p><b>The name of the new metric stands for Interaction to Next Paint.<\/b><span style=\"font-weight: 400;\"> It will become a fixed part of Core Web Vitals in May 2024 and aims to better evaluate the quality of the user experience of a website.\u00a0<\/span><\/p>\n<p><b>According to the information available, the INP will replace the now used First Input Delay (FID) metric.<\/b><span style=\"font-weight: 400;\"> It measures the time it takes for a user to make the first interaction on a page. The word &#8220;first&#8221; is the key word in this sentence. FID doesn&#8217;t take into account other interactions and how long they last.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">That&#8217;s why the INP was created. <\/span><b>It focuses on all interactions and measures the overall response over the lifetime of the site.<\/b><span style=\"font-weight: 400;\"> Thus, the INP provides a more comprehensive picture of the response time to any user actions. According to Google, its value should be within 200 milliseconds.<\/span><\/p>\n<p><a href=\"https:\/\/blog.bart.sk\/wp-content\/uploads\/2023\/05\/INP-.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-10860 size-full\" src=\"https:\/\/blog.bart.sk\/wp-content\/uploads\/2023\/05\/INP-.png\" alt=\"\" width=\"1542\" height=\"382\" \/><\/a><\/p>\n<h2><b>What do developers have to do?<\/b><\/h2>\n<p><b>When organically ranking pages in search, Google takes into account a number of factors \u2013 content, location, traffic, number of orders, as well as Core Web Vitals values.<\/b><span style=\"font-weight: 400;\"> That&#8217;s why it&#8217;s important to monitor and take care of them. But there&#8217;s nothing to be afraid of. If a website has so far been achieving an excellent FID score, it&#8217;s very likely that the INP will also be in green values.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">And if not, Google has introduced <\/span><a href=\"https:\/\/web.dev\/optimize-inp\/\"><span style=\"font-weight: 400;\">a practical guide for developers<\/span><\/a><span style=\"font-weight: 400;\"> to improve this metric step by step. <\/span><b>The basis is the minification of scripts, the reduction of the DOM tree of the page or the division of longer-lasting tasks into several separate tasks.\u00a0<\/b><\/p>\n<p><b>Improving the INP is a long-term process that requires patience and effort.<\/b><span style=\"font-weight: 400;\"> It&#8217;s important to identify problems with slow interactions, optimise them and retest them. The result should be a web interface that provides users with a fast and seamless interaction and improves the overall experience of browsing the website.<\/span><\/p>\n<h2><b>Pro tip at the end \u2013 How to check the Core Web Vitals of your web?<br \/>\n<\/b><\/h2>\n<h3><strong>Option 1<\/strong><\/h3>\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Open your website in the developer console in Chrome<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Click on 3 dots<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">More Tools<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Rendering<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Turn on Core Web Vitals in the list<\/span><\/li>\n<\/ol>\n<p><a href=\"https:\/\/blog.bart.sk\/wp-content\/uploads\/2023\/05\/Core-Web-Vitals-\u010dek.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-10857 size-full\" src=\"https:\/\/blog.bart.sk\/wp-content\/uploads\/2023\/05\/Core-Web-Vitals-\u010dek.png\" alt=\"\" width=\"487\" height=\"275\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">You will then see a <b>black rectangle in the upper right corner of the page with all three metrics<\/b> and their color-coded values. <\/span><\/p>\n<p><a href=\"https:\/\/blog.bart.sk\/wp-content\/uploads\/2023\/05\/Core-Web-Vitals-e1684742601615.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-10858\" src=\"https:\/\/blog.bart.sk\/wp-content\/uploads\/2023\/05\/Core-Web-Vitals-e1684742601615-300x111.png\" alt=\"\" width=\"300\" height=\"111\" \/><\/a><\/p>\n<h3><strong>Option\u00a02<\/strong><\/h3>\n<ol>\n<li>Use the available extension at <a href=\"https:\/\/github.com\/GoogleChrome\/web-vitals-extension\" target=\"_new\" rel=\"noopener\">https:\/\/github.com\/GoogleChrome\/web-vitals-extension<\/a> and you will obtain even more information in the following format:<br \/>\n<a href=\"https:\/\/blog.bart.sk\/wp-content\/uploads\/2023\/05\/image-14-e1685613548828.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10897\" src=\"https:\/\/blog.bart.sk\/wp-content\/uploads\/2023\/05\/image-14-e1685613548828.png\" alt=\"\" width=\"617\" height=\"512\" \/><\/a><\/li>\n<li>Through settings &#8211; right-click on the plugin icon &#8211; you can further customize the display as per your preferences.<br \/>\n<a href=\"https:\/\/blog.bart.sk\/wp-content\/uploads\/2023\/05\/image-15-e1685613703612.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10898\" src=\"https:\/\/blog.bart.sk\/wp-content\/uploads\/2023\/05\/image-15-e1685613703612.png\" alt=\"\" width=\"1650\" height=\"467\" \/><\/a><\/li>\n<\/ol>\n<p><b>Ideal Core Web Vitals values to recap:<\/b><\/p>\n<p><a href=\"https:\/\/blog.bart.sk\/wp-content\/uploads\/2023\/05\/google-web-vitals.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-10859 size-full\" src=\"https:\/\/blog.bart.sk\/wp-content\/uploads\/2023\/05\/google-web-vitals.jpg\" alt=\"\" width=\"1001\" height=\"273\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">Enjoy the optimization!<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"In June 2020, Google Chrome team unveiled a revolutionary way to measure website quality \u2013 Web Vitals. You&hellip;","protected":false},"author":39,"featured_media":7104,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","csco_display_header_overlay":false,"csco_singular_sidebar":"","csco_page_header_type":""},"categories":[199],"tags":[422,423,59,424,425],"_links":{"self":[{"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/posts\/7103"}],"collection":[{"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/users\/39"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/comments?post=7103"}],"version-history":[{"count":2,"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/posts\/7103\/revisions"}],"predecessor-version":[{"id":7328,"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/posts\/7103\/revisions\/7328"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/media\/7104"}],"wp:attachment":[{"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/media?parent=7103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/categories?post=7103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/tags?post=7103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}