WordPress

Fix INP on WordPress Without Breaking Forms, Consent or Bookings

By , Lead SEO & Co-founder 8 min read
A responsiveness test bench with sun rays through fog: a touchscreen kiosk wired to a small server and an oscilloscope measuring the delay between a tap light and a response light, the trace shrinking from crimson to cyan

The go-to INP WordPress fix is one switch: "Delay JavaScript execution" in a caching plugin. It often turns the score green. It can also stop your contact form from sending, load your cookie banner after the tracking it's supposed to control, and freeze the booking widget on the first tap.

INP (Interaction to Next Paint, Google's measure of how fast a page reacts when someone taps, clicks or types) is worth fixing. But a green score with a broken lead form is a bad trade. This post covers how to find the slow interaction first, why blanket delays backfire, and the fix order I use so the money-making parts keep working.

If you'd rather have someone do it and test every form afterward, describe your site in the speed questionnaire and I'll reply with a plan and a fixed quote within one business day.

How INP works on a WordPress site

INP watches every click, tap and key press during a visit and reports one of the slowest. According to web.dev's INP guide, 200 milliseconds or less is good and more than 500 milliseconds is poor, measured at the 75th percentile of real visits. Scrolling and hovering don't count.

It replaced First Input Delay as a Core Web Vital on March 12, 2024. FID only timed the wait before the first tap was handled. INP times the whole thing, for every interaction:

  1. Input delay: the browser is busy with something else when you tap.
  2. Processing: the site's own code reacts to the tap.
  3. Presentation delay: the browser draws the result on screen.

On WordPress, that "something else" is usually a pile of JavaScript from different plugins: the page builder, a slider, the chat widget, two analytics tags, the form plugin and the cookie banner. Each one queues work on the main thread (the single lane where the browser runs scripts and draws the page). Any task over 50 milliseconds counts as a long task, and a tap that lands behind one has to wait.

Find the slow interaction before you fix anything

Most INP advice skips this step and goes straight to plugin toggles. That's how forms get broken: you change ten things to fix one button.

1. Confirm the problem in field data. Search Console's Core Web Vitals report uses real-visitor data from the last 28 days and groups similar URLs together. If INP isn't flagged there, your visitors aren't feeling it, whatever a lab test says.

2. Reproduce it in Chrome. Open DevTools, go to the Performance panel, and interact with the page. The panel shows your local INP live, lists each interaction with its timing, and can simulate a slower phone CPU. Turn that throttling on. Your laptop is much faster than the phone your customer uses.

3. Get the culprit's name from real visits. The free web-vitals library can report which element was tapped and which scripts ran during the slowest interaction. web.dev's guide to finding slow interactions in the field explains the interactionTarget and longAnimationFrameEntries fields. A quick version for testing:

HTML
<!-- Logs the slowest interaction and the scripts behind it to the browser console.
     Safe to add temporarily. Could break: nothing, but remove it when you're done. -->
<script type="module">
  import { onINP } from 'https://unpkg.com/web-vitals@4/dist/web-vitals.attribution.js?module';
  onINP(({ value, attribution }) => {
    console.log('INP', Math.round(value), 'ms on', attribution.interactionTarget);
    (attribution.longAnimationFrameEntries || []).forEach(frame =>
      frame.scripts.forEach(s => console.log(Math.round(s.duration), 'ms', s.sourceURL)));
  }, { reportAllChanges: true });
</script>

The script URLs usually point straight into a plugin folder or a third-party domain. Now you know what to fix.

Why "Delay JavaScript" can break the things that make money

The WP Rocket docs describe the feature plainly: it delays all JavaScript files and inline scripts until there is a user interaction, such as a mouse move, scroll, key press or touch. Most performance plugins offer something similar.

That helps load speed. For INP, it has a catch: all that delayed code has to run sometime, and "sometime" is the visitor's first interaction. On a slow phone, the first tap can end up waiting behind every script on the page. Here's where it hurts most.

Google's consent mode needs a strict order. Google's own guide says to set the default consent state before any commands that send measurement data, and warns that if the consent code runs out of order, the defaults won't work.

Delay the banner script but not the tags, or delay them in the wrong order, and you can end up measuring visitors before they've chosen anything. Depending on where your visitors live (Quebec's privacy law is one example), that can be a compliance problem, not just a data one. My consent mode v2 guide covers the correct setup.

Contact and quote forms

Many WordPress forms use reCAPTCHA v3 for spam protection. Google says to call it when the user takes the action rather than on page load, and its tokens expire after two minutes.

Delay or rearrange those scripts and you get the worst kind of bug: the form looks fine, the visitor clicks "Send," and the submission fails spam checks quietly. Nobody tells you. The leads just stop.

Booking widgets

Booking and scheduling widgets are heavy. They load a lot of third-party code to show a calendar most visitors never open. Delaying them means the first tap on "Book now" triggers the whole download and setup, which is exactly the slow interaction INP measures.

The fix order I use for INP on WordPress

Here's the sequence, from safest to most delicate.

1. Remove scripts the page doesn't need

The fastest script is one that never loads. Common wins on WordPress sites:

  • Form plugins loading their files on every page instead of just the contact page.
  • Sliders, animation libraries or icon packs the current design no longer uses.
  • Old tracking tags from a past agency or a cancelled tool.
  • Two plugins doing the same job, like two SEO plugins or two cookie banners.

Many performance plugins let you switch off a plugin's scripts per page. Nothing breaks, because nothing was using them there.

2. Put heavy widgets behind a facade

A facade is a lightweight placeholder that looks like the real widget and only loads the real thing when someone clicks it. Chrome's Lighthouse docs recommend facades for chat widgets and video embeds, and the same idea works for booking calendars. Show a "Book a time" button, and load the scheduler when it's clicked.

The trade-off, which Google's docs also note: facades don't do everything the real embed does until it loads. A chat bubble won't show its unread-message badge, for example. For a booking calendar, that's usually fine.

3. Delay selectively, never blanket

If you use a "Delay JavaScript" feature, use its exclusion list. I always exclude:

  • The consent banner and anything that sets consent defaults.
  • Google Tag Manager or the Google tag, so consent order stays correct.
  • Form scripts and reCAPTCHA on pages that have a form.
  • Payment and checkout scripts.

What's left (social widgets, heatmaps, below-the-fold extras) is usually safe to delay. Then test, which is section 5.

4. Give instant feedback in custom code

INP stops counting at the next paint, not when the server answers. web.dev's INP optimization guide recommends updating the screen first and deferring the rest. In practice, a button that shows "Sending..." immediately feels fast even if the email takes two seconds to send.

For custom theme code that does heavy work after a tap, split it up and let the browser breathe:

JavaScript
// Lets the browser paint between chunks of work. Safe to use anywhere.
// scheduler.yield() isn't in Safari yet, so fall back to setTimeout.
function yieldToMain() {
  if (globalThis.scheduler?.yield) return scheduler.yield();
  return new Promise(resolve => setTimeout(resolve, 0));
}

button.addEventListener('click', async () => {
  button.textContent = 'Sending...'; // visual feedback first
  await yieldToMain();
  runHeavyValidation();              // the slow part runs after the paint
});

5. Shrink the page builder's output

Large, deeply nested pages make every interaction slower, because the browser has more to recalculate after each change. The same web.dev guide notes that rendering usually finishes quickly when a page's DOM (the browser's map of every element on the page) is small. Page builders love wrapping one button in six boxes. Flattening the templates you use most, especially the header, often helps every page at once.

Test like a customer after every change

After each change, run the same routine:

  1. Submit every form and confirm the email or CRM entry arrives.
  2. Reject cookies, then check in Tag Manager's preview mode that no measurement tags fired. Then accept and check again.
  3. Open the booking widget and pick a test slot.
  4. Repeat on a phone, or in DevTools with CPU throttling on.

If your analytics stopped recording leads after a speed project, that's a tracking problem worth fixing on its own. It's part of what I check in GA4 and lead tracking setup.

Vlad's Final Thoughts

INP on WordPress is very fixable, but the order matters. Measure first, remove what's unused, put heavy widgets behind facades, and only then delay scripts, with your forms, consent banner and payments on the exclusion list. A green score is nice. Leads that still arrive are the point. If you want the bigger picture on which speed metrics matter for a small business, my plain-English guide to Core Web Vitals for owners covers all three.

INP WordPress FAQs

What is a good INP score for a WordPress site?

Google counts 200 milliseconds or less as good, 200 to 500 as needing improvement, and over 500 as poor. The score is measured at the 75th percentile of real visits, so three out of four visits need to be that fast. Check Search Console's Core Web Vitals report for your real numbers, since lab tests on a fast laptop usually look better than reality.

Why did my INP get worse after I enabled "Delay JavaScript"?

Delaying scripts moves their work to the visitor's first interaction. When someone taps, every delayed script starts loading and running at once, and the tap waits behind them. Load speed scores improve, but that first interaction can get slower. Exclude the scripts needed for early interactions, like menus, forms and consent banners, and keep delays for things lower on the page.

Which WordPress plugins usually cause poor INP?

The usual pattern is heavy front-end scripts rather than one specific plugin: page builders with complex layouts, sliders, chat widgets, booking calendars, multiple analytics and ad tags, and cookie banners. Use the web-vitals attribution build or the DevTools Performance panel to see which script ran during your slowest interaction. The file path points to the plugin or third-party service responsible.

Does better hosting improve INP?

Usually not by much. INP measures what happens in the visitor's browser after a tap, so it depends mostly on JavaScript and page complexity. A faster server helps load times and Largest Contentful Paint, but it won't fix a button that waits behind a long script. Hosting matters for INP mainly when slow server responses delay the visual feedback that follows a tap.

Is it safe to delay Google Tag Manager to improve INP?

It's risky if you use consent mode. Google requires the default consent state to be set before any tag sends data, and delaying Tag Manager or the banner can break that order. Keep Tag Manager and the consent banner out of any delay list, and trim the tags inside Tag Manager instead. Removing an unused tag helps INP without touching your consent setup.

Next step

My site speed optimization service starts at $600 and includes a Core Web Vitals report before and after, plus a test of every form, banner and widget I touch. Send me your URL through the speed questionnaire and I'll come back with a plan.

Want a second pair of eyes on your site?

Tell me what's going on in the site speed optimization questionnaire. I reply with a plan and a fixed quote within one business day.

Starting at $600 Start the questionnaire