To properly track form submissions from Google Ads (AdWords) in Webflow, you need to make sure your Google conversion tracking tag is not only added correctly but also triggered specifically when a form is submitted. Here's how to fully set it up.
1. Add Google Ads Global Site Tag (gtag.js)
- Go to your Webflow project, and click on Project Settings > Custom Code.
- In the “Head” section, paste your Google Ads global site tag, provided by Google Ads when creating the conversion action.
- This script must be on all pages where form conversions might occur.
- Click Save Changes and publish your site.
Example snippet (just as reference—do not paste this):
Google’s global site tag starts with:
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-XXXXXXX">
Unlike static code in your site’s <head>
, this snippet must trigger only after a successful form submission.
- Go to your Webflow Designer.
- Select the relevant form element.
- Open the Form Settings panel in the right sidebar.
- Scroll down to Form Settings > Form Submission Success Message.
- Click to edit the Success message, then:
- Add an Embed element inside the Success message container.
- Paste your Google Ads conversion event snippet into the Embed element.
- Save and close the Embed.
- Publish your website again.
This ensures the conversion event only fires after a successful form submission.
3. Double Check Your Google Ads Conversion Settings
- Make sure your conversion action in Google Ads is set to Website > Use Google Tag.
- You should have both the Global Site Tag (added in Step 1) and the Event Snippet (added in Step 2).
- Choose the correct conversion category (e.g., Lead) and make sure it's marked as Primary if you want smart bidding to optimize for it.
4. Optional: Test It
- Publish to a staging domain (or custom domain).
- Fill out and submit the form.
- Open the site in Google Tag Assistant or use Google Ads’ Tag Diagnostics to verify the event fires.
Summary
- Paste the global site tag in the Project Settings → Head section.
- Embed the conversion event snippet inside the form’s Success Message container using an Embed element.
- This setup ensures the Google Ads conversion fires only when a form is submitted successfully.