How to Track Form Submit in Google Analytics
Your website's forms are the handshake that turns a visitor into a lead. Whether it's a "contact us" form, a newsletter signup, or a demo request, these submissions are some of the most valuable interactions you can track. This guide will walk you through three different methods for tracking form submissions in Google Analytics 4, from the simplest check to the most flexible custom setup.
Why Bother Tracking Form Submissions?
Tracking form data isn't just about counting submissions. It's about understanding what works. When you track forms effectively, you can answer critical business questions:
- Which marketing channels (Organic Search, Social Media, Paid Ads) are driving the most qualified leads?
- Which specific pages on your site are best at convincing users to get in touch?
- What is the conversion rate of your landing pages?
- Are changes to your website or marketing improving or hurting your lead generation?
Without this data, you're flying blind, spending time and money without knowing the true impact. With it, you get a clear roadmap for what to do more of and what to fix.
Method 1: Use GA4's Built-in Enhanced Measurement (The Easiest Way)
Google Analytics 4 has several automatic tracking features called "Enhanced measurement," and one of them is specifically for forms. For many standard websites, this might be all you need. It’s always the first place you should check.
How to Check if Form Tracking is Enabled
First, let’s see if GA4 is already listening for form interactions on your site.
- Log into your Google Analytics 4 property.
- Click on Admin (the gear icon) in the bottom-left corner.
- Under the Property column, click on Data Streams.
- Select the appropriate data stream for your website.
- Under the Events section, you'll see a heading called Enhanced measurement. Make sure the toggle is on.
- Click the gear icon next to the toggle to see the specific measurements being tracked.
- Ensure that Form interactions is enabled. If it’s not, turn it on and click Save.
When this feature is active, GA4 will automatically track two key events:
- form_start: This event fires the first time a user interacts with a form on a page. This can help you see how many people begin filling out your forms.
- form_submit: This event fires when a user successfully submits a form. This is the main event you're looking for to track conversions.
Free PDF Guide
AI for Data Analysis Crash Course
Learn how to get AI to do data analysis for you — the best tools, prompts, and workflows to go from raw data to insights without writing a single line of code.
Where to Find the Data
You can find these events in your GA4 reports by navigating to Reports > Engagement > Events. After 24-48 hours, you should see form_start and form_submit in your list of event names. Voila! You have basic form tracking.
The Big Caveat with Enhanced Measurement
While wonderfully simple, automatic form tracking isn't flawless. It works best with standard HTML forms. It may fail to track submissions if your form:
- Is built inside an iFrame.
- Doesn't use standard submission technology (common in complex JavaScript frameworks like React).
- Redirects the user before the GA4 tracking script has a chance to fire.
- Doesn't have a final submission success state that GA4 can detect.
If you've enabled this feature but aren't seeing form_submit events - or if you have multiple forms and need to track them separately - it’s time to move on to a more reliable method.
Method 2: Track a "Thank You" Page (The Most Reliable Way)
This is a time-tested and incredibly reliable method for tracking conversions of almost any kind. The logic is simple: after a user successfully submits a form, they are redirected to a unique confirmation page, like /thank-you. We then tell GA4 that every time someone views that page, it should count as a successful form submission.
This approach bypasses any technical weirdness with a form's code because all we need to track is a simple page view.
Step 1: Set Up Your Form and Thank You Page
First, configure your form to redirect to a unique page upon successful submission. This page shouldn't be accessible from your main navigation or indexed by Google (set it to noindex in your SEO settings). The URL should be distinct, for example:
/contact-thank-you/newsletter-subscribed/demo-request-received
A unique URL for each form allows you to track them individually. Run a test submission yourself to ensure the redirect works as expected.
Step 2: Create a Custom Event in GA4
Next, we’ll create a brand new event in GA4 that fires only when someone lands on your new thank you page.
- In GA4, go to Admin > Events (in the Property column).
- Click the Create event button. Then click Create again on the next screen.
- You'll now see the custom event configuration panel. Let's fill it out:
- Click the Create button in the top right.
Now, GA4 is set up. Every time a page_view event occurs on a URL containing /contact-thank-you, GA4 will generate a new, separate event called contact_form_submission.
Step 3: Mark Your New Event as a Conversion
Creating an event isn't the final step. You also need to tell GA4 that this specific event is a key conversion for your business.
- In GA4, go to Admin > Conversions (in the Property column).
- Click the New conversion event button.
- In the text box, type the exact name of the event you just created (e.g.,
contact_form_submission). - Click Save.
That's it! Your contact_form_submission event will now appear in your conversion reports, allowing you to easily measure its impact.
Method 3: Use Google Tag Manager (The Most Flexible Way)
What if your form doesn't redirect? Many modern forms simply display a "Success!" message without changing the URL. In this case, Google Tag Manager (GTM) is your best friend. It’s a bit more technical, but it provides the ultimate flexibility for tracking almost any website interaction.
Step 1: Enable Form Variables in GTM
Assuming you already have GTM installed on your site, the first step is to enable its built-in form-related variables.
- In your GTM container, navigate to Variables from the left menu.
- In the Built-In Variables box, click Configure.
- Scroll down to the Forms section and check the boxes for all the form variables (Form ID, Form Classes, Form Text, etc.). This gives GTM more information to work with when identifying your form.
Free PDF Guide
AI for Data Analysis Crash Course
Learn how to get AI to do data analysis for you — the best tools, prompts, and workflows to go from raw data to insights without writing a single line of code.
Step 2: Create a Form Submission Trigger
The trigger tells GTM when to fire your tracking tag. We'll set up a trigger that listens for submissions of one specific form.
- Go to Triggers in the left menu and click New.
- Give your trigger a name, like "Contact Form Submit Trigger."
- Click into Trigger Configuration and choose the Form Submission trigger type.
- In the configuration, select Some Forms.
- Now we need to set a condition that only matches your intended form. You'll need to find a unique identifier for it.
- Save your trigger.
Step 3: Create a GA4 Event Tag
Now we create the tag that sends data to Google Analytics when the trigger fires.
- Go to Tags in the left menu and click New.
- Name your tag something like "GA4 Event - Contact Form Submit."
- Click into Tag Configuration and select Google Analytics: GA4 Event.
- For Configuration Tag, select your main GA4 configuration tag (you should already have this set up).
- For Event Name, enter a descriptive name, like
contact_form_submit. - Click into the Triggering section at the bottom.
- Select the "Contact Form Submit Trigger" you created previously.
- Save the tag.
Step 4: Test in Preview Mode and Publish
Finally, test to make sure everything works before setting it live.
- In GTM's top-right corner, click Preview.
- Enter your website's URL and connect. A new tab will open with your site in debug mode.
- Go to your contact form and fill it out with test information. Click submit.
- Switch to the GTM preview window. In the left-hand event summary, you should see a "Form Submit" event. Click on it.
- In the main panel, you should see that your "GA4 Event - Contact Form Submit" tag has fired successfully.
- As a final check, you can go to GA4 and look at Admin > DebugView. You should see your
contact_form_submitevent arrive in real-time. - Once you've confirmed it's working, go back to GTM, click Submit, and publish your changes. Don't forget to mark this new event as a conversion in the GA4 admin panel, just like we did in Method 2!
Final Thoughts
Tracking form submissions is a fundamental part of a data-driven marketing strategy. By starting with GA4's built-in features, using a reliable "thank you" page redirect, or diving into the flexibility of Google Tag Manager, you can capture the insights you need to understand performance and grow your business.
Once you have this valuable conversion data flowing into GA4, the next challenge is connecting it to the rest of your marketing efforts. This is where tools like Graphed can help. We make it easy to combine your GA4 data with metrics from your ad platforms, CRM, and sales tools in a single, unified view. Instead of wrestling with complex reporting tools, you can simply ask questions in plain English - like "Show me which ad campaigns are driving the most form submissions" - and get instant dashboards and reports that update in real-time.
Related Articles
AI Agents for SEO and Marketing: The Complete 2026 Guide
The complete 2026 guide to AI agents for SEO and marketing — what they are, top use cases, the best platforms, real-world examples, and how to get started.
AI Agents for Marketing Analytics: The Complete 2026 Guide
The complete 2026 guide to AI agents for marketing analytics — what they are, how they differ from automation, 10 use cases, pitfalls, and how to start.
How to Build AI Agents for Marketing: A Practitioner's Guide From Someone Who Actually Ships Them
How to build AI agents for marketing in 2026 — a practitioner guide from someone who has shipped a dozen, with the lessons that actually cost time.