Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Cookie banner blocks form until consent: how to fix a missing form

CNV-130High impactDetectedBy FunnelGuardPublished Updated
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.

Where the visitor is lost
  1. Ad clickVisitor lands on the page
  2. Banner shownVisitor rejects or ignores it
  3. Form scriptBlocked until consent
  4. Form visibleNothing to fill in
  5. Lead receivedNever happens

The form script is blocked by the consent tool, so nothing after it can happen.

Form submissions by consent choiceExample numbers
Form submissions by consent choice (example)Accepted cookies: 30 submissions per 1,000 visitors; Rejected cookies: 0 submissions per 1,000 visitors; Ignored banner: 0 submissions per 1,000 visitors012233000Accepted cookiesRejected cookiesIgnored bannersubmissions per 1,000 visitors

Example: illustrative numbers only. Visitors who accept can use the form; the rest cannot.

How to check if your site has it

Test the consent-denied path
  1. 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.

  2. 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.

  3. 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.

  4. Compare with consent granted

    Click Accept and reload. If the form now appears, the consent tool is the cause.

What a blocked form script often looks likehtml
<script type="text/plain" data-cookiecategory="marketing"
  src="https://js.example-forms.com/embed.js"></script>
Consent banner blocking the form

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.

Let the form load without consent
  1. 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.

  2. 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.

  3. Clear caches

    Purge page and CDN caches, then retest in a private window.

Form script loads normally; tracking stays gatedhtml
<!-- 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

Confirmation checks
  • 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
Try it: what the banner blocksInteractive
Form script blocked until consent

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

Habits that keep it fixed
  • 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.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: consent-denied variant fails.

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.