On this page
What this issue is
Tools like HubSpot, Typeform and Jotform let you place a form on your page with a snippet. The snippet either loads a JavaScript file that builds the form on your page, or adds an iframe, which is a window onto another website's page. If that script or iframe fails, the area stays empty, shows a spinner forever, or shows a browser error.
Why it costs you leads or sales
The form is usually the last step before a lead. If it is missing, every visitor you paid for hits a dead end. Traffic, ad spend and page views look normal, and only the lead count drops. Because the failure is silent, it can run for days.
- Ad clickVisitor lands on page
- Page loadsContent and layout show
- Form embedScript or iframe fails
- SubmissionNothing to submit
- Lead in CRMNever created
The page loads, but the form never appears, so every later step is lost.
Example: illustrative numbers for a page with steady traffic. Visits stay the same while leads fall to zero.
How to check if your site has it
Open the page in a private window
Use a fresh private or incognito window with no extensions. Wait for the page to finish loading and see if the form appears.
Open the browser console
Press F12 (or Cmd+Option+I on Mac) and open the Console tab. Look for red errors mentioning the form provider, such as js.hsforms.net, embed.typeform.com or jotform.com, or messages like 'Refused to display in a frame' or 'blocked by CSP'.
Check the Network tab
Reload with the Network tab open and filter by the provider's name. A request in red, or with status 403, 404 or blocked, is your failure.
Test with consent denied and accepted
If you use a cookie banner, test the page both before and after clicking accept. Some setups only load the form after consent.
Try another browser and a phone
Safari, mobile browsers and ad blockers behave differently. If it works in one and not another, the cause is blocking, not your code.
| Symptom | Likely cause |
|---|---|
| Blank gap, no errors | Script placed in a spot that never runs, or the container element is missing |
| Console: blocked by CSP or X-Frame-Options | Your site's security headers or the provider block the frame |
| Form appears only after accepting cookies | Consent tool is holding the embed back |
| Works for you, not for others | Cached copy, ad blocker or browser privacy setting |
| Provider message such as form not found | Form deleted, unpublished or embed ID changed |
How to fix it
Fix the cause you found above. Start by getting a fresh embed code from the provider and comparing it with what is on your page.
Confirm the form is live
Open the form's direct share link from HubSpot, Typeform or Jotform. If it fails there, the problem is the form (unpublished, deleted, closed or account issue), not your site.
Replace the embed code
Copy a fresh snippet from the provider and paste it over the old one. IDs and formats change when forms are duplicated or rebuilt.
Allow the provider in your security headers
If the console mentions Content-Security-Policy, add the provider's domains to script-src and frame-src.
Release the embed from consent blocking
If your consent tool blocks it, categorise the form as necessary where the law allows, or show a clear 'accept cookies to see the form' message with a link to a direct form URL.
Clear caches
Purge your site cache, CDN and any script-minify or delay plugins, then retest in a private window.
Use the right block
Paste the snippet into a Custom HTML block, not a visual or text block that strips script tags. The HubSpot plugin or Typeform block also works.
Exclude the script from optimisation
In your caching or speed plugin, turn off 'delay JavaScript' and minify/combine for the provider's domain (for example js.hsforms.net), then clear the cache.
Add the embed in a Custom Liquid section
In the theme editor add a Custom Liquid block or section and paste the snippet. Rich text fields remove scripts.
Check customer privacy settings
In Settings > Customer privacy, check whether a banner app blocks third-party scripts before consent.
Check the trigger
If you load the embed through a Custom HTML tag, make sure its trigger fires on the right pages and that consent settings on the tag allow it.
Confirm the container exists
Scripts that render into a div need that div on the page before they run. Use a DOM Ready trigger rather than Page View.
Use an Embed element
Add an Embed element from the Add panel and paste the code there. Publish the site, since embeds do not render in some previews.
Check custom code limits
If the snippet is long, move scripts to Page settings > Custom code (before body tag) and keep the container in the Embed.
Use a Custom JS/HTML element
In the funnel or website builder, add a Custom JS/HTML element and paste the snippet. Save and preview the published page.
Use the Embed Code element
Add Embed > Embed a Widget (or Custom Embeds > Embed a site) and paste the code or the form URL. Make sure the element is large enough to show the form.
Use a Code block
Add a Code block, paste the snippet and untick 'Display Source'. Script-based embeds need a plan that allows code injection.
Check CSP and headers
Review Content-Security-Policy headers on the page and allow the provider in script-src and frame-src.
Place the container before the script
Make sure the target element exists in the DOM when the script runs.
script-src 'self' https://js.hsforms.net https://js.hs-scripts.com https://embed.typeform.com;
frame-src 'self' https://forms.hsforms.com https://form.typeform.com https://form.jotform.com;How to confirm it's fixed
- Form appears in a private window with no extensions
- No red errors for the provider in the console
- Form shows on desktop and mobile, in Chrome and Safari
- Form shows both before and after cookie consent, or a clear fallback is shown
- A test submission reaches your inbox and CRM
- Your thank-you page or tracking event fires after the test
How to prevent it happening again
Embeds break when something around them changes: a plugin update, a new cookie banner, a security header, or a form rebuilt in the provider's account. Make form changes part of your release checks.
- Retest the form after every theme, plugin or consent tool change
- Keep a note of which form IDs each page uses
- Don't delete or unpublish forms without checking where they are embedded
- Review security header changes with the form providers in mind
- Run a scheduled check of the real page, not just your own browser
How FunnelGuard handles this
FunnelGuard detects this issue today. A robot visitor opens your page on a schedule and looks for the form's frame (the selector for the iframe or form container). It also watches for failures in the third-party requests the embed depends on. If the frame is missing or those requests fail, the check fails.
A failure is re-checked from a second region before one alert goes out, so a one-off blip does not wake you up. The alert goes to email, Slack, Teams, WhatsApp, webhook or PagerDuty, with a screenshot and a likely cause. You can try it on the Free plan (1 site, 2 journeys, daily checks, no card), or start a 3-day trial on any paid plan.
Questions people ask
Why is my HubSpot form not showing on my website?
Common causes are a script blocked by a caching plugin or consent tool, a missing container element, or a form that was unpublished or rebuilt. Check the browser console for errors mentioning hsforms.net, then replace the embed code with a fresh one from HubSpot.
Why is my Typeform embed blank?
A blank Typeform embed usually means the embed script was blocked, the form is closed or unpublished, or the container is hidden or has no height. Open the form's share link directly to confirm it works, then recheck the embed code and your security headers.
Why does my Jotform embed show a blank page?
The iframe may be blocked by your site's Content-Security-Policy, hidden by a cookie banner, or pointing at a form that was deleted. Test the Jotform URL directly, then add form.jotform.com to frame-src if your site uses a CSP.
How do I check if an embedded form is loading?
Open the page in a private window, press F12 and look at the Console and Network tabs for failed requests to the form provider. Also test on mobile and in Safari. For ongoing checks, a scheduled monitor can load the page and look for the form frame.
Can a cookie banner stop an embedded form from loading?
Yes. Many consent tools block third-party scripts and iframes until a visitor accepts, so the form stays blank for anyone who hasn't consented. Categorise the form correctly where allowed, or show a message and a direct link.
Why does my embedded form work for me but not for visitors?
Your browser may have cached the form, or you may be logged in or have no ad blocker. Visitors may use blockers, strict privacy settings or consent denial. Test in a clean private window and on other browsers and devices.
Do ad blockers block embedded forms?
Some do, especially lists that target tracking domains, and they can catch form providers that share scripts with tracking. Offering a direct link to the form as a fallback keeps those visitors from being lost.
Related issues
- CNV-354Iframe blocked by X-Frame-Options/CSPFix guide
- CNV-358Third-party cookies blocked break embed (Safari ITP)Fix guide
- CNV-359Embed provider account suspendedFix guide
- CNV-360Embed provider quota reached (form closed)Fix guide
- CNV-355Iframe height fixed, submit button cut offFix guide
- CNV-357Embedded form loses UTMs (parent params not passed)Fix guide