On this page
What this issue is
A consent management platform (CMP) is the tool that shows your cookie banner and blocks scripts until the visitor agrees. Many CMPs block by script type or by a list of known domains. If the list is too broad, it also blocks scripts that are needed to make the page work: a form library, a reCAPTCHA or Turnstile widget, a payment script, a booking widget or a chat button.
Why it costs you leads or sales
Visitors who reject the banner, ignore it or have a privacy extension cannot submit the form or pay. They do not see an error, so they just leave. You also lose the data: no lead, no conversion event, and nothing in your reports that explains the drop.
- Visit pageBanner appears
- Ignore or reject bannerNo consent given
- Click submitForm script blocked by CMP
- Lead or orderNever created
- Conversion trackingNothing to report
The CMP holds back the form script, so the submit click goes nowhere.
Example: illustrative numbers only. Visitors who accept can submit, those who reject or ignore the banner cannot.
How to check if your site has it
Open a private window
Use a fresh incognito or private window so no earlier consent choice is stored.
Do not touch the banner
Fill in the form or add a product to the cart and try to submit or pay. Then repeat after clicking Reject all.
Watch the console
Open DevTools (F12), go to Console and Network. Look for scripts shown as blocked, scripts with type="text/plain", or errors such as 'grecaptcha is not defined' or 'Stripe is not defined'.
Inspect the script tags
In Elements, search for your form or payment script. If its type was changed to text/plain or it has a data-cookieconsent or data-category attribute, the CMP is holding it back.
Compare with Accept all
If the form works only after accepting, the CMP is the cause.
How to fix it
The principle is the same everywhere: scripts the page needs to work belong in the CMP's strictly necessary (or functional) category, and only tracking and advertising scripts stay behind consent. Menu names differ by CMP, so check its documentation for the exact wording.
Find the blocked script
Check which plugin loads it (form plugin, CAPTCHA, payment gateway) in the page source.
Exclude it in the CMP plugin
In your consent plugin's settings, add the script URL or plugin handle to the allow list or mark it as necessary. Turn off any 'block all scripts automatically' option that catches it.
Clear caches
Purge page cache and any minify or delay-JS setting that may rewrite the script.
Review the CMP app settings
In your consent app, find the script blocking or category list and set checkout, payment and form apps to necessary.
Use Shopify's own banner where possible
Shopify's customer privacy settings (Settings > Customer privacy) handle consent for Shopify's own scripts. Avoid a second banner that blocks the same code.
Check what the CMP gates
If the form is submitted by a script injected through a tag, make sure that tag has no consent requirement. Only tracking tags should require consent.
Review additional consent settings
In the tag's Advanced Settings > Consent Settings, remove consent checks from functional tags.
Check custom code
In Project settings > Custom code, look at how the CMP script is added and which scripts it is told to block.
Allow the form or widget script
Add the third-party widget (booking, CAPTCHA, payment) to the CMP's necessary list.
Check header and footer code
In funnel or website settings, find where the CMP is injected and whether it blocks the embedded form or calendar script.
Mark the embed as necessary
Exclude the form or calendar embed from blocking in the CMP's script list.
Use Wix's cookie banner settings
In Settings > Cookie Banner, check which categories apps are placed in and keep form and payment apps under essential.
Review any third-party CMP
If you added another CMP through custom code, make sure it does not block Wix's own scripts.
Check the Cookie Banner settings
Open Settings > Cookies & Visitor Data and review what is gated.
Check Code Injection
If a third-party CMP is added in Code Injection, exclude form and checkout scripts from its blocking list.
Remove the blocking attribute
Change type="text/plain" back to a normal script and delete the CMP's category data attribute from the functional script.
Keep tracking gated
Leave the attribute only on analytics and advertising scripts.
<!-- Blocked by the CMP: never runs without consent -->
<script type="text/plain" data-category="marketing" src="https://example.com/form-widget.js"></script>
<!-- Released: functional script runs normally -->
<script src="https://example.com/form-widget.js"></script>
<!-- Tracking stays gated -->
<script type="text/plain" data-category="marketing" src="https://example.com/pixel.js"></script>The visitor clicks, but the blocked script never answers.
How to confirm it's fixed
- In a private window, submit the form without touching the banner: the thank-you page or message appears
- Repeat after clicking Reject all: the form still submits
- Console shows no 'not defined' or blocked-script errors
- The lead arrives in the inbox and CRM
- Checkout reaches the payment step in test mode for rejecting visitors
- Ad and analytics tags still do not fire until consent is given
How to prevent it happening again
- Test forms and checkout with the banner rejected after every CMP, theme or plugin change
- Keep a short list of functional scripts (form, CAPTCHA, payment, booking, chat) and check it against the CMP's categories
- Avoid 'block everything automatically' settings unless you review the result
- Re-test after adding a new form plugin or payment method
- Run the journey on a schedule rather than waiting for a complaint
How FunnelGuard handles this
FunnelGuard detects this today. A robot visitor runs your real form or checkout journey on a schedule from the EU or the US. When the click on the button does not lead to the next step, the check reports an interaction failure. A failure is re-checked from a second region before one alert goes out by email, Slack, Teams, WhatsApp, webhook or PagerDuty, with a screenshot and a likely cause.
Questions people ask
Why is my form not submitting until I accept cookies?
Your consent management platform is probably blocking the script that handles the form, such as the form library or a CAPTCHA. Mark that script as strictly necessary in the CMP so it loads without consent, and keep only tracking scripts gated.
Can a cookie banner break my checkout?
Yes. If the CMP blocks a payment, cart or checkout script, the button stays inactive for visitors who have not accepted. Test checkout with the banner rejected to see whether it still reaches the payment step.
How do I know if my CMP is blocking a script?
Open DevTools in a private window without accepting cookies. Look for scripts whose type was changed to text/plain, blocked requests in the Network tab, or console errors such as 'X is not defined'. If it works after Accept all, the CMP is the cause.
Is it allowed to load a form script without consent?
Scripts strictly necessary to deliver what the visitor requested, like submitting a form or paying, are normally treated as exempt from consent. Check your own legal advice, and keep analytics and advertising scripts behind consent.
Why does my contact form work for me but not for visitors?
You may have accepted cookies earlier, so the CMP lets the script run for you. New visitors who ignore or reject the banner get the blocked version. Test in a fresh private window.
Does fixing this mean I have to stop respecting consent?
No. You only move functional scripts out of the blocked group. Tracking and advertising tags stay behind consent and keep following the visitor's choice.
How can I be alerted if the banner blocks my form again?
Run the form journey on a schedule with a monitor that clicks through it. FunnelGuard does this and alerts you with a screenshot when the interaction fails, after re-checking from a second region.
Related issues
- TRK-296CMP script fails to load, blocking all tagsFix guide
- TRK-294Banner covers the CTA or formFix guide
- TRK-298CMP categorises analytics tag wrongly (necessary vs marketing)Fix guide
- TRK-283Tags still fire after visitor rejectsFix guide
- TRK-304Consent choice not remembered across pagesFix guide
- TRK-305Consent not shared across subdomains / checkout domainFix guide