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.
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
Open DevTools on the page
In Chrome, open your page, right-click and choose Inspect, then open the Network tab. Tick Disable cache.
Reload and let it settle
Reload the page without touching the chat bubble. Wait until the bubble appears and the network goes quiet.
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.
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.
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.
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
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.
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.
Exclude key pages
Use the plugin's page rules, or a conditional in your theme, to hide chat on checkout and landing pages.
Find the chat app
In Online Store > Themes > Customize > App embeds, check whether the chat app is switched on globally.
Limit where it loads
Check the app's own settings for page targeting. If it has none, move the script into a theme file and wrap it in a template condition such as
{% if template.name != 'cart' %}.Remove leftovers
If you uninstalled an old chat app, look in theme.liquid for leftover script tags and delete them.
Change the trigger
Open the chat tag. Replace the All Pages trigger with a Window Loaded trigger, or a Timer trigger set to a few seconds.
Add page conditions
Use a Page Path condition so the tag fires only on the pages that need chat.
Preview and publish
Use Preview mode to confirm the tag fires at the new moment, then publish the container.
Find the embed code
Look in Project Settings > Custom Code (head or footer) and in page-level custom code for the chat snippet.
Move it to the footer
Place the script in Footer Code, not the head, so it does not run before your content.
Use page-level code
Remove it from the site-wide area and add it only to the pages that need it.
Review the chat widget settings
Open the chat widget settings in your sub-account and check which sites or funnels it is attached to.
Remove from funnel pages that do not need it
In the funnel or website builder, check custom code at funnel and page level, and remove the widget from pages where it is not wanted.
Check Wix Chat or the added app
In the editor, open the chat app's settings and look at where it is displayed.
Limit pages
If you added a third-party script through Settings > Custom Code, set it to load on specific pages only and place it at the end of the body.
Find the code injection
Look in Settings > Advanced > Code Injection for the chat script, in both Header and Footer.
Move to the footer or a single page
Move it to Footer, or remove it from site-wide injection and add it to a page's own Advanced > Page Header Code Injection where needed.
Replace the snippet with a loader
Do not paste the vendor snippet straight into the page. Use the loader shown below, so the script is added only on click or after a delay.
Check vendor docs
Some vendors document a way to start the widget manually or hide the default bubble. Use that API if it exists.
<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
- 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.
- 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.
- Visitor landsPage starts to load
- Chat widget loads 1 MB+Competes with content and form
- Page feels slowVisitor gives up
- 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.
Related issues
- PRF-100Third-party script slow and blocks renderingFix guide
- PRF-099Third-party script fails to load (chat, form, payment widget)Fix guide
- PRF-111Third-party script throws console errorsFix guide
- PRF-112Tag manager container fails to load (blocked, 404)Fix guide
- PRF-115Abandoned plugin script from a dead CDN hostFix guide
- PRF-102Review widget (Trustpilot) fails to renderFix guide