On this page
What this issue is
Consent banners (cookie banners) and consent management platforms (CMPs) often work by blocking scripts until the visitor says yes. This is right for advertising and analytics tags. It goes wrong when the blocker also catches the script that renders your lead form, such as an embedded HubSpot, Typeform, Calendly, Mailchimp or GoHighLevel form.
Why it costs you leads or sales
Every visitor who rejects cookies, closes the banner or never interacts with it cannot submit the form. In regions with strict privacy rules, many visitors decline. Paid traffic lands on the page, you pay for the click, and the one action you wanted is unavailable.
- Ad clickVisitor lands on the page
- Banner shownVisitor rejects or ignores it
- Form scriptBlocked until consent
- Form visibleNothing to fill in
- Lead receivedNever happens
The form script is blocked by the consent tool, so nothing after it can happen.
Example: illustrative numbers only. Visitors who accept can use the form; the rest cannot.
How to check if your site has it
Open a private window
Use a fresh incognito or private window so no earlier consent is stored. Use a VPN or the banner's region setting if the banner only shows in the EU.
Load the form page and do not click Accept
Look at where the form should be. Then click Reject all (or close the banner) and look again.
Check the page source
In DevTools, open the Elements tab and search for the form container or iframe. Blocked scripts often appear as type="text/plain" or have a data-category attribute.
Compare with consent granted
Click Accept and reload. If the form now appears, the consent tool is the cause.
<script type="text/plain" data-cookiecategory="marketing"
src="https://js.example-forms.com/embed.js"></script>The banner holds back scripts, including the one that draws the form.
How to fix it
The principle: only ad, analytics and tracking tags need to wait for consent. A form that the visitor asked to use is generally treated as functional, but check the rules that apply to you and your legal adviser if unsure. Also check what the form vendor sets: if it drops marketing cookies, configure that separately instead of hiding the form.
Find the blocking rule
In your consent plugin (Complianz, CookieYes, Cookiebot, etc.) look for the script blocker or integrations list and find your form plugin or embed domain.
Set it to necessary or functional
Change the category so it is not blocked before consent, or add the form script URL to the plugin's allow or exclude list.
Clear caches
Purge page and CDN caches, then retest in a private window.
Open Customer Privacy settings
In Settings > Customer privacy, check the banner settings and any consent app you installed.
Review the app's blocking
If a third-party consent app blocks form or review apps, mark that app as essential or functional in its settings.
Retest the storefront
Reload with consent denied and confirm the form appears.
Check the form tag's consent settings
If the form is loaded by a Custom HTML tag, open Advanced Settings > Consent Settings and remove any required consent types such as ad_storage.
Keep tracking tags gated
Leave required consent on your Google Ads, Meta and analytics tags only.
Preview and publish
Use Preview mode with consent denied, confirm the form tag fires, then publish.
Check the embed
If your consent tool wraps or delays Embed elements, mark the form embed as necessary in the tool's configuration.
Prefer native forms
Webflow's native form block does not need a third-party script, so it is not affected by script blocking.
Publish and retest
Test the live site, not only the preview.
Check the page's custom code
Look at the tracking code and any consent script added in Settings or in the page's custom code area.
Exclude the form embed
Make sure the consent script does not hold the form or its embed script until consent.
Retest the funnel page
Open the published URL in a private window with consent denied.
Open the cookie banner settings
Go to Settings > Cookie Consent Banner and review which apps are set to each category.
Set the form app to essential
If a form app is listed as marketing, move it to essential where the app allows it.
Publish and retest
Test the live site in a private window.
Review Cookie Banner settings
Open Settings > Cookie Banner and check how it handles scripts.
Check Code Injection
Under Settings > Advanced > Code Injection, make sure no wrapper delays the form's embed script.
Retest
Use a private window with Reject selected.
Remove the blocking attributes
Change the form script from type="text/plain" back to normal and remove the consent category attribute.
Gate only tracking
Keep the blocking pattern on ad and analytics scripts.
Redeploy and retest
Clear caches and test with consent denied.
<!-- Form: not gated -->
<script src="https://js.example-forms.com/embed.js"></script>
<!-- Tracking: gated by the consent tool -->
<script type="text/plain" data-cookiecategory="marketing"
src="https://example.com/pixel.js"></script>How to confirm it's fixed
- Form appears in a fresh private window before any banner choice
- Form appears after clicking Reject all
- Form appears after clicking Accept
- A test submission arrives in your inbox and CRM
- Ad and analytics tags still do not fire when consent is denied
- Checked on mobile as well as desktop
Consent: blocked / denied
- GA4no hit
- Google Adsno hit
- Meta Pixelno hit
With consent denied, the form script is blocked and the form is missing. Tracking tags are also blocked, correctly.
Only tracking should wait for consent; the form should not.
How to prevent it happening again
- Test every form page with consent denied after changing the consent tool or its categories
- Re-test after adding a new form, embed or app
- Keep a list of which scripts are functional and which are tracking
- Watch for consent tool updates that reset categories
- Run a scheduled check of the consent-denied path instead of relying on manual tests
How FunnelGuard handles this
FunnelGuard detects this issue today. A robot visitor runs your real form journey on a schedule, including a consent-denied variant. When the form is missing in that variant, the check fails. A failure is re-checked from a second region before one alert goes out, with a screenshot and a likely cause.
Test traffic is marked (utm_source=funnelguard, fg_test=1) and FunnelGuard never bypasses CAPTCHAs or bot protection. The Free plan covers 1 site and 2 journeys with daily checks and no card. Paid plans start at $39/month with a 3-day free trial.
Questions people ask
Why is my form not showing up on my website?
One common cause is a cookie consent tool blocking the form's script until the visitor accepts cookies. Open the page in a private window, click Reject all, and see whether the form disappears. If it does, the form script is being gated.
Why does my form only appear after I accept cookies?
Your consent tool treats the form script as marketing or non-essential and holds it back until consent is given. Change its category to necessary or functional, or add it to the tool's allow list.
Is it legal to load a contact form before cookie consent?
A form script that is needed to deliver something the visitor asked for is usually treated as functional, but rules differ by country and by what cookies the vendor sets. Check with a legal adviser, and keep ad and analytics tags behind consent.
How do I stop a cookie banner blocking my embedded form?
Find the form's script or domain in your consent tool's blocking list and mark it as necessary, or remove the blocking attributes such as type="text/plain". Then clear caches and retest with consent denied.
How do I test my form when cookies are rejected?
Open a fresh private window, load the page, click Reject all and check that the form appears and submits. Confirm the test lead reaches your inbox and CRM.
Will fixing this break my cookie compliance?
Not if you only change the form script's category. Ad and analytics tags should stay blocked until consent. Do not hide or bypass the banner itself.
Can FunnelGuard detect a form hidden by a consent banner?
Yes. FunnelGuard runs a consent-denied variant of your form journey, and the check fails if the form is missing. It re-checks from a second region before sending one alert with a screenshot.
Related issues
- CNV-129Rejecting cookies breaks the form or checkoutFix guide
- CNV-131Consent banner script fails, page unclickableFix guide
- CNV-127Banner missing for EU visitorsFix guide
- CNV-126Reject button missing (EU non-compliant)Fix guide
- CNV-125Accept button doesn't close the bannerFix guide
- CNV-124Cookie banner covers the main CTAFix guide