If your site shows an “Interaction to Next Paint” warning in Search Console or PageSpeed Insights, taps and clicks on your pages feel sluggish. Shoppers notice that: a menu that opens late, a variant picker that lags, or an add-to-cart button that seems to ignore them. This guide explains what INP measures, how to find what’s causing it, and what to fix first on Shopify and WordPress.
What INP measures
INP became an official Core Web Vital in March 2024, replacing First Input Delay. It looks at the responsiveness of all qualifying interactions (clicks, taps, and key presses) during a page visit and reports roughly the longest one, sometimes ignoring outliers.
Needs improvement
200 to 500 ms
Each interaction has three parts:
1
Input delay: the wait before the browser can start responding, often because the main thread is busy with other JavaScript
2
Processing time: how long your event handlers run
3
Presentation delay: the time to recalculate styles, lay out, and paint the next frame
1
Find out which phase is slow
Start with field data. Check the Core Web Vitals report in Google Search Console and the real-user section of PageSpeed Insights. Lighthouse and other lab tests can’t fully measure INP, because it depends on real interactions.
Then reproduce it yourself:
1
Install the Web Vitals Chrome extension and click around: menus, filters, variant pickers, add-to-cart, search, and cart drawer. It shows INP as you go.
2
Open Chrome DevTools, go to the Performance panel, and record while you perform the slow interaction.
3
Look at the Interactions track and the Main track for long tasks, and click one to see which functions were running.
Read the result:
Large input delay
Other JavaScript was blocking the main thread, so focus on reducing third-party scripts and long tasks.
Large processing time
Your handlers or an app’s handlers do too much work.
Large presentation delay
Too much layout or style work after the script finishes, often from a big page or heavy animations.
Every installed app, analytics script, and theme file contributes to the main-thread workload INP measures. The least glamorous fix is often the most effective.
Shopify
1
List every installed app, and remove the ones you no longer use. Uninstalling doesn’t always remove leftover code from your theme, so check the theme code too.
2
Check which scripts attach click listeners, using the Event Listeners tab in DevTools.
3
Test by temporarily disabling one app or script at a time and re-measuring.
4
Be skeptical of “speed booster” apps that add their own JavaScript.
WordPress
1
Deactivate plugins one at a time on a staging site and re-test
2
Remove plugins that load scripts on every page when they’re only needed on one
3
Replace several single-purpose plugins with one lighter solution where practical
4
Pay special attention to page builders, sliders, popups, chat widgets, and social feeds
Heavy third-party tags such as chat, popups, reviews, analytics, and advertising pixels are among the most common INP offenders.
3
Defer what isn’t urgent
Load non-essential scripts later, so they don’t compete with your visitors’ first taps.
Chat widgets
Load on first scroll or click, or after idle time
Popups and surveys
Trigger after a delay or on exit intent
Video embeds
Use a thumbnail that loads the player when clicked
Marketing tags
On WordPress, use Google Tag Manager triggers or your caching plugin’s “delay JavaScript” option, and test thoroughly, since delaying the wrong script can break forms or checkout
Shopify tracking
Where possible, set up tracking through Shopify’s pixel and customer events system, which runs pixels in a sandbox and can reduce their main-thread impact
4
Make your own handlers faster
If processing time is the problem, these developer techniques help.
Break up long tasks. The browser treats any task over 50 ms as a long task. Yield to the main thread between chunks so a tap can be handled sooner:
async function processItems(items) {
for (const item of items) {
doWork(item);
if ('scheduler' in window && scheduler.yield) {
await scheduler.yield();
} else {
await new Promise(r => setTimeout(r, 0));
}
}
}
•
Debounce or throttle handlers for scrolling, resizing, and typing.
•
Defer non-critical work such as analytics calls and URL updates until after the visual response. Shopify’s developer documentation specifically recommends this for variant changes.
•
Use passive event listeners where appropriate.
•
Keep handlers small. Do only what the visitor needs to see first.
5
Reduce presentation delay
✓
Keep the page’s DOM size reasonable, and avoid huge lists or deeply nested layouts
✓
Animate with transform and opacity, not properties that force layout
✓
Reduce the number of stylesheets and unused CSS
✓
Avoid expensive layout changes triggered by a click, such as injecting large blocks of content at once
6
Check the theme and plugins themselves
If you’ve cleaned up apps and scripts and INP is still poor, the theme may be the cause: a page-builder theme carrying a large widget library on every page, old jQuery-based sliders, or years of accumulated custom code.
•
Shopify: compare against a clean copy of your theme, or a lightweight theme, with your apps disabled
•
WordPress: test with a default or lightweight theme, and on WooCommerce, review AJAX behaviors such as live cart updates and filters
•
Slow server response can also delay the first interaction, so check hosting and caching
Priority order
1
Find the worst interaction in field and DevTools data
2
Remove unused apps and plugins
3
Defer chat, popups, and tracking scripts
4
Fix the slowest event handlers
5
Reduce DOM and layout work
6
Reconsider the theme if problems remain
Verify and maintain
✓
Re-test the same interaction after each change, on a real mid-range phone
✓
Remember that field data updates gradually, since it’s based on a rolling window of real visits
✓
Re-check after installing any new app or plugin
✓
Keep a record of what you changed and the result
Quick checklist
✓
INP measured with field data and DevTools
✓
Slowest interaction identified and its phase understood
✓
Unused apps and plugins removed
✓
Chat, popup, and tracking scripts deferred
✓
Long handlers broken up or simplified
✓
Heavy animations and layouts reduced
✓
Theme and plugins tested against a lean baseline
✓
Changes re-tested on a real phone
✓
Monitoring set up for regressions
Final thoughts
A poor INP score usually comes down to too much JavaScript competing for the same moment. Audit what you load, delay what isn’t urgent, and make the handlers that remain do less. Then measure again, because the only score that counts is the one your real visitors experience.