Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Chat widget loading 1 MB+ on every page: how to fix it

PRF-101Medium impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

A chat widget is a third-party script that adds a chat bubble to your site. When the page loads, the script fetches more files: the widget code, styles, fonts, icons, and often tracking and session code. Added together, some widgets weigh 1 MB or more before a visitor clicks anything.

The problem is not that you have chat. It is that the full widget loads on every page, for every visitor, whether or not they ever use it. That extra weight competes with your own content, images and forms for bandwidth and processing time.

Why it costs you leads or sales

Heavy pages load slower, particularly on mobile connections and mid-range phones. Slow pages lose visitors before they reach your form, product or checkout. The widget's JavaScript also uses the browser's main thread, so buttons and forms can feel laggy while it starts up.

The result is a trade-off that often goes unnoticed: the chat tool meant to capture leads may be costing you more visitors than it converts. Landing pages and checkout pages, where every second matters, are the most exposed.

Page weight with and without an eager chat widgetExample numbers
Page weight with and without an eager chat widget (example)Page without chat: 900 KB; Page with chat loaded on page load: 2,000 KB; Page with chat loaded on click: 920 KB07671,5339002,000920Page without chatPage with chat loaded…Page with chat loaded…KB

Example: illustrative numbers for a landing page. Your own figures will differ, so measure them with the steps below.

How to check if your site has it

Measure the widget's weight in Chrome
  1. Open DevTools on the page

    In Chrome, open your page, right-click and choose Inspect, then open the Network tab. Tick Disable cache.

  2. Reload and let it settle

    Reload the page without touching the chat bubble. Wait until the bubble appears and the network goes quiet.

  3. Filter by the chat vendor's domain

    Type the vendor's domain in the filter box (for example the domain in the widget's script tag). Look at the transferred size shown at the bottom of the panel.

  4. Compare with the whole page

    Clear the filter and compare. If the chat files are a large share of the total, or above 1 MB on their own, the widget is too heavy for an eager load.

  5. Test on a slow connection

    In the Network tab, set throttling to Fast 4G or Slow 4G and reload. Note how long it takes for your main content or form to appear.

How to fix it

There are three levers, from least to most effective: delay the widget until after the page is ready, load it on demand when someone clicks a lightweight placeholder button, and remove it from pages where it is not useful, such as checkout. Check your vendor's settings first, as some offer a lighter loading mode.

Eager load vs load on demand

Before

  • Full widget downloads on every page view
  • 1 MB+ competes with your content and forms
  • Visitors who never chat still pay the cost

After

  • Page loads with a tiny placeholder button
  • Full widget loads only after a click or a delay
  • Chat still available, pages stay light
Delay or limit the chat widget by platform
  1. Check the chat plugin settings

    Open the plugin's settings and look for options such as delay loading, show on selected pages or hide on mobile.

  2. Use a script delay feature

    If your performance plugin has a Delay JavaScript execution option (for example in WP Rocket or similar), add the chat script's URL or keyword to the delay list so it loads on first interaction.

  3. Exclude key pages

    Use the plugin's page rules, or a conditional in your theme, to hide chat on checkout and landing pages.

Load the chat widget on click or after a delay (adapt the script URL)html
<button id="chat-open" type="button">Chat with us</button>
<script>
(function () {
  var loaded = false;
  function loadChat() {
    if (loaded) return;
    loaded = true;
    var s = document.createElement('script');
    s.src = 'https://chat-vendor.example/widget.js'; // replace with your vendor's URL
    s.async = true;
    document.body.appendChild(s);
  }
  document.getElementById('chat-open').addEventListener('click', loadChat);
  // Optional: also load after 8 seconds of idle time
  window.addEventListener('load', function () { setTimeout(loadChat, 8000); });
})();
</script>

How to confirm it's fixed

Confirm the fix
  • Reload with DevTools Network open: no chat vendor files load before you click or before the delay ends
  • Total transferred size of the page has dropped compared with your earlier measurement
  • Clicking the chat button loads the widget and opens the chat
  • Lighthouse mobile report shows less third-party JavaScript
  • Checkout, form and landing pages behave as intended, with or without chat
  • A test message sent through the chat reaches your team

How to prevent it happening again

Chat vendors update their widgets, and weight tends to creep up. Set a simple page weight budget, review third-party scripts each quarter, and re-measure after any chat app update or theme change. Ask the vendor about lazy loading before you install a new tool.

Habits that keep it light
  • Record the chat widget's transferred size now, and re-check it every quarter
  • Load chat on click or after a delay by default
  • Keep chat off checkout and other high-intent pages if it distracts
  • Remove old chat apps and leftover snippets when you switch tools
  • Retest a mobile Lighthouse run after each major site change

How FunnelGuard handles this

FunnelGuard detects this issue only partly. It checks the weight of what loads on your journey pages, so a chat widget that adds a large download can be flagged. It does not check how the widget affects speed for real visitors, when it starts, or whether it blocks your form or buttons.

To cover the rest by hand, use the Network and Lighthouse checks above on your key pages, test on a throttled mobile connection, and confirm the chat still opens after any change. FunnelGuard runs your real journeys on a schedule, and a failure is re-checked from a second region before one alert goes out. The Free plan covers 1 site and 2 journeys with daily checks, no card needed, and a free read-only website audit is available too.

How a heavy chat widget hurts the journey
  1. Visitor landsPage starts to load
  2. Chat widget loads 1 MB+Competes with content and form
  3. Page feels slowVisitor gives up
  4. Form or checkoutNever reached

The widget slows the page, so visitors leave before reaching the form.

Questions people ask

Why is my chat widget slowing down my website?

Most chat widgets load a large bundle of JavaScript, fonts and images on every page, often 1 MB or more. That uses bandwidth and processing time that your own content needs. Loading it later or only on click removes most of the cost.

How do I check how big my live chat widget is?

Open Chrome DevTools, go to the Network tab, tick Disable cache and reload. Filter by the chat vendor's domain and read the transferred size at the bottom. Compare it with the total page size.

Can I load a chat widget only when someone clicks?

Yes. Show a simple button, and add the vendor's script to the page only when it is clicked. Check the vendor's documentation, as some need extra setup, and test that the first click opens the chat.

Should I remove live chat from my checkout page?

Often yes. Checkout is a high-intent page where speed and focus matter, and chat adds weight and distraction. Test it on your own site and decide based on your results.

Does a chat widget hurt Core Web Vitals?

It can. Its JavaScript may delay interactivity and add layout shifts when the bubble appears. Run a mobile Lighthouse report with and without the widget to see the difference on your pages.

Does FunnelGuard detect a heavy chat widget?

Only partly. FunnelGuard checks the weight of what loads on your journey pages. It does not measure real-visitor speed, load timing or whether the widget blocks forms, so check those by hand.

Will delaying the chat widget lose me chats?

A short delay or load-on-click usually keeps chat available while making pages faster. Test that the button works on the first click, and watch your chat volume after the change.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: weight only.

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.