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.
- Page requestHTML arrives
- Chat script loads earlyBlocks the main thread
- Hero content appears lateLCP rises
- Button tap lagsINP rises
- Visitor leavesNo form or purchase
The chat script blocks the main thread, so everything after it feels slow.
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
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'.
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.
Check the main thread
In the Performance panel, look for long tasks (red corners) that come from the chat vendor's domain.
Check real-user data
Open the Core Web Vitals report in Google Search Console to see which page groups are slow for real visitors.
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.
Use the vendor plugin settings
Many chat plugins have a delay or 'load on scroll' option. Enable it if present.
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.
Limit to key pages
Disable chat on pages where it is not needed, such as blog posts.
Review installed chat apps
Go to Online Store > Themes > Customize > App embeds and switch off chat on templates that do not need it.
Remove leftovers
Uninstalled apps can leave code in theme.liquid. Search for old chat scripts and remove them.
Check app settings
Some chat apps have a setting to load after the page is ready. Turn it on.
Change the trigger
Move the chat tag from 'Page View' to 'Window Loaded', or a Timer trigger of a few seconds.
Or trigger on interaction
Use a Scroll Depth or Click trigger so chat loads only when the visitor engages.
Preview and publish
Use Preview mode to confirm the tag fires on the new trigger.
Move the code
In Project settings > Custom code, move the chat snippet from Head code to Footer code.
Use a delay wrapper
Wrap the loader in the delayed script below.
Limit by page
Use page-level custom code for only the pages that need chat.
Check widget settings
In the chat widget settings, restrict where it shows rather than loading it on every funnel page.
Avoid duplicates
Make sure the widget is not added both in site settings and in page custom code.
Use Wix's own chat
If possible, use Wix Chat, which is built for the platform, instead of a third-party embed.
Set load location
In Settings > Custom Code, set the chat script to load on specific pages and place it in Body - end.
Move the injection
In Settings > Advanced > Code Injection, move the chat snippet from Header to Footer.
Use page-level injection
For key pages only, add the code in the page's Advanced settings instead of site-wide.
Load after the page is ready
Inject the vendor snippet on the window load event, or on first user interaction, using the code below.
Preconnect carefully
If the vendor documents a domain, add a preconnect hint only for that domain, and only if chat loads soon after.
(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);
});
})();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
- 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.