Person using a smartphone, shot with selective focus

Improve INP in WordPress: find the slow click, then fix it

Your Core Web Vitals report says INP is “Poor” on mobile, PageSpeed Insights shows a number like 380 ms, and the lab test that gives you a 95 performance score says nothing is wrong. That gap is normal. If you want to improve INP in WordPress, you have to find the specific click or tap that’s slow, work out which of its three phases is eating the time, and only then touch plugins or settings. Installing another optimization plugin first is how most sites end up worse.

This is the process I use on WordPress audits, from the first look at field data to the fix and the 28-day wait for Google to confirm it.

What INP measures, in one paragraph

Interaction to Next Paint replaced First Input Delay as a Core Web Vital in March 2024. It watches clicks, taps and key presses (not scrolling or hovering) for the whole visit and reports roughly the slowest one. Per Google’s definition, 200 ms or less is good, anything over 500 ms is poor, and the score is judged at the 75th percentile of page loads, split by mobile and desktop. So a page passes when at least three in four visits have their worst interaction under 200 ms.

Every interaction has three parts, and this is the bit most WordPress guides skip:

  • Input delay: the time between the tap and the moment your event handlers start running. Usually caused by something else hogging the main thread.
  • Processing duration: the time the handlers themselves take.
  • Presentation delay: the time from the handlers finishing to the browser painting the next frame.

The fix for each one is different. Treating them as one number is why “defer all JavaScript” advice works on one site and does nothing on the next.

Step 1: confirm it’s a real problem, and where

Start with field data, because INP is a field metric. Lab tools like Lighthouse don’t click anything, so they can’t measure it directly.

Open Search Console and go to Experience > Core Web Vitals > Mobile. The report groups similar URLs together and gives each group the status of its worst metric, using CrUX data from real Chrome users. If you see a group flagged “INP issue: longer than 200ms (mobile)”, click it and note the example URLs. Then paste one of those URLs into PageSpeed Insights to see the page-level number if it has enough traffic, or the origin-level number if it doesn’t.

Two things to know before you go further. CrUX tells you that INP is bad, never which interaction caused it. And low-traffic sites often get no page-level data at all, which is common for B2B service sites and smaller tour operators. If that’s you, the next step matters even more.

Step 2: find the slow interaction

You have two routes: reproduce it in Chrome, or collect it from real users. I do both.

Reproduce it in DevTools

Open the page in Chrome, open DevTools and go to the Performance panel. The Live metrics view shows INP as you interact, with an Interactions log underneath. Hover the INP value to see the three phases.

Your laptop is much faster than the median phone, so set CPU throttling first: Capture settings > CPU. Chrome offers a Calibrate option there that matches the slowdown to a target device class. Use it. A 120 ms interaction on an M-series MacBook can easily be 450 ms on a mid-range Android phone in Jakarta or Lagos.

Then click what real visitors click. On WordPress sites the usual suspects are:

  • the mobile menu toggle
  • accordion and tab widgets (FAQ blocks, Elementor toggles)
  • “Add to cart” and variation dropdowns on WooCommerce
  • the cookie banner’s accept button
  • popup and chat-widget close buttons
  • search fields with live results
  • booking widgets and date pickers

Tap each one during page load as well as after. A menu tap two seconds into the load is often the worst interaction the page has, and it’s exactly what a visitor on 4G does.

When you find a slow one, record it. In the recording’s Interactions track, interactions over 200 ms are marked with a red triangle, and the main-thread flame chart below shows which scripts ran. Long tasks (anything over 50 ms) also get a red triangle in their corner.

Collect it from real users

DevTools only shows what you happened to click. To see what real visitors hit, use the attribution build of Google’s web-vitals library. Its onINP callback hands you the CSS selector of the element (interactionTarget) and the three phase timings. The web.dev field guide covers the full attribution object.

If you already run GA4, a minimal version sends it as an event:

import {onINP} from 'web-vitals/attribution';

onINP(({value, attribution}) => {
  gtag('event', 'inp', {
    value: Math.round(value),
    inp_target: attribution.interactionTarget,
    inp_input_delay: Math.round(attribution.inputDelay),
    inp_processing: Math.round(attribution.processingDuration),
    inp_presentation: Math.round(attribution.presentationDelay)
  });
});

Register the parameters as event-scoped custom dimensions in GA4 (Admin > Custom definitions), wait a week, then build an exploration of inp_target by average value. If you haven’t set up the property properly yet, my guide to setting up GA4 covers the basics. Paid RUM tools do the same job with less setup, and on a site with real revenue they’re usually worth it.

Step 3: read the phase, then pick the fix

This is the part that saves you weeks, and it’s the fastest way to improve INP in WordPress without guessing. Look at which phase is largest for your slow interaction and go straight to the matching column.

Biggest phase What it usually means on WordPress First fix to try
Input delay Other scripts are running when the user taps: theme and builder bundles evaluating, tag managers firing, chat or review widgets booting, timers from sliders Remove or conditionally load the script; don’t just delay it
Processing duration The click handler itself is heavy: WooCommerce cart fragments, live search, filter plugins re-rendering a product grid, analytics calls inside the handler Do the visual update first, yield, then do the rest
Presentation delay The browser has a lot to lay out after the click: very large DOMs from page builders, mega menus, accordions holding hundreds of nodes Shrink the DOM; hide off-screen sections with content-visibility

If the first entry in the attribution data’s long animation frames has an invokerType of classic-script or module-script, a script was still being evaluated when the user tapped. That’s a load-time input delay problem, and it points straight at the files listed in sourceURL.

Fixes that work for each phase

Cutting input delay

Most WordPress INP problems I see are input delay, and most input delay comes from plugins loading assets on pages that don’t use them. A contact form plugin’s scripts on every blog post. A slider library on pages with no slider. A review widget on the checkout.

Find the offender by isolation, not guesswork. The Health Check & Troubleshooting plugin has a troubleshooting mode that disables plugins and switches to a default theme for your logged-in session only, so visitors see nothing change. Turn plugins back on one at a time and re-test the slow interaction in DevTools with throttling on. It’s tedious. It’s also the only method that gives you a definite answer.

Once you know the culprit, your options in order of preference:

  1. Remove it if it isn’t earning its place. Old sites often carry two analytics setups, an abandoned heatmap tool and a popup nobody remembers adding. My list of WordPress plugins worth keeping is a fair benchmark for what a lean site needs.
  2. Load it only where it’s used. Most asset-manager plugins and many performance plugins let you unload scripts per page or post type.
  3. Move third-party tags out of the page where you can. Pixels fired from GTM still run on the main thread, so audit the container and remove dead tags.
  4. Delay it, carefully.

That last one deserves a warning. “Delay JavaScript until user interaction” settings in caching plugins are great for load metrics. But think about what happens: the delayed scripts start loading at the exact moment of the first tap, scroll or key press. If that first interaction is a tap on your menu, all that deferred work can land right on top of it. I’ve seen delay-JS rules move a site’s INP problem from “after load” to “first tap” without improving the number at all. Test the first interaction specifically after turning it on, and exclude anything that powers visible interactive elements.

Cutting processing duration

If the handler itself is slow, the fix lives in code, which means your theme developer or the plugin author. The core idea is simple: show the user something immediately, then do the heavy work in a separate task.

Chrome’s scheduler.yield() was built for this. You await it between the visible update and the rest of the work, and the browser gets a chance to paint before continuing. It’s supported in Chrome and Edge 129+ and Firefox 142+, but not in Safari, so feature-detect it and fall back to setTimeout. For a custom “Add to cart” handler, that might mean updating the button state and cart count first, yielding, and only then firing analytics events and refreshing recommendation widgets.

On WooCommerce stores, check whether cart fragments are refreshing on pages where nobody has a cart. And if a filter plugin re-renders the entire product grid on every checkbox tick, look for an option to apply filters on a button press instead.

Cutting presentation delay

Page builders are the usual cause here. A single landing page built with nested sections, columns and inner containers can produce thousands of DOM nodes, and every class change after a click makes the browser recalculate styles and layout across that tree. Lighthouse reports DOM size in its diagnostics, so check that first.

Practical fixes: rebuild the worst sections with fewer wrappers, swap mega menus for simpler ones on mobile, and apply content-visibility: auto to long below-the-fold sections in your theme stylesheet so the browser skips rendering them until they’re near the viewport. Avoid animating properties like width or height on open and close; transforms and opacity are much cheaper.

A worked example

Here’s a hypothetical that looks a lot like real audits. A UK tour operator’s WordPress site has mobile INP of 340 ms in Search Console. DevTools with 4x throttling shows the mobile menu toggle at 410 ms when tapped during load, and 90 ms after load. The phases say input delay is 330 ms of that.

The recording shows three long tasks overlapping the tap: the page builder’s frontend bundle, a booking widget initializing on a page with no booking form, and a chat widget that a delay-JS rule releases on first interaction. The fix list writes itself: unload the booking widget everywhere except tour pages, exclude the menu script from delay rules and move the chat widget to load after a timed delay instead of on first interaction. Re-test, then start validation in Search Console.

Notice there’s no hosting upgrade, CDN or image compression in that list. Those help other metrics, but INP happens in the browser after the page has arrived.

Confirming the fix with Google

After you ship changes, go back to the Core Web Vitals report, open the issue and start validation with the Start tracking button. Google then runs a 28-day monitoring session, and the issue is marked fixed only if it’s absent from the affected URLs for that window. PageSpeed Insights field data uses the same rolling 28-day CrUX window, so expect the number to drift down over a month rather than drop overnight. Your own web-vitals data in GA4 will show the change within days, which is another reason to set it up.

Checklist to improve INP in WordPress

  • Check Search Console’s mobile Core Web Vitals report and note the affected URL groups.
  • Reproduce slow interactions in the DevTools Performance panel with calibrated CPU throttling, during and after load.
  • Collect real-user INP with the web-vitals attribution build, ideally into GA4.
  • Read the biggest phase: input delay, processing or presentation.
  • Isolate plugins with troubleshooting mode before changing anything.
  • Remove or conditionally load scripts before reaching for delay-JS rules.
  • Test the first interaction again after any delay-JS change.
  • Validate the fix and give it 28 days.

To improve INP in WordPress for good, keep the habit after the fix: every new plugin, tag or widget gets the same throttled tap test before it goes live. If you’d rather have someone else run the audit, the free growth check is a good place to start.

Photo by freestocks on Unsplash

Leave a Comment

Chat on WhatsApp