On this page
What this issue is
Your page asks another company's server for a file, for example a chat loader, a form embed or a payment library. The request fails, so the browser gets no file and the widget never starts. The rest of the page looks normal, which is why nobody notices.
Common causes: the script URL changed or returns a 404, a Content Security Policy (a browser rule listing which domains may load code) blocks the domain, a consent banner holds the script back, an ad blocker or firewall blocks it, the provider has an outage, or an account or plan was cancelled.
Why it costs you leads or sales
The widget is often the step where the visitor converts. No chat bubble means no conversations. No form means no leads. No payment element means no checkout. There is usually no error message on the page, so you only see it as a slow drop in results.
- Visitor landsPage loads normally
- Script request404, blocked or timed out
- Widget showsEmpty space or nothing
- Lead or paymentNever happens
The page loads, but the widget request fails, so every later step is lost.
Example: illustrative numbers showing chats stopping the day the loader URL breaks.
How to check if your site has it
Open the page in a private window
This avoids extensions that could block scripts. Then open DevTools (F12 or right-click, Inspect).
Open the Network tab and reload
Filter by JS. Look for rows in red or with status 404, 403, 0, or (blocked).
Check the Console tab
Messages like 'Refused to load the script because it violates the Content Security Policy' or 'ERR_BLOCKED_BY_CLIENT' name the cause.
Test the script URL directly
Paste the script address into a new tab. A 404 or an error page means the URL or account is the problem.
Test key pages and devices
Check the page where the widget matters (checkout, contact, pricing), on mobile and desktop, with and without accepting cookies.
| What you see | Likely cause | First thing to try |
|---|---|---|
| 404 Not Found | Script URL changed or removed | Copy a fresh embed code from the provider |
| Refused to load (CSP) | Your security policy lacks the domain | Add the provider's domains to the policy |
| ERR_BLOCKED_BY_CLIENT | Ad blocker or extension | Test in a clean browser |
| No request at all | Consent rule or tag trigger holds it back | Check consent and trigger settings |
| Timeout or 5xx | Provider outage | Check the provider status page |
How to fix it
Fix the cause you found. The steps differ by platform, so use the tab that matches how the script is added to your site.
Find where the script is added
Check the provider's plugin, your theme's header/footer scripts field, and any snippet plugin. Look for old or duplicate embed codes.
Replace with a fresh embed code
Copy the current code from the provider dashboard and paste it over the old one. Update or reinstall the provider's plugin.
Clear caches
Purge your caching and optimisation plugin. Exclude the script from 'delay JavaScript' or 'combine JS' if it breaks.
Check the app and theme code
In Online Store, Themes, Edit code, search theme.liquid for the old script URL. Remove leftovers from uninstalled apps.
Re-enable the app embed
In the theme editor, open App embeds and make sure the widget is switched on.
Check checkout scripts
Payment widgets load inside Shopify's own checkout, so confirm the provider is still enabled under Settings, Payments.
Open the tag in Preview mode
Use Tag Assistant to see whether the tag fires on the page where the widget should show.
Fix the trigger or URL
Correct the trigger conditions and the script URL in the Custom HTML tag, then check consent settings on the tag.
Publish a new version
Submit and publish the container, then retest on the live site.
Check custom code
Open Site settings, Custom code, and the page's own settings. Look for outdated script tags or embeds.
Replace the embed
Paste the current provider code into the Embed element or head/footer fields.
Publish
Custom code only runs on the published site, so publish and test the live domain.
Check funnel or site custom code
Open the funnel or website settings and review the header and footer tracking code and any Custom Code elements.
Replace the widget code
Use a fresh chat or form embed from your account settings, then save and publish the page.
Check Custom Code settings
In Settings, Custom Code, review the scripts and the pages they load on. Wix embeds need a Premium plan with a connected domain for some features.
Re-add the embed
Remove the old embed and add the new code, then publish.
Check Code Injection
Open Settings, Advanced, Code Injection and look for old scripts in the Header and Footer boxes.
Replace and save
Paste the current code. Code injection needs a plan that supports it and does not run in the editor preview.
Fix the URL
Use the exact script address from the provider's docs. Check for typos, http instead of https, and removed version paths.
Update your Content Security Policy
Add the provider's domains to script-src, connect-src and frame-src as their docs list.
Add a failure handler
Detect load errors so you can fall back to a plain link or message (see the snippet below).
<script src="https://widget.example.com/loader.js" async
onerror="document.getElementById('chat-fallback').hidden=false"></script>
<p id="chat-fallback" hidden>
Chat is unavailable right now. Email us at hello@example.com.
</p>How to confirm it's fixed
- Network tab shows the script with status 200 and no red rows
- The Console has no CSP or blocked-request errors
- The widget appears on desktop and mobile
- You can send a test chat, submit a test form, or reach the payment step
- It also works after accepting and after declining cookies, as intended by your consent setup
- A cache-cleared reload still shows the widget
How to prevent it happening again
- Keep a list of every third-party script, its owner and its provider account
- Retest key pages after theme, plugin, consent or CSP changes
- Subscribe to the provider's status page and billing emails
- Remove scripts from tools you no longer use
- Use the provider's current embed code, not copies from old pages
- Run a scheduled check on the pages where the widget matters
Example: Day 1
A security plugin update adds a policy that blocks the chat domain.
Example: Day 2
The page looks fine. Chat simply never appears.
Example: Day 9
Someone notices fewer enquiries and investigates.
Example: Day 9
The domain is added to the policy and chat returns.
How FunnelGuard handles this
FunnelGuard detects this today. A robot visitor loads your pages on a schedule from the EU or the US and runs a broken-resources check that looks at third-party requests only, meaning scripts and files served from other domains. If one of them fails to load, the check flags it.
A failure is re-checked from a second region before one alert goes out, so a brief glitch in one place does not wake you up. The alert (email, Slack, Teams, WhatsApp, webhook or PagerDuty) includes a screenshot and a likely cause. The check covers failed loads. It does not judge whether every feature of the widget works, so keep a journey that completes the key action for the most important ones. The Free plan includes 1 site and 2 journeys with daily checks and no card, and a free read-only website audit is available.
Questions people ask
Why is my chat widget not showing on my website?
The most common reason is that the chat script failed to load. Open DevTools, go to the Network tab, reload and look for a red or 404 request to the chat provider's domain. Other causes are a Content Security Policy blocking it, a consent banner holding it back, or a cancelled account.
How do I find which third-party script failed to load?
Open your page, press F12, choose the Network tab and reload. Filter by JS and look for rows with status 404, 403, or marked blocked. The Console tab usually gives the reason in plain words.
What does ERR_BLOCKED_BY_CLIENT mean?
It means something in the visitor's browser, usually an ad blocker or privacy extension, stopped the request. Test in a private window without extensions to see if your site works. If key features depend on that script, consider a fallback so those visitors can still act.
Can a Content Security Policy stop a widget from loading?
Yes. If the policy does not list the provider's domains in script-src, connect-src or frame-src, the browser refuses the request and logs a violation in the Console. Add the domains from the provider's documentation and retest.
Why does my payment widget not appear at checkout?
Usually its script failed to load, was blocked by a policy or optimisation plugin, or the payment provider is disabled or misconfigured in your store. Check the Network and Console tabs on the checkout page and confirm the provider is enabled in your store settings.
Can a caching or speed plugin break third-party scripts?
Yes. Options such as delay JavaScript, combine JS or minify can break loaders or change their order. Exclude the affected script from those options, purge the cache and test again.
How can I be alerted when a third-party script fails?
Use a monitor that loads your pages regularly and checks for failed external requests. FunnelGuard does this with a scheduled robot visitor, re-checks from a second region, then sends one alert with a screenshot and a likely cause.
Related issues
- PRF-100Third-party script slow and blocks renderingFix guide
- PRF-103Embedded form (HubSpot/Typeform) iframe never loadsFix guide
- PRF-109Google reCAPTCHA fails to load, blocking form submitFix guide
- PRF-110Payment widget (Stripe Elements, PayPal button) not renderingFix guide
- PRF-112Tag manager container fails to load (blocked, 404)Fix guide
- PRF-113Ad blockers break core functionality (site depends on blocked script)Fix guide