Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Live chat widget not loading: how to find and fix it

DLV-214High impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

A live chat widget is a small piece of JavaScript from a chat provider (for example Intercom, Tidio, Crisp, LiveChat, Drift or HubSpot chat). The script loads on your page, draws a chat button in the corner and, when clicked, opens a window that greets the visitor.

"Not loading" can mean several things: the script never downloads, it downloads but errors, the button is drawn but hidden or covered, or the button shows but does nothing when clicked. From the visitor's side they all look the same: there is no chat.

Why it costs you leads or sales

Chat often catches visitors who have a question and would otherwise leave. If the widget is missing, those visitors leave without asking. Your chat inbox also goes quiet, which looks like a slow day rather than a fault, so the problem can run for weeks.

The risk is higher on pricing, checkout and landing pages where paid traffic arrives, because every lost conversation there has a cost per click attached.

Where a missing chat widget breaks the journey
  1. Visitor landsPage loads normally
  2. Chat scriptBlocked, removed or errors
  3. Chat buttonNever appears
  4. ConversationNever starts
  5. Lead in CRMNever captured

The visitor wants to ask a question, but the chat script fails, so every later step is lost.

Chat conversations per week before and after the widget brokeExample numbers
Chat conversations per week before and after the widget broke (example)Week 1 (working): 24 conversations; Week 2 (working): 27 conversations; Week 3 (broken): 0 conversations; Week 4 (broken): 0 conversations01021242700Week 1 (working)Week 2 (working)Week 3 (broken)Week 4 (broken)conversations

Example: illustrative numbers showing how chat volume drops to zero when the widget stops loading.

How to check if your site has it

Manual check in about five minutes
  1. Open a private window

    Visit your key pages (home, pricing, a landing page, checkout) without being logged in to your site or chat tool. Wait about 10 seconds, as some widgets load late on purpose.

  2. Look for the button and click it

    Confirm the bubble shows, opens and displays your greeting or form. Test on a phone as well as a desktop.

  3. Open the browser console

    Press F12 (or Cmd+Option+I on Mac), choose Console and look for red errors that mention your chat provider, such as 'blocked by CSP', 'ERR_BLOCKED_BY_CLIENT' or '404'.

  4. Check the Network tab

    Reload with Network open, filter by JS and search for your chat provider's name. A 200 status means the script downloaded. A missing request means the snippet is not on the page. A red or blocked request means something stopped it.

  5. Test with extensions off and consent both ways

    Ad blockers can hide chat, but that only affects some visitors. Compare the result after accepting and after rejecting your cookie banner to see whether consent controls the widget.

What you see and the usual cause
What you seeLikely cause
No chat script request in NetworkSnippet removed, wrong page template, or tag not published
Script request is blocked or redCSP rule, firewall or ad blocker
Script loads only after accepting cookiesConsent banner gating the chat tag
Script 200 but no buttonWrong workspace ID, widget switched off, or domain not allowed in chat settings
Button visible but not clickableAnother element (banner, popup, sticky bar) covering it
Works for you, not for visitorsCache or optimisation plugin serving an old page, or a country or device rule

How to fix it

Start with the cause you found above. Most fixes fall into the platform-specific steps below, followed by a few general ones.

Restore the chat widget by platform
  1. Check the plugin or snippet

    If you use the provider's plugin, confirm it is active and connected to the right account. If you pasted code, check it is still in your header/footer plugin or theme and was not lost in a theme update.

  2. Exclude the script from optimisation

    In your caching or optimisation plugin (for example WP Rocket, LiteSpeed Cache, Autoptimize), exclude the chat script from minify, combine and delay JavaScript settings, then clear the cache.

  3. Check display rules

    Review the chat provider's page and URL targeting rules, in case the widget is limited to pages that no longer match.

Example CSP error and the kind of directive to extend (use your provider's real domains)text
Refused to load the script 'https://widget.example-chat.com/loader.js' because it violates the following Content Security Policy directive: "script-src 'self'".

Fix: add the provider's domain to script-src (and connect-src, frame-src, img-src if its docs list them), for example:
script-src 'self' https://widget.example-chat.com;
General fixes that apply on any platform
  1. Replace the snippet with a fresh copy

    Copy the install code again from your chat provider's dashboard. Workspace IDs change when accounts are recreated.

  2. Check allowed domains

    Many providers only load on domains listed in their settings. Add your live domain and any www or subdomain versions.

  3. Check the widget is switched on and the plan is active

    Expired trials or unpaid plans can turn a widget off without any change on your site.

  4. Fix overlaps

    If the button shows but cannot be clicked, move the widget, or lower the z-index of the sticky bar or popup covering it.

  5. Clear caches

    Purge your site cache and CDN cache so visitors get the corrected page.

Chat widget before and after the fix

Broken

  • No chat bubble on key pages
  • Console shows blocked or failed script
  • Chat inbox silent for days

Fixed

  • Script loads with a 200 status
  • Bubble shows and opens on desktop and mobile
  • Greeting appears and test messages reach the inbox
A chat button that is covered or missing

The visitor looks for the chat bubble, but it is hidden or blocked, so no conversation starts.

How to confirm it's fixed

Confirmation checklist
  • Chat script request shows a 200 status in the Network tab
  • No red errors from the chat provider in the Console
  • The bubble appears on home, pricing, landing and checkout pages
  • The bubble opens on click and shows the greeting
  • It works on desktop and on a real phone
  • It works in a private window with and without cookie consent
  • A test message arrives in your chat inbox
  • Cache and CDN were purged before testing

How to prevent it happening again

Prevention habits
  • Re-test chat after every theme change, plugin update, consent banner change and CSP edit
  • Keep the chat snippet in one place (tag manager or one header setting), not copied across several templates
  • Keep a note of the provider's domains so CSP updates include them
  • Watch for expiring chat trials or plan limits
  • Check mobile as well as desktop after design changes
  • Run an automated check on a schedule instead of relying on someone noticing

How FunnelGuard handles this

FunnelGuard detects this issue today. Its chat widget check works like a visitor: a robot loads your page, confirms the chat script loads, checks the chat button shows, opens it and checks that the greeting appears. If any of those steps fails, it re-checks from a second region before sending one alert, so a brief network blip does not wake you up.

The alert goes to email, Slack, Teams, WhatsApp, a webhook or PagerDuty, with a screenshot and a likely cause. Test traffic is marked with utm_source=funnelguard, fg_test=1, an fg_test cookie and its own user agent, and it does not bypass CAPTCHAs or bot protection. The Free plan covers 1 site and 2 journeys with daily checks and no card, and paid plans start with a 3-day free trial.

Questions people ask

Why is my live chat widget not showing on my website?

Usually the chat script is not loading. Common causes are a removed or wrong snippet, a consent banner blocking it, a Content Security Policy rule, a caching plugin delaying the script, or a domain not allowed in your chat settings. Check the browser console and Network tab to see which one applies.

How do I check if my chat widget script is loading?

Open your page in a private window, press F12 and go to the Network tab, then reload and filter by JS. Search for your chat provider's name. A 200 status means it downloaded, while a missing or red entry means it was not added or was blocked.

Why does my chat widget work for me but not for visitors?

You may be seeing a logged-in or uncached version of the page, while visitors get a cached one without the script. Consent choices, country or device targeting rules and ad blockers can also differ between you and visitors. Test in a private window, on mobile and with cookies both accepted and rejected.

Can a cookie consent banner stop live chat from loading?

Yes. If the chat tag is set to wait for consent, it will not load until the visitor accepts the relevant category. That can be correct under privacy rules, but check that the category is the right one and that accepting does actually load the widget.

Why is my chat bubble visible but I can't click it?

Another element, such as a sticky banner, popup or cookie bar, is probably sitting on top of it. Inspect the button in the browser and compare z-index values, then move the widget or lower the z-index of the overlapping element.

Does a Content Security Policy block chat widgets?

It can. If your CSP does not list the chat provider's domains in script-src, connect-src and frame-src, the browser refuses to load it and logs a CSP error in the console. Add the domains your provider documents.

How do I know when my live chat widget stops loading?

Without monitoring you only find out when chats dry up. A synthetic monitor such as FunnelGuard loads the page on a schedule, checks the script, button, opening and greeting, and alerts you if a step fails.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: chat_widget: script loads, button shows, opens, greets.

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.