Cookie preferences

Choose which optional cookies EndFrame may use on this site. Analytics and advertising tools load only if you allow them, and you can change your mind any time from “Cookie settings” in the footer. Whatever you choose, this tab keeps the campaign labels from the link that brought you, and they are saved with your account if you sign up. Read the Cookie Policy.

Needed for the site to work, such as remembering this choice. Always on.

Lets us load analytics tools through Google Tag Manager, including Google Analytics and Microsoft Clarity session recordings, to understand how the site is used.

Allows advertising tags to measure our ad campaigns. None run on this site today. It also keeps ad click IDs from the page address for this tab, and saves them with your account if you sign up.

Skip to main content

Webflow Form Tracking: Send Submissions to GA4, Google Ads and Meta Without Double Counting

A practical guide for marketers running ads to Webflow sites: why the built-in success message breaks URL goals, three tracking methods ranked by effort, and how to avoid counting each lead twice in GA4, Google Ads and Meta.

The EndFrame Team7 min read

Webflow form tracking usually goes wrong because a Webflow form does not load a new page when it succeeds. It sends the data in the background and swaps the form for a success message on the same page. The address bar does not change, so a goal that waits for a thank-you URL never fires, and a click trigger on the submit button counts every attempt, including the ones that failed. The fix is to track the success itself: redirect to a real thank-you page, or listen for the success message and push one event that GA4, Google Ads and the Meta Pixel all use.

Why the default success message breaks URL goals

In Webflow, a form block holds three parts: the form itself, a success message and an error message. Webflow's Designer API documentation lists three form states, normal, success and error, and a redirect setting described as the URL to redirect to after form submission. Leave the redirect empty, which is how most sites are built, and the visitor stays on the same URL. In the published page code, the form block carries the class w-form and the success message carries w-form-done. Inspect your live page to confirm these class names before relying on them.

So the rule from our guide to form submission tracking applies directly: fire the conversion when the submission is confirmed, not on a click or a URL.

Where Google tags go in Webflow

Webflow has a built-in field for Google Analytics. Analytics Mania's installation guide describes the path: open the three-dot menu next to the site name, choose Settings, then Apps & integrations, and paste the GA4 Measurement ID (it starts with G-). If that tab is missing, look for Integrations. Google Tag Manager goes in a different place: Settings, then Custom code, where you paste the container snippet. The same guide notes that this needs a paid plan and does not work on the free webflow.io address, and nothing goes live until you publish to the production domain.

Pick one route for GA4. If Tag Manager will run your form tracking, configure GA4 inside Tag Manager and leave Webflow's Google Analytics field empty. Loading the same Measurement ID through both can send page views and automatic events twice. If you want to paste an ID other than a G- Measurement ID into Webflow's field, check Webflow's help centre for the formats it currently accepts.

Three methods, ranked by effort

MethodEffortWhat it countsMain catch
Redirect to a thank-you pageLow: one form settingEvery load of the thank-you URLRefreshes and direct visits count too
Success listener in Tag ManagerMedium: one Custom HTML tagEach success message shownNeeds Tag Manager on the site
Form submission webhook to a serverHigh: needs a developerEach submission Webflow storesNo browser cookies unless you capture them

Method 1: redirect the form to a thank-you page

Create a page such as /thank-you, select the form in the Designer, open its settings and enter that path as the redirect URL. Then build a page view goal on that URL: a GA4 event created from page_view with page_location containing /thank-you, a Google Ads conversion based on the URL, or a Meta custom conversion with a URL rule. Set the thank-you page to noindex so search engines do not send visitors straight to it.

This suits one or two forms when you mainly need a trend line. It falls short when several forms share one thank-you page, because every lead looks identical, or when visitors refresh or bookmark it, because each load counts. In GA4 you can soften the second problem by changing the key event's counting method to Once per session (which Google labels legacy), so repeat loads in one session count once.

Method 2: a success listener in Google Tag Manager

Analytics Mania's Webflow tutorial uses a Custom HTML tag that waits for Webflow's script with Webflow.push and pushes a form_submission event to the data layer on submit. The version below pushes only when the success message appears, so failed submissions are not counted. If the data layer is new to you, read our explainer on what a data layer is first.

  1. 1In Tag Manager, open Tags, click New, choose Custom HTML and paste this code between an opening and closing script tag: window.Webflow = window.Webflow || []; window.Webflow.push(function () { document.querySelectorAll('.w-form').forEach(function (block) { var form = block.querySelector('form'), done = block.querySelector('.w-form-done'), email = '', sent = false; if (!form || !done) return; form.addEventListener('submit', function () { var field = form.querySelector('input[type=email]'); email = field ? field.value.trim().toLowerCase() : ''; }); new MutationObserver(function () { if (!sent && getComputedStyle(done).display !== 'none') { sent = true; window.dataLayer = window.dataLayer || []; window.dataLayer.push({ event: 'webflow_form_success', form_id: form.id, form_name: form.getAttribute('data-name'), lead_email: email, event_id: Date.now() + '-' + Math.random().toString(36).slice(2) }); } }).observe(block, { attributes: true, subtree: true, attributeFilter: ['style', 'class'] }); }); });
  2. 2Fire the tag on All Pages, or on Some Page Views limited to pages with forms.
  3. 3Under Variables, create four Data Layer Variables named form_id, form_name, event_id and lead_email.
  4. 4Under Triggers, click New, choose Custom Event and enter webflow_form_success as the event name.
  5. 5Create a GA4 Event tag with the event name generate_lead and the parameters form_id and form_name, fired by that trigger. Leave lead_email out of the GA4 tag: it is only for Google Ads enhanced conversions.
  6. 6Click Preview, submit a test form, then Submit and publish the container.

Stop GA4 counting each lead twice

GA4 enhanced measurement has an option called Form interactions that sends form_start and form_submit automatically. On a Webflow site it can record a form_submit for the same lead as generate_lead. Make only one of them a key event. To remove the automatic one, go to Admin, Data collection and modification, Data streams, select the web stream, click the settings icon under Enhanced measurement and switch off Form interactions. Then mark generate_lead as a key event: under Admin, Data display, Events, click the star next to it, or use Create event to set it up before it first arrives. Our guide to GA4 enhanced measurement events covers the other automatic events worth checking.

Google Ads conversion from the same trigger

In Google Ads, open Goals, Conversions, Summary, select the lead conversion action and, under Tag setup, choose Use Google Tag Manager to see the Conversion ID and Conversion Label. Add a Google Ads Conversion Tracking tag with those values, put the event_id variable in Transaction ID so Google Ads rejects a repeat with the same ID for that action, and fire it from the webflow_form_success trigger. For enhanced conversions, open Goals, Conversions, Settings, expand Enhanced conversions for web and turn it on with Google Tag Manager as the method, and enable Allow user-provided data capabilities in the Google tag settings. Then create a User-Provided Data variable set to Manual configuration with its email field mapped to the lead_email variable. Google's guide attaches it to the Google tag: open that tag, expand Event Parameters and add user_data with the variable as its value. In Preview, check that the email reaches the conversion tag, and follow Google's Tag Manager guide for enhanced conversions if your screens differ. If you also import the GA4 key event into Google Ads, make only one of the two a primary conversion.

Meta Lead event with one event ID

Add a Custom HTML tag on the same trigger containing fbq('track', 'Lead', {form_name: {{form_name}}}, {eventID: {{event_id}}}); with the double curly braces referring to your Tag Manager variables. The Pixel base code must have loaded first, so use tag sequencing or load the Pixel on all pages earlier. If you also send leads through the Conversions API, the server event needs event_name Lead and the same event_id; Meta's documentation says it then keeps one copy, provided both arrive within 48 hours. Our guide to Meta event deduplication shows what a correct pair looks like in Events Manager.

Method 3: Webflow's form submission webhook

Webflow can post each submission to a URL you control through its form submission webhook. The payload includes the form name, the submitted field data and the submission time, and a developer can forward that to the GA4 Measurement Protocol or the Conversions API. The catch is that the webhook knows nothing about the visitor's browser: no GA4 client ID, no Meta browser ID, no click ID and no UTMs. Without them, GA4 cannot join the lead to a session and Meta can match only on hashed contact details. Add hidden fields that capture these values on landing, as described in capturing UTM parameters in hidden form fields. If you run this alongside Method 2, pass the same event ID through a hidden field as well, or Meta will see two leads.

Test it, then keep spam out

  • In Tag Manager Preview, submit with a required field empty. The browser blocks it, and no webflow_form_success event should appear.
  • Submit valid data. Exactly one webflow_form_success event appears, and the GA4, Google Ads and Meta tags each fire once with the same event_id.
  • In GA4, open Admin, Data display, DebugView and check that generate_lead arrives with form_id and form_name, and that no form_submit arrives beside it.
  • In Meta Events Manager, Test events should show one Lead, with the same event ID on any server copy.
  • Compare a week of conversions with the submissions stored in Webflow. Consent choices and blockers explain a small gap; a large one means a tag is misfiring.

Spam that Webflow accepts still shows the success message, so it still becomes a conversion and teaches bidding the wrong lesson. Use the form's spam protection, keep test submissions on a recognisable email domain you can filter, and see our guide to Google Ads spam leads if fake fills rise. Before adding anything, the free pixel inspector lists the tags in the published page's initial HTML, showing whether Webflow's field, Tag Manager or a hard-coded Pixel already loads GA4 or Meta. It cannot see tags Tag Manager injects later. If you send leads server-side with EndFrame, call endframe.track from the same listener with the event name Lead and the event_id the Pixel received, so Meta keeps one copy, and send GA4 each lead from one source only.

Frequently asked questions

Does Webflow's built-in Google Analytics field track form submissions?

Not as a dedicated lead event. The field loads the Google tag on every page, and GA4 enhanced measurement may then send a generic form_submit event when the browser submits a form. That event fires on the attempt, not on Webflow's confirmation, and carries no reliable signal that the lead was accepted, so it is a weak basis for a key event or a Google Ads conversion.

Can I use the GTM Form Submission trigger on a Webflow form?

It can fire, because Webflow forms do raise a browser submit event, but it fires before Webflow's server has replied. A rejected or failed submission still counts. Listening for the success message gives you a count that matches the submissions Webflow actually stored, which is what you want an ad platform to optimise towards.

Will the listener work if I add a second form to the page later?

Yes, as long as the new form sits inside a standard Webflow form block. The listener loops over every form block on the page when it loads, and each push carries that form's ID and name, so you can tell a footer newsletter sign-up from a quote request and send only the forms you choose to the ad platforms.

Try EndFrame

Add a server-side path for your conversions.

EndFrame collects events first-party and forwards conversions server-side to Meta, GA4, TikTok, and webhooks with event-ID deduplication — then credits each conversion to its campaign, with the visit-to-conversion path you can audit.

No credit card required

Keep reading