How to Track Form Conversion in Google Analytics
Your website's form is the digital equivalent of a high-five, a handshake, or a signed contract. But if you have no idea who's completing it, where they came from, or how often it happens, you're tracking performance with your eyes closed. This guide will walk you through exactly how to set up form conversion tracking in Google Analytics 4 so you can finally measure what matters.
Why Bother Tracking Form Conversions?
Tracking form submissions isn't just about stroking your ego with vanity metrics, it's about making smarter business decisions. When you properly track form conversions, you can answer critical questions like:
- Which marketing channels are driving the most valuable leads? Are your Facebook Ads paying off, or is your organic search traffic the real MVP?
- Is our new landing page design effective? Compare form submission rates before and after making changes to see what moves the needle.
- Where are users getting stuck? If a page gets tons of traffic but has a low form submission rate, you may have found a point of friction that needs fixing.
Without this data, you’re just guessing. With it, you can double down on what works and fix what doesn’t.
Choose Your Tracking Method
Tracking a form in GA4 comes down to one core concept: when a user successfully submits your form, you need a way to tell Google Analytics, "Hey, this important thing just happened!" We’ll cover the two most common and effective ways to do this.
- Method 1: "Thank You" Page Redirection (The Best & Easiest Method)
- Method 2: Google Tag Manager Form Submission Trigger (For forms without a confirmation page)
Let's walk through each one step-by-step.
Method 1: How to Track Forms with a "Thank You" Page
This is the most reliable and straightforward method. It involves redirecting the user to a dedicated confirmation page (e.g., yourwebsite.com/thank-you) only after they successfully complete the form.
Why is it the best? Because a visit to this specific page is a clear, unambiguous signal that a conversion happened. It’s nearly impossible to false-fire and is incredibly easy to set up.
Step 1: Set Up Your Form to Redirect
First, you need the "Thank You" page itself. Create a new, simple page on your website. Make sure this page is set to noindex in your SEO settings so it doesn't appear in Google search results - it should only be accessible after a form submission.
Next, configure your form tool (whether it’s a WordPress plugin, a HubSpot form, or custom HTML) to redirect to this new page's URL upon a successful submission. Most form builders have a simple setting for this in their confirmation or submission options.
Step 2: Create a Custom Event in GA4
Now, we'll tell GA4 to create a special event whenever someone lands on your new "Thank You" page.
- Log in to your Google Analytics 4 account.
- Click the Admin gear icon in the bottom-left corner.
- In the Property column, click on Events.
- Click the Create event button. Then, on the next screen, click Create again.
This opens the custom event configuration panel. Here’s what to enter:
- Custom event name: This is a name you decide. Keep it simple and clear, using snake_case (all lowercase words connected by underscores). Good examples are
contact_form_submission,quote_request, ornewsletter_signup. For this example, we'll usegenerate_lead. - Matching Conditions: This is where you tell GA4 what has to happen for the event to be recorded.
Your configuration should look like this:
If event_name equals page_view AND If page_location contains /thank-you
Click Create in the top-right corner.
Step 3: Mark Your New Event as a Conversion
You’ve created the event, but for GA4 to treat it as a proper conversion, you need to mark it as one. This final step is essential for it to show up in your main conversion reports.
- Go back to Admin > Conversions (it's under Events).
- Click the New conversion event button.
- In the box that appears, enter the exact name of the custom event you just created (e.g.,
generate_lead). The name must match exactly. - Click Save.
That’s it! It may take up to 24-48 hours to start seeing data in your conversion reports, but from now on, every visit to your confirmation page will be counted as a primary business goal.
Method 2: How to Track Forms Without a "Thank You" Page (Using GTM)
What if your form doesn’t redirect? Many modern forms simply display a success message like "Thanks for your submission!" without changing the URL. In this case, we need to use Google Tag Manager (GTM) to listen for the submission event itself.
This method is more technical, but it's a powerful way to track almost any user interaction on your site.
Step 1: Enable Form-Related Variables in GTM
Before you can track forms, you need to tell GTM to pay attention to them.
- In your Google Tag Manager container, go to Variables in the left-hand menu.
- Under Built-In Variables, click Configure.
- Scroll down to the Forms section and check the boxes for all the form-related variables (Form ID, Form Classes, etc.). This gives you more options for targeting the specific form you want to track.
Step 2: Create a Form Submission Trigger
A trigger tells GTM when to fire a tag. We want it to fire upon a successful form submission.
- Go to Triggers and click New.
- Give your trigger a descriptive name, like "Contact Form Submit Trigger."
- For the Trigger Configuration, choose the Form Submission trigger type.
- Here you have a choice:
- Keep the "Wait for Tags" and "Check Validation" boxes checked. This helps ensure the tag only fires on successful submissions.
- Click Save.
Step 3: Create the GA4 Event Tag
Now, let’s create the tag that sends the information to GA4 when the trigger fires.
- Go to Tags and click New.
- Name your tag something like "GA4 Event - Contact Form Submission."
- For Tag Configuration, select Google Analytics: GA4 Event.
- For Configuration Tag, choose your main GA4 config tag (you should already have this set up if GTM is installed correctly).
- For Event Name, enter a name you prefer, like
contact-form-submit. - Under Triggering, click the box and select the Form Submission Trigger you created in step 2.
- Click Save.
Step 4: Preview, Test, and Publish
Never publish GTM changes without testing!
- Click the Preview button in the top right corner of GTM.
- Enter your website URL and click Connect. Your site will open in a new tab with the GTM debug panel.
- Navigate to your form, fill it out with test info, and submit it.
- Watch the debug panel. If everything is configured correctly, your tag (“GA4 Event - Contact Form Submission”) should move from the "Tags Not Fired" section to the "Tags Fired" section.
- Once confirmed, go back to GTM, click Submit, then Publish.
Finally, remember to complete Step 3 from Method 1 — go into your GA4 admin panel and mark your new event (contact-form-submit) as a conversion.
Viewing Your Conversion Data in GA4
Now for the fun part! Once your tracking is set up and has had a day or two to collect data, you can see your results.
- The main overview is in Reports > Engagement > Conversions. This report will show you a simple count of all your marked events.
- To see which channels drove those conversions, go to Reports > Acquisition > Traffic acquisition. You'll see a column for "Conversions" where you can see how many came from Organic Search, Direct, Paid Social, etc.
You can even use the "Explore" tab in GA4 to build custom reports that break down your form submissions by device, country, landing page, and more to get even deeper insights.
Final Thoughts
You now have the knowledge to reliably track form submissions in GA4 using either the thank you page method or the more advanced Google Tag Manager approach. Setting this up transforms your analytics from a passive traffic counter into a powerful tool for measuring business growth and understanding user behavior.
Measuring an event in Google Analytics is a great first step, yet it only shows one piece of the puzzle. Answering bigger questions like "Which Facebook campaign is driving the most form submissions at the lowest cost?" often requires hours of manually exporting data and stitching it together in a spreadsheet. We built Graphed to completely eliminate that work. By connecting our platform to GA, your ad accounts, and your CRM, we allow you to ask simple, plain-English questions and instantly get real-time dashboards that show the full picture, connecting your ad spend all the way to a final conversion.
Related Articles
How to Enable Data Analysis in Excel
Enable Excel's hidden data analysis tools with our step-by-step guide. Uncover trends, make forecasts, and turn raw numbers into actionable insights today!
What SEO Tools Work with Google Analytics?
Discover which SEO tools integrate seamlessly with Google Analytics to provide a comprehensive view of your site's performance. Optimize your SEO strategy now!
Looker Studio vs Metabase: Which BI Tool Actually Fits Your Team?
Looker Studio and Metabase both help you turn raw data into dashboards, but they take completely different approaches. This guide breaks down where each tool fits, what they are good at, and which one matches your actual workflow.