Skip to content
FunnelGuard

Fix guide by FunnelsGuard

CAPTCHA widget not loading on your form: how to fix it

CNV-370High impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

A CAPTCHA is a small check on a form that tries to tell humans from bots. Common ones are Google reCAPTCHA, hCaptcha and Cloudflare Turnstile. The widget is drawn by a script loaded from a third party, such as https://www.google.com/recaptcha/api.js, https://js.hcaptcha.com/1/api.js or https://challenges.cloudflare.com/turnstile/v0/api.js.

Why it costs you leads or sales

The failure is silent. Your page looks normal, nothing is logged in your CRM and the visitor just leaves. Every person who tried to fill in the form is lost, and your ad spend still counts the click.

Where the funnel breaks
  1. Ad clickVisitor lands on the page
  2. Form pageFields load fine
  3. CAPTCHA widgetScript blocked or failed
  4. Form submitDisabled or rejected
  5. Lead in CRMNever arrives

The CAPTCHA script fails, so the form cannot be completed.

Leads per week with and without the failureExample numbers
Leads per week with and without the failure (example)Widget working: 40 leads; Widget failing: 3 leads01531403Widget workingWidget failingleads

Example: a form that normally gets 40 leads a week drops to a handful while the widget is broken.

How to check if your site has it

Check the widget in your browser
  1. Open the form in a private window

    Use a clean window with no extensions. Check that the CAPTCHA box or badge appears.

  2. Open DevTools

    Press F12, go to the Console tab and reload. Look for messages such as 'Refused to load the script' or 'Content Security Policy'.

  3. Check the Network tab

    Filter by 'recaptcha', 'hcaptcha' or 'turnstile'. A red, blocked or pending request is the cause.

  4. Test on mobile and another network

    Some failures only show with certain ad blockers, regions or corporate networks.

Common causes and what you see
CauseWhat you see
CSP header blocks the domainConsole error: Refused to load script
Optimisation plugin delays or combines the scriptWidget appears late or never
Cache serves an old page with an expired tokenWidget blank or 'expired' message
Ad blocker or privacy toolWorks for you, fails for some visitors
Consent tool blocks the script until acceptedWidget missing until the banner is clicked
Wrong script URL or typo in site keyWidget shows an error message

How to fix it

Start with the cause you found in the console. The fixes below cover the most common ones.

Fix by platform
  1. Exclude the CAPTCHA script from optimisation

    In your caching or speed plugin, find the delay JavaScript, defer or combine settings. Add recaptcha, hcaptcha or turnstile to the exclusion list. The setting names vary by plugin.

  2. Check your form plugin

    Open the plugin's CAPTCHA settings and confirm the site key and secret key are filled in and the right version is selected.

  3. Clear all caches

    Purge the plugin cache, server cache and any CDN cache, then retest.

Example CSP additions for Google reCAPTCHAtext
script-src 'self' https://www.google.com/recaptcha/ https://www.gstatic.com/recaptcha/;
frame-src https://www.google.com/recaptcha/ https://recaptcha.google.com/recaptcha/;
connect-src 'self' https://www.google.com/recaptcha/;

How to confirm it's fixed

Confirm the fix
  • The widget or badge shows in a private window on desktop and mobile
  • The Console has no CSP or blocked script errors
  • The Network tab shows the CAPTCHA request with status 200
  • You can submit a test lead and it reaches your inbox and CRM
  • The widget still loads after a cache purge and from a different network

How to prevent it happening again

Prevention
  • Test the form after every plugin, theme, CSP or consent tool change
  • Keep CAPTCHA domains on your CSP allow list and optimisation exclusions
  • Don't self-host or copy the CAPTCHA script; use the provider's URL
  • Keep site keys documented and tied to the right domains
  • Run a scheduled test of the real form, not only a visual check

How FunnelGuard handles this

FunnelGuard detects this today. A robot visitor runs your real form journey on a schedule and checks each step. When a third-party resource such as the CAPTCHA script fails to load, the check records it as a failure. A failed check is re-checked from a second region before one alert goes out, with a screenshot and a likely cause.

FunnelGuard never bypasses CAPTCHAs or bot protection. It flags that the widget did not load; it does not solve it. 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 reCAPTCHA not showing on my form?

The reCAPTCHA script is usually blocked or delayed. Common causes are a Content Security Policy, a speed plugin delaying JavaScript, a consent tool or a wrong site key. Check the browser console and Network tab to see which one applies.

How do I fix a CAPTCHA that is not loading?

Open DevTools and read the Console error. Then allow the CAPTCHA domains in your CSP, exclude the script from optimisation plugins, clear caches and retest in a private window.

Why does my CAPTCHA work for me but not for visitors?

Your browser may have it cached, or the visitors may use ad blockers, privacy tools or strict networks that block the script. A scheduled test from outside your own device shows what others see.

Can a cookie banner stop the CAPTCHA from loading?

Yes. If your consent tool blocks third-party scripts until the visitor accepts, the CAPTCHA will not appear before that. Treat it as a security script if your tool lets you, or check how it is configured.

Does a CAPTCHA that fails to load stop form submissions?

Usually yes. The submit button may stay disabled, or the form sends without a token and the server rejects it. Either way the visitor's lead is lost, often without any error you can see.

How do I know if my CAPTCHA keys are the problem?

If the widget appears but shows an error about the site key or domain, the keys are likely wrong. That is a different issue from the script not loading at all, so check the key settings for your domain.

How can I monitor if my CAPTCHA stops loading?

Use a synthetic monitor that runs your real form on a schedule. FunnelGuard does this and alerts you when a third-party resource such as the CAPTCHA script fails to load.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: third-party resource failure.

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.