On this page
What this issue is
Most chat tools (Intercom, Tawk.to, Drift, LiveChat, HubSpot chat and similar) work by loading a third-party script from the vendor's servers. That script draws the chat bubble on your page. If the request fails, is blocked or throws an error, the bubble never shows. Your page still looks normal, so nobody tells you.
Why it costs you leads or sales
Chat is often the quickest route from a question to a lead or sale. Visitors with a pre-purchase question on a pricing, product or checkout page have no obvious alternative, so many leave. Because no error appears on the page, the problem can run for weeks. Your chat inbox just looks quiet.
- Visitor landsPage loads normally
- Widget scriptRequest blocked or errors
- Chat bubbleNever appears
- ConversationNever starts
- Lead or saleQuestion unanswered
The page loads fine, but the widget script fails, so the chat steps never happen.
Example: a site that normally gets about 40 chats a week drops to near zero in the week the script starts failing.
How to check if your site has it
Open the page in a clean window
Use a private window with extensions off, so ad blockers do not hide the problem. Test the exact pages where chat should appear, on desktop and mobile.
Open DevTools
Press F12 (or Cmd+Option+I on Mac) and open the Console tab. Look for red errors that mention the chat vendor, 'Refused to load the script' (CSP) or 'ERR_BLOCKED_BY_CLIENT'.
Check the Network tab
Reload and filter by JS. Find the vendor's script (for example a widget or loader file). A red row, a 4xx/5xx status or 'blocked' means the script failed.
Compare with consent choices
Reload after accepting all cookies, then after rejecting. If the bubble only appears after accepting, consent settings are holding it back.
Check the vendor's status and account
Look at the vendor's status page, your plan or billing state, and the list of allowed domains in the widget settings.
| What you see | Likely cause |
|---|---|
| Console: 'Refused to load the script' | Your CSP does not allow the vendor's domain |
| Network: ERR_BLOCKED_BY_CLIENT | Ad blocker or privacy extension (only some visitors) |
| Network: 404 on the script | Wrong or outdated embed code or widget ID |
| Script loads but no bubble | Domain not allowed, widget disabled, or a JavaScript error before it starts |
| Bubble appears only after accepting cookies | Consent tool or tag manager trigger is gating the script |
| Appears on some pages only | Embed missing from a template, or a tag manager trigger excludes those pages |
How to fix it
Re-copy the embed code
Copy a fresh snippet from the chat vendor's dashboard and replace the old one. Make sure the widget or app ID matches your current account.
Allow the vendor in your CSP
If the Console shows a CSP error, add the vendor's domains to script-src, connect-src, frame-src and img-src as the vendor's documentation lists.
Fix consent gating
If chat is set to load only after consent, make sure the consent category is correct and the script fires once the visitor accepts. Do not remove consent requirements just to make the widget load.
Add your domain in the vendor settings
Many tools only show the widget on approved domains. Add your live domain, including www and any staging or subdomain you use.
Check the account
Confirm the plan is active, the widget is switched on and any visibility rules (pages, countries, hours) are correct.
Resolve script conflicts
If an earlier JavaScript error stops later scripts, fix it. Also check that a caching or minify plugin is not breaking or delaying the widget file.
Check how the widget is added
It may come from the vendor's plugin, a header/footer scripts plugin or your theme. Make sure it is added only once and is active.
Exclude the script from optimisation
In your caching or optimisation plugin, exclude the vendor's script from minify, combine and delay-JavaScript settings, then clear the cache.
Check the app embed
In Online Store > Themes > Customize > App embeds, make sure the chat app is switched on.
Check theme code
If you pasted a snippet into theme.liquid, confirm it is still there after theme updates or a theme switch.
Check the tag and trigger
Open Preview mode and confirm the chat tag fires on the right pages. Review any consent settings and trigger exceptions.
Publish the container
A fix in the workspace does nothing until you Submit and publish a new version.
Check custom code
Look in Site settings > Custom code (footer) and in page-level custom code. Publish the site after any change.
Check the chat widget and funnel code
Confirm the widget is enabled in its settings and that the snippet is in the funnel or website tracking code, then republish the pages.
Check custom code or the app
In Settings > Custom code, confirm the snippet is set to the right pages and the 'Body - end' placement. For Wix Chat, check it is enabled in the dashboard.
Check code injection
In Settings > Advanced > Code Injection, confirm the snippet is in the footer. Note code injection may not run in some editing views, so test the live site.
Check the template and CSP header
Confirm the script tag is in the shared layout and that your CSP header lists the vendor's domains.
Content-Security-Policy: script-src 'self' https://widget.example-chat.com; connect-src 'self' https://api.example-chat.com wss://api.example-chat.com; frame-src https://widget.example-chat.comHow to confirm it's fixed
- The chat bubble appears on a private window on desktop and mobile
- No red errors from the vendor in the Console
- The widget script shows status 200 in the Network tab
- The bubble appears after consent is given, as intended
- A test message arrives in your chat inbox or app
- The widget shows on every page where it should, not only the homepage
How to prevent it happening again
- Re-test chat after theme, plugin, consent or CSP changes
- Keep the chat vendor's domains in a documented CSP allow list
- Keep the account, plan and allowed domains up to date
- Always offer a non-chat contact option
- Review tag manager changes before publishing
- Monitor the chat widget on a schedule instead of relying on a quiet inbox
How FunnelGuard handles this
FunnelGuard detects this today. Its robot visitor loads your pages on a schedule and runs a chat widget check, which flags when the widget script failed. It also runs a broken resources check that reports third-party files that fail to load. A failure is re-checked from a second region before one alert goes out, with a screenshot and a likely cause.
The check can tell you the script failed. It cannot fix the cause or know every reason a particular visitor's blocker hides the widget. The Free plan covers 1 site and 2 journeys with daily checks and no card, and paid plans have a 3-day free trial.
Questions people ask
Why is my chat widget not showing on my website?
The widget script usually failed to load or was blocked. Common causes are a wrong embed code, a CSP rule, a consent setting, an ad blocker, a domain not allowed in the vendor settings or an inactive account. Check the Console and Network tabs in DevTools to see which one it is.
How do I check if my chat widget script is loading?
Open the page in a private window, press F12 and reload with the Network tab open. Filter by JS and find the vendor's script. A status of 200 means it loaded; red, blocked or 4xx/5xx means it failed.
Can a Content Security Policy block my live chat?
Yes. If your CSP does not list the vendor's domains under script-src, connect-src and frame-src, the browser refuses to load them. The Console shows 'Refused to load the script' with the blocked address.
Why does my chat widget only appear after I accept cookies?
Your consent tool or tag manager is probably set to load chat only after a consent category is accepted. That can be intended. Check the category is right and that the script fires after acceptance.
Do ad blockers hide chat widgets?
Yes, some ad and privacy blockers block known chat or tracking domains, so the widget fails for those visitors only. Test in a clean window and provide another contact option such as a form or email.
Why does my chat widget work on desktop but not mobile?
Check the vendor's mobile visibility settings, page rules and any theme or tag manager conditions that exclude mobile. The widget may also be hidden behind other elements, so test on a real phone.
How can I be alerted when my chat widget stops loading?
Use synthetic monitoring that loads your pages regularly and checks the widget script. FunnelGuard does this and sends one alert with a screenshot and likely cause after re-checking from a second region.
Related issues
- OPS-203Chat widget covering CTA on mobileFix guide
- OPS-201Third-party script blocking render (single point of failure)Fix guide
- OPS-200Too many third-party scripts (performance and risk)Fix guide
- OPS-207Expired third-party SaaS subscription removing widget (reviews, popups)Fix guide
- OPS-199Tag manager container edited by unknown userFix guide
- OPS-195Magecart / card skimmer script on checkoutFix guide