On this page
What this issue is
An A/B test splits visitors between the original (A) and a changed version (B). Variant B is often built in a visual editor or with injected code. That editing can break the form: a field is hidden, a button is covered, a required field loses its name, or a script error stops submission.
The check note here is no variant pinning. Pinning means forcing a test visitor into one specific variant every time. Without it, a monitor or a person sees A on one visit and B on the next, so a broken B can go unnoticed.
Why it costs you leads or sales
Every visitor assigned to B hits the broken form. With a 50/50 split, about half of your traffic can't convert. Ad spend keeps flowing to that traffic.
It also corrupts your decision. B looks like a loser because it is broken, not because the idea was bad. You may drop a winning idea and never know.
Example: variant A converts at 4% while variant B, with a broken form, converts at 0.5%. Numbers are illustrative.
- Ad clickVisitor lands and is assigned to B
- Variant B pageLoads and looks fine
- Form submitButton dead or error shown
- Thank-you pageNever reached
- Lead in CRMNever created
The break is at the form, so everything after it is lost.
How to check if your site has it
Check every variant yourself, one at a time. Do not rely on refreshing until you see B.
Force variant B
Use your test tool's preview or QA link, or its option to force a variant by URL parameter or cookie. Check your tool's help pages for the exact method.
Submit a real test lead
Fill every field with test data and submit. Use an email address you control so you can see the notification arrive.
Watch the browser console
Open DevTools (F12), go to Console and Network, and look for red JavaScript errors or a failed form request when you click submit.
Test on mobile and other browsers
Variant changes often break only on small screens or in Safari. Repeat on a phone.
Confirm the lead arrived
Check the inbox, the CRM and the thank-you page. Then compare with variant A.
A layout change in variant B can leave an element on top of the button, so clicks never reach it.
How to fix it
First, pause variant B or send 100% of traffic to A while you fix it. Then find what the variant changed.
| Cause | What you see | Fix |
|---|---|---|
| Field renamed or removed | Form submits but data is missing, or validation fails | Restore the original name attribute |
| Hidden required field | Submit does nothing | Make the field optional or visible |
| Button replaced by a new element | Click does nothing | Use a real button type submit inside the form |
| Injected JavaScript error | Console error on click | Fix or remove the variant script |
| Overlapping element | Button can't be clicked | Adjust CSS z-index or layout |
| Different form embed | Form posts to the wrong place | Reuse the original form embed |
Check variant scripts in GTM
If the test is injected through a Custom HTML tag, open Preview mode, load variant B and look for tags that alter the form or throw errors.
Remove or fix the tag
Edit the tag, then republish the container.
Compare form plugin output
If B is a separate page or template, confirm it embeds the same form (shortcode or block) as A.
Clear caches
Purge page cache and CDN so the fixed version is served to everyone.
Check the form block
If B is a duplicated page, make sure the form still sits inside a Form Block with a working Submit button and the same form settings.
Publish
Publish the site again after fixing.
Diff the variant
Compare the HTML and scripts of A and B and look at the form element, field names and submit handler.
Restore the handler
Make sure the variant script doesn't remove or clone the form in a way that drops event listeners.
How to confirm it's fixed
- Force variant B and submit a test lead successfully
- Force variant A and submit a test lead successfully
- Thank-you page loads in both variants
- Notification email arrives for both
- Lead appears in the CRM for both
- No console errors on submit
- Works on mobile and desktop
How to prevent it happening again
Without QA
- Variant goes live after a visual check
- Form never submitted in B
- Problem found when results look odd
With a QA routine
- Every variant submitted with a test lead before launch
- Lead arrival confirmed in inbox and CRM
- Quick re-check after each edit to the test
Add form submission to your test launch checklist. Re-test whenever you edit a variant, update the form or change the test tool snippet. Watch the number of submissions per variant in the first hours: a large gap with similar traffic is a warning sign.
How FunnelGuard handles this
FunnelGuard does not check this yet. It can't pin a visit to variant B, so it is a possible future check. A scheduled run may see A or B depending on how your tool buckets visitors.
What FunnelGuard does do nearby: a robot visitor runs your real lead form journey on a schedule, checks each step, and confirms the test lead reaches your inbox and CRM. If the form breaks for the variant it is shown, the failure is re-checked from a second region and you get one alert with a screenshot. That depends on which variant it landed in, so don't treat it as coverage of B.
Questions people ask
Why is my A/B test variant B not submitting the form?
The variant edit probably changed something the form needs: a renamed field, a hidden required field, a replaced button, an overlapping element or a JavaScript error. Force variant B, submit a test lead with DevTools open, and read the console and network errors.
How do I test variant B of an A/B test?
Use your testing tool's preview, QA link or force-variant option (URL parameter or cookie, depending on the tool). Then fill out and submit the form with test data, and check the lead arrives in your inbox and CRM.
Can a broken variant ruin my A/B test results?
Yes. If B can't convert, it looks like a loser and the data is unusable. Fix the form, then reset or restart the experiment so the results reflect the idea you were testing.
What should I do first when I find a broken variant?
Pause variant B or route all traffic to A so no more visitors hit the broken form. Then fix the cause, retest both variants and restart the test with clean data.
What is variant pinning?
Variant pinning means forcing a visitor or test tool into one specific variant every time. It lets you check B reliably instead of hoping to land in it by chance.
Does FunnelGuard detect broken A/B variants?
No. FunnelGuard doesn't check this yet, because it can't pin a visit to one variant. It does run your real form journey on a schedule, but it may only see whichever variant it is assigned, so test B manually.
How can I spot a broken variant from my analytics?
Compare form submissions per variant against visitors per variant. If B gets similar traffic but far fewer or zero submissions, check its form straight away.
Related issues
- CNV-347Flicker of original content before variantFix guide
- CNV-348Test tool script fails and hides page (anti-flicker snippet)Fix guide
- CNV-349Variant drops tracking tagsFix guide
- CNV-350Variant ends but traffic still splitFix guide
- CNV-351Personalised content shows wrong name/cityFix guide
- CNV-352Dynamic text replacement shows raw tokensFix guide