How to Track Form Submissions in GA4 With Google Tag Manager

If you can't see which ads, emails, or pages bring in form submissions, you're making marketing decisions in the dark. The fix is to track form submissions as conversions in Google Analytics 4 (GA4). Here's how to do it with Google Tag Manager (GTM), in plain English.

What you'll need

  • A GA4 property for your website.

  • Google Tag Manager installed on every page of your site.

  • Access to the page where your form lives.

Step 1: Figure out what happens when someone submits

Forms behave in one of two ways after someone clicks submit:

  • They send people to a thank-you page. This is the easiest to track.

  • They show a "thanks" message on the same page. Many website builders, including Squarespace, work this way. It takes one extra step to track.

Submit a test entry on your own form and watch what happens.

Step 2a: If you have a thank-you page

  1. In GTM, create a trigger: Page View, firing on some page views where Page Path equals /thank-you (use your page's actual path).

  2. Create a tag: Google Analytics: GA4 Event, with the event name generate_lead.

  3. Attach the trigger to the tag.

Step 2b: If the form shows a message on the same page

GTM's built-in Form Submission trigger often misses these forms, because the page doesn't reload. A more reliable approach is a small script that watches for the success message to appear and then tells GTM:

  1. Add a Custom HTML tag in GTM that watches the page for your form's success message and pushes an event like form_submit_success into the data layer.

  2. Create a Custom Event trigger for form_submit_success.

  3. Create a GA4 Event tag named generate_lead that fires on that trigger.

You can also pass along useful, non-personal details, such as the visitor's industry or budget range from a dropdown. Never send names, emails, or phone numbers to Google Analytics. That breaks Google's policies and puts your customers' privacy at risk.

Step 3: Test before you publish

  1. Click Preview in GTM and open your site.

  2. Submit a test entry and confirm your generate_lead tag fired.

  3. In GA4, open Admin → DebugView to see the event arrive.

  4. When everything checks out, Submit and publish your GTM container.

Step 4: Mark it as a key event

Once GA4 has received the event, go to Admin → Events and mark generate_lead as a key event. It will then appear in your conversion reports, and you can import it into Google Ads to optimize your campaigns for leads instead of clicks.

Bonus: find out where people give up

Once submissions are tracked, you can go further: track when someone starts the form, which fields they finish, and where they leave. That shows you whether a particular question is costing you leads.

Want it done for you?

Tracking setup is included in our Get Chosen services and our $495 Marketing Audit & Setup Sprint. Book a free strategy call and we'll check what your site is tracking today.

Next
Next

How Much Should a Small Business Spend on Digital Marketing?