Webflow + Google Tag Manager: Track Leads with GA4

Configure Google Tag Manager on Webflow, route confirmed leads to GA4 and check consent states before releasing the container.

Google Tag Manager brand mark on a dark glass cover
Integration

Decide what counts as a lead

Use Google Tag Manager to manage the Google tag and GA4 events on your published Webflow site. Define the conversion first: a confirmed form submission, a confirmed appointment, or another outcome your team can act on. A click on Submit is an interaction. It can also happen when validation fails or the request never reaches the server.

Install one container through a supported integration or the official snippets. In Shopify, choose the platform’s customer-events approach for checkout events and account for sandbox limitations. Assign consent initialization to the CMP and decide who can approve a container version.

Install one owner for each tag

Webflow documents two common installation paths: Google Site Tools or manual placement of the GTM container code. Pick one path, publish to a staging domain and check your production domain separately before rollout. Make a short inventory of any Google tag already installed through site settings, custom code, an app or another container. If two implementations send the same event to the same GA4 property, nominate one owner and remove the duplicate after verification.

Webflow’s Google Tag Manager installation guide

Let the consent management platform own the visitor’s choice. Establish your consent defaults before measurement tags run and apply updates on acceptance, rejection or withdrawal. Follow the consent mode implementation agreed for your site. Basic and advanced mode behave differently under denied consent, so a request in a network log alone cannot tell you whether the implementation is right.

Google’s consent mode implementation guide

Connect confirmed form success to GA4

For a Webflow enquiry form, use the confirmed success state or a success callback from your form provider. In a custom form, wait for the server to confirm acceptance. As an example contract, push one internal event named website_lead_success after that confirmation. Configure one GTM custom-event trigger to send the recommended GA4 generate_lead event. An optional form_id can use a stable label such as contact_enquiry. Leave personal information, free-text input and any identifiers that can reveal a visitor’s identity out of analytics.

Google’s recommended GA4 events

In Tag Assistant, run a valid submission, an invalid one and a network or server failure. Expect one lead event for confirmed success and zero for both failures. Repeat after refresh, on mobile, and after accepting, rejecting and withdrawing consent. Verify the tag is sent to the intended GA4 property and inspect the event in DebugView where the consent state permits it. Record the trigger, the consent state and the observed test result before publishing the container.

Google Tag Manager preview and debug

What we can verify from our own Webflow site

Igorev’s former Webflow homepage and contact page contain a GTM container and Finsweet Consent Pro. The public markup verifies that both were installed on the same site. The event contract and acceptance checks above are a recommended implementation pattern. They do not document the old site’s GA4 property or historical lead events.

Igorev’s former Webflow contact page

Read our Finsweet Consent Pro review

Document the container as a releaseable asset

Use descriptive names for tags, triggers and variables, and distinguish the internal dataLayer event from the event sent to the analytics destination. Keep a register of marketing tags and their consent dependencies. Assign the client ownership of the account and require a tested container version before publishing. A staging URL can use separate measurement settings to avoid contaminating production reports.

Apply the same measurement contract to other platforms

On an Astro or WordPress site, attach the internal success event to the real form acceptance path and configure a GTM custom-event trigger. On Shopify, use supported customer-event or partner integrations for checkout measurement instead of assuming an ordinary theme embed has access to every checkout event. In each case check that a duplicate container, refresh or callback cannot generate a second business conversion.

Frequently asked questions

Do I need GTM for GA4 on Webflow?

A direct Google tag may be enough for basic measurement. GTM is useful when the site needs multiple tools, custom events, a shared consent workflow or a reviewable container release process.

Is a consultation booking the same as a form lead?

Define them separately when they represent different outcomes. For an embedded scheduler, listen for an actual booking confirmation and decide whether your reporting will treat it as a lead or as a separate funnel step.

See how to embed Cal.com and track confirmed bookings

Can GTM replace server-side form validation?

No. It manages measurement tags and triggers, not the security or delivery of the enquiry. The form handler should confirm success before a lead event is emitted.

Google Analytics 4

Finsweet Consent Pro

Compare Astro and Webflow

Get help implementing this integration