On this page
What this issue is
A conversion tag is a snippet that tells GA4, Google Ads, Meta or another platform that a visitor became a lead or customer. Conversion fires on form error page means that snippet runs even though the form did not go through. The visitor sees a validation message, a server error or a failed CAPTCHA, but your ad platforms still record a lead.
- The trigger is a button click, not a successful submission.
- The trigger is a generic Form Submission trigger in Google Tag Manager, which fires even when validation fails.
- The form posts to a URL and the error page and success page both match a rule like 'URL contains /contact'.
- The form reloads the same page with an error message, and the tag runs on every page load of that URL.
- A custom event is pushed to the data layer before the server replies.
- The error page is a styled page that still includes the thank-you page template or tag.
Why it costs you leads or sales
Fake conversions look like real ones. Smart bidding in Google Ads and Meta learns from them. It then looks for more people who behave like visitors who hit an error, and your budget goes to the wrong audience. Your cost per lead looks better than it is, so you may scale a campaign that is not producing real enquiries.
- Visitor fills formDetails entered
- Clicks submitTag fires on click or submit event
- Form shows errorValidation or server failure
- Ad platform logs leadConversion counted with no real lead
The tag fires at submit, before the form result is known.
Example: 100 form attempts in a week, 20 of them hit an error. Numbers are illustrative.
How to check if your site has it
Open Google Tag Manager previewGoogle Tag Manager
In GTM click Preview and enter your form page URL. Or use the Tag Assistant companion or your browser's Network tab filtered by 'collect', 'googleadservices' or 'facebook'.
Submit the form with bad data
Leave a required field empty, or enter an invalid email. Watch whether the conversion tag appears under 'Tags Fired'.
Trigger a server-side failure if you can
Use a staging copy or ask a developer to simulate a failed send. Check again whether the tag fires.
Compare platform counts to your CRM
Compare form conversions in GA4 and Google Ads with entries in your CRM or inbox for the same dates. A persistent gap where the platform count is higher is a warning sign.
Check the URL rule
Open the trigger and see whether it matches a URL that error pages also use, for example a page-load rule on the form URL.
How to fix it
Stop using click or generic submit triggers
Pause the tag's Click or Form Submission trigger.
Use a success signal
Create a Custom Event trigger that listens for a success event pushed by the site, for example form_success. Or use a Page View trigger on a unique thank-you URL.
Add a condition if needed
If the error and success share a URL, add a trigger condition on a data layer variable such as formStatus equals success.
Preview and publish
Test valid and invalid submissions in Preview mode, then publish.
Find your form plugin's success option
Contact Form 7 fires the DOM event wpcf7mailsent only when mail is sent. Gravity Forms and WPForms can redirect to a confirmation page or use a confirmation message.
Redirect to a thank-you page
In the form's settings choose a confirmation type of Redirect to a unique thank-you page, then fire the tag on that page only.
Remove plugin-level pixels that fire on submit
Check any analytics or pixel plugin for a 'track form submissions' option that fires on click and turn it off.
Use the redirect option
In the form settings set Redirect URL to a thank-you page. Webflow shows the success state only after submission is accepted.
Fire the tag on the thank-you page only
Put the conversion code in that page's custom code or fire it via GTM on that URL. Do not use the submit button click.
Hide the thank-you page from search
Add noindex in page settings so people do not land there directly and create fake conversions.
Set a redirect after submit
In the form builder under Settings, set On Submit to Redirect URL pointing to a thank-you page.
Track on that page
Add your conversion pixel or GTM trigger on the thank-you page only.
Push the event after a successful response
Fire the event inside the success branch of your fetch or AJAX call, not on the click handler. See the snippet below.
Check the response status
Treat only 2xx responses as success. Do not push the event on error or catch.
document.querySelector('#lead-form').addEventListener('submit', async function (e) {
e.preventDefault();
const form = e.target;
try {
const res = await fetch(form.action, { method: 'POST', body: new FormData(form) });
if (res.ok) {
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({ event: 'form_success', formId: 'lead-form' });
form.reset();
} else {
// show an error message, do not push a conversion event
}
} catch (err) {
// network error, no conversion event
}
});Before
- Tag fires on submit button click
- Error pages count as leads
- Platform leads exceed CRM leads
After
- Tag fires on form_success or unique thank-you URL
- Only accepted submissions count
- Platform leads match CRM leads closely
How to confirm it's fixed
- Submit the form with an empty required field: no conversion tag fires.
- Submit with an invalid email: no conversion tag fires.
- Submit a valid test lead: the tag fires once, and the lead reaches your inbox or CRM.
- Reload the thank-you page: check that the tag does not fire a second time if that matters for your setup.
- After a few days, compare platform conversions with CRM entries; the gap should shrink.
How to prevent it happening again
- Tie every conversion to a success signal, never to a click.
- Re-test valid and invalid submissions after every form, theme, plugin or GTM change.
- Give the success state a unique URL or event name.
- Reconcile ad platform leads with CRM leads each month.
- Document which trigger each conversion uses.
How FunnelGuard handles this
FunnelGuard does not check for this yet. It is a possible future check, so do not rely on it to spot conversions firing on error pages today.
What FunnelGuard does cover nearby: a robot visitor runs your real form journey on a schedule, checks that the steps work, that tracking hits reach platforms such as GA4, Google Ads and Meta on a successful run, and that the test lead reaches your inbox and CRM. If the form breaks or the lead never arrives, you get one alert with a screenshot and a likely cause, after a second-region re-check. That helps with failing forms, but it does not tell you whether a conversion also fires on a failed submission.
Questions people ask
Why is my conversion firing when the form has an error?
The tag is probably tied to a button click, a generic form submit trigger or a URL that error pages share. These fire before the server confirms success. Switch to a success event or a unique thank-you page.
How do I stop a conversion tag firing on a failed form submission?
Change the trigger so it only runs after a confirmed success. Use a data layer event pushed after a 2xx response, the form plugin's success event, or a page view trigger on a unique thank-you URL.
Why do my Google Ads leads not match my CRM?
A common cause is conversions firing on errors, duplicate tags or spam. Test your form with invalid data in GTM Preview. If the tag fires on failures, the platform count will be higher than the CRM.
Does the GTM Form Submission trigger fire on validation errors?
It can. The built-in trigger may fire on submit even when validation fails, depending on the form. Enable the option to check validation, or use a custom success event instead.
How can I test if my thank-you page tracking is correct?
Use GTM Preview or GA4 DebugView. Submit valid and invalid forms and confirm the conversion shows only on the valid one. Also confirm the lead arrives in your inbox or CRM.
Can fake conversions hurt my Google Ads or Meta performance?
Yes. Smart bidding learns from the conversion data you send, so false conversions can steer spend toward people who do not become leads. Fixing the trigger gives the algorithm cleaner signals.
Does FunnelGuard detect conversions firing on form error pages?
Not yet. It is a possible future check. FunnelGuard does run your real form journey, check tracking hits and confirm test leads arrive, but you need to check error-page firing manually for now.
Related issues
- TRK-337Same conversion counted by multiple tags (GA4 + Ads import + Ads tag)Fix guide
- TRK-339Conversion fires on each step of multi-step formFix guide
- TRK-344Test orders/leads counted as real conversionsFix guide
- TRK-346Spam form submissions firing lead conversionsFix guide
- TRK-338Duplicate purchase across browser and server without dedupFix guide
- TRK-341Value multiplied (cents vs units)Fix guide