On this page
What this issue is
Most live chat tools (Intercom, Tidio, Crisp, Drift, LiveChat, HubSpot chat and similar) work by loading a JavaScript file from the vendor's servers. That file draws the chat bubble and opens conversations. If the file never arrives or never runs, the page looks normal but the chat is simply absent.
- Page loadsHTML and content render normally
- Chat script requestedRequest is blocked, 404s or times out
- Chat bubble shownNever appears
- Conversation startedNo chat, no lead
The page loads, but the chat script fails, so every later step is lost.
Why it costs you leads or sales
Chat is often the fastest way for a hesitant visitor to ask a question before buying or booking. When the script fails, those visitors get no prompt and no answer. Many leave rather than hunt for a contact form.
Example: illustrative numbers for a site that normally gets about 20 chats a day. The script breaks on day 4 and is fixed on day 8.
How to check if your site has it
Open the page in a clean browser window
Use a private window with extensions off, so an ad blocker does not hide the real cause.
Open DevTools and the Network tab
Press F12 (or Cmd+Option+I on Mac), choose Network, tick Disable cache, then reload.
Filter for the chat vendor
Type the vendor name (for example intercom, tidio, crisp) in the filter box. Look for rows in red or with a status other than 200.
Read the Console tab
Messages such as 'Refused to load the script because it violates the Content Security Policy' or 'ERR_BLOCKED_BY_CLIENT' name the cause.
Test other pages and devices
Check the homepage, a key landing page and a phone. The script may fail on only some templates.
| What you see | Likely cause | First thing to try |
|---|---|---|
| 404 on the chat script | Wrong or removed embed code or workspace ID | Copy the snippet again from the chat dashboard |
| Refused to load ... Content Security Policy | CSP header does not list the chat domain | Add the vendor's domains to script-src and connect-src |
| ERR_BLOCKED_BY_CLIENT | Ad blocker or privacy extension | Retest with extensions off; this affects only some visitors |
| Request never sent | Consent banner or tag manager trigger holds it back | Check the consent category and trigger |
| Pending, then timeout | Vendor outage or slow network | Check the vendor's status page |
How to fix it
Check the plugin or snippet
If you use the vendor's plugin, open its settings and confirm the workspace or app ID. If you pasted code, check the header/footer plugin or theme file for the exact snippet.
Clear caches and optimisation
Purge page cache and CDN. In your optimisation plugin, exclude the chat script from 'delay JavaScript' or 'combine/minify' if it stops loading.
Check security plugins
Firewall or security headers plugins may add a CSP. Allow the chat vendor's domains.
Check the app embed
Go to Online Store > Themes > Customize > App embeds and make sure the chat app is switched on.
Look for leftover code
In Edit code, search theme.liquid for old or duplicate chat snippets that point to a removed account.
Check Customer privacy settings
If the chat app waits for consent, confirm it is set to load in the right category.
Check the trigger
Open the chat tag in your container and confirm the trigger (usually All Pages or a page view) matches the page you tested.
Use Preview mode
Click Preview, load the page and check the chat tag shows under Tags Fired, not Not Fired.
Check consent settings
If the tag needs consent, make sure the banner grants the required type or adjust the tag's consent settings.
Publish
Submit and publish the container after fixing.
Check custom code
Open Project settings > Custom code (or the page's settings) and confirm the chat snippet is in the footer code with no typos.
Publish
Custom code only runs on the published site, not in the Designer. Republish after any change.
Check the chat widget settings
In Sites > Chat Widget (menu names can vary by account), confirm the widget is enabled and the correct domain is allowed.
Check the embed location
For external sites, copy the widget code again and paste it before the closing body tag. For funnels, add it in the funnel or page tracking code.
Reinstall or re-add the chat app
In the Wix editor, open the App Market and check the chat app is installed and connected. For custom code, use Settings > Custom Code and apply it to All pages.
Publish the site
Changes only appear on the live site after you publish.
Check code injection
Go to Settings > Advanced > Code Injection and make sure the chat snippet sits in the Footer with no broken tags.
Check the plan
Code injection needs a plan that supports it. Test on the live URL, not the editor.
Replace the embed code
Copy the current snippet from the chat vendor's dashboard and replace the old one.
Update your CSP
Add the vendor's script, connect, frame and image domains to your Content-Security-Policy header.
Load it asynchronously
Use async or defer so a slow vendor does not block the page, and check no earlier script error stops it running.
add_header Content-Security-Policy "default-src 'self'; script-src 'self' https://chat.example.com; connect-src 'self' https://chat.example.com wss://chat.example.com; frame-src https://chat.example.com; img-src 'self' data: https://chat.example.com" always;How to confirm it's fixed
- Chat script request shows status 200 in the Network tab
- No red errors about the chat domain in the Console
- Chat bubble appears on the homepage and a key landing page
- Bubble appears on mobile as well as desktop
- Opening the chat and sending a test message reaches your team's inbox
- Page still works with your consent banner accepted
Broken
- Script request returns 404 or is blocked
- No chat bubble on the page
- Console shows CSP or network errors
Fixed
- Script loads with status 200
- Bubble appears within a few seconds
- Test chat arrives in your inbox
How to prevent it happening again
- Re-test the chat after theme, plugin, CSP or consent banner changes
- Keep one chat embed only, and remove old ones when you switch vendors
- Watch the vendor's status page and update notices
- Document where the snippet lives (plugin, theme or tag manager)
- Load the script async so a slow vendor never blocks the page
- Run an automated check on a schedule so you hear about failures first
Day 0
A security header update blocks the chat domain
Day 1-5
Bubble is gone, chats stop, nobody is alerted
Day 6
Someone notices the quiet inbox and checks the site
Day 6
CSP is corrected and chat returns
How FunnelGuard handles this
FunnelGuard detects this issue today. A robot visitor loads your pages on a schedule, and its chat_widget check names the chat script that failed to load. A separate no_broken_resources check flags failed third-party requests, which covers chat vendor files.
Questions people ask
Why is my chat widget not showing on my website?
Usually the chat script failed to load. Open DevTools, go to the Network tab, reload, and look for a failed request to your chat vendor. Common causes are a wrong embed code, a Content Security Policy block, a consent banner, or an ad blocker.
How do I check if my live chat script is blocked?
Open your page in a private window with extensions disabled, press F12 and open the Console and Network tabs. A message like 'Refused to load the script' means your CSP blocks it. ERR_BLOCKED_BY_CLIENT means an extension did.
Can an ad blocker stop my chat widget from loading?
Yes. Some ad and privacy blockers block known chat or tracking domains, so a few visitors will not see the bubble even when your setup is correct. Test with extensions off first to separate that from a real fault on your site.
Why does my chat widget work on desktop but not mobile?
The script may be limited to desktop in the vendor's settings, hidden by a theme rule, or blocked by a mobile-only consent or caching setup. Test the live URL on a real phone and check the Network tab with device mode on.
Does a Content Security Policy block chat widgets?
It can. If your CSP does not list the chat vendor's domains in script-src, connect-src, frame-src and img-src, the browser refuses to load or run them. Add the vendor's documented domains rather than loosening the whole policy.
Why did my chat widget stop working after a plugin or theme update?
An update can remove your footer code, add a cache or minify rule that breaks the script, or add security headers that block it. Re-check the embed location, purge caches and look at the Console for the exact error.
How can I get alerted when my chat widget breaks?
Use a scheduled check that loads your pages and tests the chat script. FunnelGuard does this with its chat_widget check, which names the failed script, and sends an alert after a second-region re-check.