{"id":21653,"date":"2024-02-20T12:34:01","date_gmt":"2024-02-20T12:34:01","guid":{"rendered":"https:\/\/afreeurl.com\/?p=21653"},"modified":"2024-02-20T12:34:04","modified_gmt":"2024-02-20T12:34:04","slug":"how-to-improve-and-control-interaction-with-next-paint","status":"publish","type":"post","link":"https:\/\/afreeurl.com\/?p=21653","title":{"rendered":"How to improve and control interaction with Next Paint"},"content":{"rendered":"<p><\/p>\n<p>Google has announced that the new <a href=\"https:\/\/www.debugbear.com\/docs\/metrics\/interaction-to-next-paint?utm_campaign=sel2\" target=\"_blank\" rel=\"noopener sponsored nofollow\">Interaction with Next Paint<\/a> (INP) will become one of the three <a href=\"https:\/\/www.debugbear.com\/docs\/metrics\/core-web-vitals?utm_campaign=sel2\" target=\"_blank\" rel=\"noopener sponsored nofollow\">Core Web Vitals<\/a> metrics on March 12, 2024. Replaces the old one <a href=\"https:\/\/www.debugbear.com\/docs\/metrics\/first-input-delay?utm_campaign=sel2\" target=\"_blank\" rel=\"noopener sponsored nofollow\">First input delay metric<\/a>.<\/p>\n<p>This is the biggest change to web vitals since Google first introduced them as a ranking factor in 2021.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-what-is-interaction-to-next-paint\"><a\/>What is the interaction with Next Paint?<\/h2>\n<p>The three Core Web Vitals metrics each measure a different aspect of the experience users have on your website.  INP evaluates how quickly your website responds to user interactions.<\/p>\n<p>For example, if a visitor clicks a button on your website and the page&#8217;s updated content takes a second to display, this represents a poor user experience.<\/p>\n<p>Interaction with Next Paint measures how much time passes between user interaction and the next time the browser can refresh the content on the screen.  The more CPU processing required to handle the interaction and display the new content, the worse the INP score.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"546\" height=\"172\" alt=\"Evaluation of the INP score\" class=\"wp-image-437529\" srcset=\"https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image6.png.webp 546w,https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image6-200x63.png.webp 200w\" data-lazy-sizes=\"(max-width: 546px) 100vw, 546px\" src=\"https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image6.png.webp\"\/><\/p>\n<h2 class=\"wp-block-heading\" id=\"h-does-interaction-to-next-impact-google-rankings\"><a\/>Does engagement with the following affect Google rankings?<\/h2>\n<p>Google has confirmed that the <a href=\"https:\/\/www.debugbear.com\/docs\/core-web-vitals-ranking-factor?utm_campaign=sel2\" target=\"_blank\" rel=\"noopener sponsored nofollow\">Core Web Vitals are a ranking factor<\/a>.  This means that if your site performs worse in the INP score, it may rank higher than competitors that do well in all three vital web metrics.<\/p>\n<p><strong>For a good score, the INP must be less than 200 milliseconds.<\/strong> A delay of more than 500 milliseconds is considered poor.  Your SEO is gradually affected as the INP worsens between the Good and Poor thresholds.<\/p>\n<p>How does Google know how quickly your website responds to user interactions?  This data is collected from actual Chrome users as part of the <a href=\"https:\/\/www.debugbear.com\/blog\/chrome-user-experience-report?utm_campaign=sel2\" target=\"_blank\" rel=\"noopener sponsored nofollow\">Chrome User Experience Report (CrUX)<\/a>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"561\" height=\"187\" alt=\"Interaction with the Next Paint diagram\" class=\"wp-image-437530\" srcset=\"https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image5.png.webp 561w,https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image5-200x67.png.webp 200w\" data-lazy-sizes=\"(max-width: 561px) 100vw, 561px\" src=\"https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image5.png.webp\"\/><\/p>\n<h2 class=\"wp-block-heading\" id=\"h-how-to-test-interaction-to-next-paint-on-your-website\"><a\/>How to test interaction with Next Paint on your website<\/h2>\n<p>Want to find out how your website is doing with the INP metric and other web vitals?  run to <a href=\"https:\/\/www.debugbear.com\/test\/core-web-vitals?utm_campaign=sel2\" target=\"_blank\" rel=\"noopener sponsored nofollow\">Core Web Vitals free trial<\/a> on your website is a quick way to check.  Just enter the URL of a page and wait for the test result.<\/p>\n<p>Actual user interaction data with Next Paint can be found at <strong>Vital Web<\/strong> tab  The 25-week trend lets you know if the page is getting better or worse over time.<\/p>\n<p>The data shown here comes from Google&#8217;s CrUX report.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"551\" alt=\"Google CrUX Data History\" class=\"wp-image-437531\" srcset=\"https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image9-800x551.png.webp 800w,https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image9-491x338.png.webp 491w,https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image9-164x113.png.webp 164w,https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image9-768x529.png.webp 768w,https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image9.png.webp 923w\" data-lazy-sizes=\"(max-width: 800px) 100vw, 800px\" src=\"https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image9-800x551.png.webp\"\/><\/p>\n<p>For a broader view of the different groups of pages on your website, you can also check <a href=\"https:\/\/www.debugbear.com\/blog\/search-console-core-web-vitals?utm_campaign=sel2\" target=\"_blank\" rel=\"noopener sponsored nofollow\">Core Web Vitals tab in Google Search Console<\/a>.  Here you will see how many pages are affected by INP issues or otherwise not <a href=\"https:\/\/www.debugbear.com\/blog\/failed-core-web-vitals-assessment?utm_campaign=sel2\" target=\"_blank\" rel=\"noopener sponsored nofollow\">pass the Core Web Vitals assessment<\/a>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"706\" height=\"600\" alt=\"Interaction with Next Paint in Google Search Console\" class=\"wp-image-437532\" srcset=\"https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image2-706x600.png.webp 706w,https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image2-398x338.png.webp 398w,https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image2-133x113.png.webp 133w,https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image2.png.webp 747w\" data-lazy-sizes=\"(max-width: 706px) 100vw, 706px\" src=\"https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image2-706x600.png.webp\"\/><\/p>\n<p>Unfortunately, the data provided by Google is not very nuanced, and due to the page grouping mechanism, you may not be able to tell which specific pages are affected by slow interaction with the next Paint.<\/p>\n<p>Google CrUX data is also aggregated for 28 days.  This means you will have to wait several weeks to see the impact of the optimizations.<\/p>\n<p>For a more detailed view, a dedicated <a href=\"https:\/\/www.debugbear.com\/real-user-monitoring?utm_campaign=sel2\" target=\"_blank\" rel=\"noopener sponsored nofollow\">real user Core Web Vitals monitoring tool<\/a> how DebugBear can help.  This way, you get detailed Core Web Vitals across your entire website, updated as soon as a change is made.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"589\" height=\"600\" alt=\"DebugBear Core Web Vitals Dashboard\" class=\"wp-image-437533\" srcset=\"https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image1-589x600.png.webp 589w,https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image1-332x338.png.webp 332w,https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image1-111x113.png.webp 111w,https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image1-768x782.png.webp 768w,https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image1.png.webp 990w\" data-lazy-sizes=\"(max-width: 589px) 100vw, 589px\" src=\"https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image1-589x600.png.webp\"\/><\/p>\n<h2 class=\"wp-block-heading\" id=\"h-how-do-you-speed-up-interactions-and-improve-inp\"><a\/>How to speed up interactions and improve INP?<\/h2>\n<p>To improve INP scores on your website, you need to know what CPU processing is involved in a user interaction.  INP can be divided into three components:<\/p>\n<p>Input Lag: Background tasks that prevent the browser from handling an interaction until the tasks have completed Processing Time: Running code that handles user interaction and schedules updates to the user interface Delay presentation: After scheduled UI updates, the browser must update the page layout and present the new content<\/p>\n<p>The performance tab in Chrome DevTools <a href=\"https:\/\/www.debugbear.com\/blog\/inp-chrome-devtools?utm_campaign=sel2\" target=\"_blank\" rel=\"noopener sponsored nofollow\">it shows how long page interactions took and what was responsible for CPU processing<\/a>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"478\" height=\"285\" alt=\"INP in the Performance tab of Chrome DevTools \" class=\"wp-image-437534\" srcset=\"https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image4.png.webp 478w,https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image4-190x113.png.webp 190w\" data-lazy-sizes=\"(max-width: 478px) 100vw, 478px\" src=\"https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image4.png.webp\"\/><\/p>\n<p>The data in <a href=\"https:\/\/www.debugbear.com\/blog\/devtools-performance?utm_campaign=sel2\" target=\"_blank\" rel=\"noopener sponsored nofollow\">DevTools Performance Tab<\/a> it can be hard to read, so you&#8217;ll usually want a developer involved.  But it provides an explanation for every millisecond the browser spends while handling the event.<\/p>\n<p>For example, you may find that:<\/p>\n<p>Third-party code is running in the background and slowing down interactions.  The JavaScript code that your website executes in response to an interaction needs to be optimized.  You can schedule CPU tasks more efficiently to reduce the amount of time interactions are blocked.<\/p>\n<p>Real user monitoring with <a href=\"https:\/\/www.debugbear.com\/?utm_campaign=sel2\" target=\"_blank\" rel=\"noopener sponsored nofollow\">DebugBear<\/a> it will show you which INP component contributes the most to your website&#8217;s poor response.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"696\" height=\"144\" alt=\"INP component failure\" class=\"wp-image-437535\" srcset=\"https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image12.png.webp 696w,https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image12-600x124.png.webp 600w,https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image12-200x41.png.webp 200w\" data-lazy-sizes=\"(max-width: 696px) 100vw, 696px\" src=\"https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image12.png.webp\"\/><\/p>\n<p>You will also often find that interactions take longer during the initial loading process of the website.  This is because when a page starts to load, many small tasks run in the background to set up the page, for example loading ads or initializing a form or chat widget.<\/p>\n<p>DebugBear shows a breakdown of the speed of interactions at different stages and how often interactions occur in those time periods (indicated by the height of the bar).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"467\" height=\"413\" alt=\"Failure of the INP charging stage\" class=\"wp-image-437536\" srcset=\"https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image7.png.webp 467w,https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image7-382x338.png.webp 382w,https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image7-128x113.png.webp 128w\" data-lazy-sizes=\"(max-width: 467px) 100vw, 467px\" src=\"https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image7.png.webp\"\/><\/p>\n<p>If your website supports the <a href=\"https:\/\/www.debugbear.com\/blog\/long-animation-frames?utm_campaign=sel2\" target=\"_blank\" rel=\"noopener sponsored nofollow\">Long Animation Frames API<\/a>you may also see specific JavaScript scripts and functions that cause slow interactions between your visitors.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"749\" height=\"343\" alt=\"DebugBear INP attribution data\" class=\"wp-image-437537\" srcset=\"https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image11.png.webp 749w,https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image11-600x275.png.webp 600w,https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image11-200x92.png.webp 200w\" data-lazy-sizes=\"(max-width: 749px) 100vw, 749px\" src=\"https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image11.png.webp\"\/><\/p>\n<h2 class=\"wp-block-heading\" id=\"h-how-do-i-know-which-page-interactions-are-impacted-by-slow-inp\"><a\/>How do I know which page interactions are affected by a slow INP?<\/h2>\n<p>If you want to optimize your code and test the interactions on your website, you need to know which elements users interact with most often on your website and which interactions tend to cause a slow INP.<\/p>\n<p>This is not data you can get from Google&#8217;s CrUX reports, but from a dedicated Core Web Vitals monitoring tool like DebugBear <a href=\"https:\/\/www.debugbear.com\/docs\/rum\/dashboards#elements?utm_campaign=sel2\" target=\"_blank\" rel=\"noopener sponsored nofollow\">will collect this information for you<\/a>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"679\" height=\"600\" alt=\"Breakdown of DebugBear's INP element\" class=\"wp-image-437538\" srcset=\"https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image8-679x600.png.webp 679w,https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image8-382x338.png.webp 382w,https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image8-128x113.png.webp 128w,https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image8-768x679.png.webp 768w,https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image8.png.webp 777w\" data-lazy-sizes=\"(max-width: 679px) 100vw, 679px\" src=\"https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image8-679x600.png.webp\"\/><\/p>\n<p>You can filter data by page, device type, and many other factors to better understand how visitors experience your website. <a href=\"https:\/\/www.debugbear.com\/?utm_campaign=sel2\" target=\"_blank\" rel=\"noopener sponsored nofollow\">DebugBear<\/a> reports can give you specific advice on how to improve your interaction with Next Paint.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-how-to-monitor-interaction-to-next-paint-and-other-core-web-vitals\"><a\/>How to control interaction with Next Paint and other Core Web Vitals<\/h2>\n<p>A real user monitoring (RUM) solution can help you prepare for the new Interaction to Next Paint metric and help you stay on top of your vital life base over time.<\/p>\n<p>Try DebugBear with one <a href=\"https:\/\/www.debugbear.com\/signup?utm_campaign=sel2\" target=\"_blank\" rel=\"noopener sponsored nofollow\">14 day free trial<\/a>.  Continuously measure your vital web data and see which pages will benefit most from optimizations.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"544\" height=\"600\" alt=\"DebugBear INP trend line and histogram\" class=\"wp-image-437539\" srcset=\"https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image3-544x600.png.webp 544w,https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image3-307x338.png.webp 307w,https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image3-103x113.png.webp 103w,https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image3-768x847.png.webp 768w,https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image3.png.webp 869w\" data-lazy-sizes=\"(max-width: 544px) 100vw, 544px\" src=\"https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image3-544x600.png.webp\"\/><\/p>\n<p>Simply <a href=\"https:\/\/www.debugbear.com\/docs\/rum\/setup?utm_campaign=sel2\" target=\"_blank\" rel=\"noopener sponsored nofollow\">install the DebugBear analysis snippet<\/a> to learn about your visitor experiences.  Avoid the 28-day delay that comes with Google&#8217;s vital web data and get detailed reports that you can use to provide a better website experience and rank higher on Google.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"403\" alt=\"DebugBear INP breakdown by page\" class=\"wp-image-437540\" srcset=\"https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image10-800x403.png.webp 800w,https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image10-600x303.png.webp 600w,https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image10-200x101.png.webp 200w,https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image10-768x387.png.webp 768w,https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image10.png.webp 954w\" data-lazy-sizes=\"(max-width: 800px) 100vw, 800px\" src=\"https:\/\/searchengineland.com\/wp-content\/seloads\/2024\/02\/DebugBear-image10-800x403.png.webp\"\/><br \/>\n<br \/>[ad_2]<br \/>\n<br \/><a href=\"https:\/\/searchengineland.com\/how-to-improve-and-monitor-interaction-to-next-paint-437526\" target=\"_blank\" rel=\"noopener\">Source link <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google has announced that the new Interaction with Next Paint (INP) will become one of the three Core Web Vitals metrics on March 12, 2024. Replaces the old one First input delay metric. This is the biggest change to web vitals since Google first introduced them as a ranking factor in 2021. What is the interaction with Next Paint? The three Core Web Vitals metrics each measure a different aspect of the experience users have&#8230; <\/p>\n","protected":false},"author":1,"featured_media":21654,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-21653","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-seo-news"],"_links":{"self":[{"href":"https:\/\/afreeurl.com\/index.php?rest_route=\/wp\/v2\/posts\/21653","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afreeurl.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afreeurl.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afreeurl.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afreeurl.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=21653"}],"version-history":[{"count":1,"href":"https:\/\/afreeurl.com\/index.php?rest_route=\/wp\/v2\/posts\/21653\/revisions"}],"predecessor-version":[{"id":21655,"href":"https:\/\/afreeurl.com\/index.php?rest_route=\/wp\/v2\/posts\/21653\/revisions\/21655"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/afreeurl.com\/index.php?rest_route=\/wp\/v2\/media\/21654"}],"wp:attachment":[{"href":"https:\/\/afreeurl.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=21653"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afreeurl.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21653"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afreeurl.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}