Skip to content

Page responds slowly to taps (INP)

After a tap, click or key press, the page takes longer than 200 milliseconds to show any change, because the phone is busy running scripts.

Why it matters

Buttons that don’t react feel broken: people tap again, or give up on a menu or a basket. Google counts this time from real visitors, Interaction to Next Paint (INP), as one of its three Core Web Vitals.

How to fix it

  1. Open Apps & scripts in the report and remove the apps and scripts you no longer use: each one adds work the phone must finish before it can respond.
  2. Load chat, reviews and pop-ups after the page rather than with it, and only on the pages that need them.
  3. Ask whoever built the site to split long scripts into smaller pieces, so the page can respond between them.
On WordPress
  1. Go to Plugins › Installed Plugins and deactivate, then delete, the plugins you don’t use.

WordPress help: Deactivate or delete a plugin (opens in a new tab)

On Shopify
  1. Go to Settings › Apps and uninstall the apps you don’t use. Uninstalling doesn’t remove code an app added to the theme: check the app’s listing or ask its developer.

Shopify help: Uninstalling apps (opens in a new tab)

On Wix
  1. Delete the apps you don’t use, and remove code that adds nothing from Custom Code settings and Marketing Integrations.

Wix help: Site Performance: About Core Web Vitals (opens in a new tab)

On Squarespace
  1. Open the Code Injection panel and delete the scripts of tools you no longer use from the Header and Footer fields.

Squarespace help: Customize parts of your site with code injection (opens in a new tab)

On Hostinger
  1. Go to More (⋯) › Integrations, delete the snippets you no longer use from the Custom code field, save, then update the website.

Hostinger help: Hostinger AI Builder: How to integrate custom code in manual mode (opens in a new tab)

On Webflow
  1. Delete the scripts you don’t use from Site settings › Custom code and from each page’s Page settings, and add async or defer to the ones you keep.

Webflow help: Optimize custom scripts (opens in a new tab)

In code (HTML, CSS or Tailwind)
  1. Split long work into chunks and let the browser respond between them with scheduler.yield(), falling back to setTimeout where it isn’t supported.
    const yieldToMain = () =>
      globalThis.scheduler?.yield ? scheduler.yield() : new Promise((r) => setTimeout(r, 0));
    
    for (const item of items) {
      process(item);
      await yieldToMain();
    }

MDN: Scheduler: yield() method (opens in a new tab)

Check your fix

Once the change is live, check the page again.

Want it done for you?

We’re a product design studio. We can make this fix, and check the rest of your site while we’re at it.

Book a call (opens in a new tab)