Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Chat widget slowing your page: how to fix LCP and INP

CNV-282Medium impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

Most chat tools add a JavaScript file, often several, plus fonts, images and a connection to a chat server. If the script loads in the head or runs before the page has finished drawing, the browser spends time on chat instead of your content.

Two Core Web Vitals (Google's page experience measurements) are affected. LCP is how long the biggest visible element, such as a hero image or headline, takes to appear. INP is how quickly the page responds after a click, tap or key press. Heavy chat scripts block the main thread, the single lane where the browser does its work.

Why it costs you leads or sales

Visitors who wait for content or tap a button that does not react often leave. The damage lands on the pages that matter most: landing pages, product pages and checkout, where chat is often switched on everywhere. Slow pages can also weaken the page experience signals Google sees. The irony is that the tool meant to capture leads can lose them.

How a heavy chat script hurts the journey
  1. Page requestHTML arrives
  2. Chat script loads earlyBlocks the main thread
  3. Hero content appears lateLCP rises
  4. Button tap lagsINP rises
  5. Visitor leavesNo form or purchase

The chat script blocks the main thread, so everything after it feels slow.

LCP with and without early chat loadingExample numbers
LCP with and without early chat loading (example)Chat loaded in head: 3.8 seconds; Chat loaded after page ready: 2.3 seconds0133.82.3Chat loaded in headChat loaded after pag…seconds

Example: illustrative numbers showing how deferring the chat script can bring LCP back under the 2.5 second 'good' threshold.

How to check if your site has it

Measure the effect of the chat widget
  1. Run PageSpeed Insights

    Test your landing page, a product page and checkout at pagespeed.web.dev. Look at the diagnostics for third-party code and 'Reduce the impact of third-party code'.

  2. Compare with chat blocked

    In Chrome DevTools, open Network, right-click the chat script request and choose Block request URL. Reload and run the Performance panel or Lighthouse again. A clear gain points to chat.

  3. Check the main thread

    In the Performance panel, look for long tasks (red corners) that come from the chat vendor's domain.

  4. Check real-user data

    Open the Core Web Vitals report in Google Search Console to see which page groups are slow for real visitors.

  5. Test mobile

    Use mobile mode, because phones feel script weight much more than desktop.

How to fix it

The goal is simple: do not let chat compete with the first paint. Load it after the page is interactive, or only when the visitor shows intent. Exact options depend on your chat vendor, so check its docs for a lazy or delayed loading setting first.

Delay the chat widget by platform
  1. Use the vendor plugin settings

    Many chat plugins have a delay or 'load on scroll' option. Enable it if present.

  2. Delay the script

    If your performance plugin offers 'delay JavaScript execution', add the chat script URL to it, then test that the bubble still appears.

  3. Limit to key pages

    Disable chat on pages where it is not needed, such as blog posts.

Load the chat script after page load or first interactionjavascript
(function () {
  var loaded = false;
  function loadChat() {
    if (loaded) return;
    loaded = true;
    var s = document.createElement('script');
    s.src = 'https://YOUR-CHAT-VENDOR/widget.js'; // replace with your vendor's script URL
    s.async = true;
    document.body.appendChild(s);
  }
  ['scroll', 'pointerdown', 'keydown'].forEach(function (e) {
    window.addEventListener(e, loadChat, { once: true, passive: true });
  });
  window.addEventListener('load', function () {
    setTimeout(loadChat, 4000);
  });
})();
Chat loading before and after

Before

  • Chat script in the head on every page
  • Hero image waits behind chat code
  • Taps lag while chat initialises

After

  • Chat loads after the page is ready
  • Hero content paints first
  • Chat only on pages that need it

How to confirm it's fixed

Confirm the fix
  • Re-run PageSpeed Insights on the same pages and compare LCP and INP.
  • Check the chat bubble still appears and opens.
  • Send a test message and confirm it reaches your team.
  • Test on a real phone as well as desktop.
  • Watch Search Console Core Web Vitals over the following weeks, as field data updates slowly.

How to prevent it happening again

Chat vendors update their scripts without telling you, and new apps and tags pile up. Re-measure after any change to chat, tag manager or theme. Keep one chat widget only, and review which pages truly need it every quarter.

How FunnelGuard handles this

FunnelGuard detects this today. Its robot visitor runs your real journeys on a schedule and measures Core Web Vitals on each step, so you see LCP and INP for the landing page, form and checkout rather than one site-wide score. If a step becomes slow after a chat script change, you can spot it there. FunnelGuard flags the slow step; it does not rewrite your chat loading for you, so you still apply the fix above. A free plan covers 1 site and 2 journeys with daily checks, and a free read-only website audit is also available.

Questions people ask

Can a live chat widget slow down my website?

Yes. Chat widgets load JavaScript, fonts and server connections. If they load early, they compete with your main content and can raise LCP and INP, especially on mobile.

Why is my LCP bad after installing live chat?

The chat script is probably loading in the head or running before the page has painted. That delays your hero image or headline. Defer the script until after the load event, then re-test.

How do I lazy load a chat widget?

Inject the vendor script after the window load event or on first scroll, tap or key press. You can do this with a small script, a Google Tag Manager trigger such as Window Loaded, or a delay setting in your chat plugin.

Does live chat hurt INP?

It can. Chat scripts that run long tasks on the main thread make clicks and taps wait. Delaying initialisation and removing duplicate widgets usually helps.

How do I know if chat is the cause of my slow page?

Block the chat script URL in Chrome DevTools, reload, and re-run Lighthouse. If LCP or INP improves clearly, chat is a major cause.

Should I remove live chat from checkout pages?

Often yes, unless it clearly helps buyers. Checkout pages need to be fast and distraction-free, so many sites show chat only on pages where questions are common.

Can FunnelGuard tell me if my chat widget slows a page?

FunnelGuard measures Core Web Vitals on each step of your journeys, so it can show when a step gets slow. It points to the slow step, and you then check whether the chat script is the cause.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: CWV per step.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.