How To Track Form Submission Using Page View in a Website Using Google Tag Manager

Author
POSTED BY: Rohith Sasanken / November 15, 2025
Views
82 Views
Comments
0 Comments

 Tracking form submissions is one of the most important actions in website analytics. It helps understand how effectively visitors engage with your forms and where they convert.
Using Google Tag Manager (GTM), you can easily track these form completions without altering your website code. This method using Page View tracking  works best when users are redirected to a new page after form submission, such as a “Thank You” page.

Ensure GTM is Connected to Your Website

Before setting up any tracking, confirm that your GTM container is properly installed and linked to your website.
If GTM isn’t connected, no tag or trigger will fire.

To check:

1. Open Preview mode in GTM.

how to take preview mode in a Google tag manager dashboard

2. Enter your website URL.

3.Ensure a green “Connected” tick appears in Debug mode.

How to know If a website is connected with Google tag Manager using Preview Mode

This confirms that GTM is correctly linked to your website and ready for tracking.

Learn How to Connect Google tag manager with Your Website

Two Ways to Track Form Submissions in GTM

There are two common ways to track form submissions using Google Tag Manager:

  1. Using Page View – When form submission redirects users to a separate page (for example, a “Thank You” or “Success” page).
  2. Using Element Visibility – When the form response message appears on the same page after submission.

In this guide, we’ll focus on the Page View method, which relies on the URL of the redirection page after form submission.

Learn How to Track Form Submission Using Element Visibility In GTM

Step 1: Track Form Submission Using Page View Trigger

Page View tracking works by monitoring when a visitor lands on a specific page after submitting a form. This is ideal for forms that redirect to a confirmation or thank-you page.

Step 1.1 : Analyse the Redirection URL Before Tracking

find a form in your website before tracking

Step 1.2 : Start by visiting the form page on your website.

How will a landing Page after a form submission looks like

Now, submit the form and observe the URL you are redirected to.

For example: https://yourwebsite.com/thank-you/

Copy this redirected URL : this will be used as your condition inside GTM.

Step 2: Create a Trigger in GTM

Once you have the redirected page URL, it’s time to create a trigger that fires when someone lands on that page.

Step 2.1 : Open the Trigger Section in GTM

How to select Trigger section in Google tag Manger

In your GTM workspace, click Triggers in the left sidebar.

Step 2.2 : Create a New Trigger

How to create a new trigger after selecting Trigger Section in Google tag manager

Click New to begin creating your trigger.

Step 2.3 : Select “Page View” as Trigger Type

how to select page view from a trigger section in Google tag manager

Click on the Trigger Configuration box and select Page View from the list of available trigger types.

Step 2.4 : Name the Trigger and Choose “Some Page Views”

how to select some pages from page view trigger in a google tag manager

Give your trigger a meaningful name
For example :
Form Submission – Thank You Page View

Under firing options, select Some Page Views.

Why “Some Page Views”?

Because you want the trigger to fire only on a specific page (the thank-you page), not on every page of the website.
Choosing “All Page Views” would cause it to fire across the entire site, which is not accurate for form tracking.

Step 2.5 : Select “Page URL” as the Variable

how to select page url event from the page view trigger while tracking form submission using page view in google tag manager

From the variable dropdown, choose Page URL.

Why Page URL?

Because GTM identifies the page the user is currently on by reading its URL — perfect for detecting the redirection page after form submission.

Step 2.6 : Select “Equals” as the Condition

how to select equals from a page url event in a Google tag manager

In the condition field, choose Equals.

Why Equals?

It ensures the trigger only fires when the page URL exactly matches the specified thank-you page URL.Other conditions, such as “Contains” or “Starts with”, can lead to false triggers if multiple URLs contain similar paths.

Step 2.7 : Paste the Redirection Page URL

where to paste the url copied when using page URL event in Google tag manager

Paste the Thank You page URL,that appears after a form submission, such as:

Example : https://yourwebsite.com/thank-you/

This tells GTM to fire the trigger only when someone reaches that specific URL.

Finally, click to store your trigger

Step 3: Create a GA4 Tag for Form Submission Tracking

Now, you’ll create a Google Analytics 4 (GA4) tag to send the form submission event data when this trigger fires.

How to choose tag in a Google Tag manager Dashboard

Give the Tag a Clear Name

How to name a tag in Google tag Manager

Create a descriptive tag name, such as GA4 Event – Form Submission Trigger

This makes it easy to identify later among other tags.

Step 3.1 : Select “GA4 Event” as Tag Type

How to select GA4 Event in Google Tag Manager while craeting tag

In Tag Configuration, choose Google Analytics: GA4 Event.

How to select GA4 Event in Google tag Manger - Image 2

Why GA4 Event?

It allows you to send a specific event (form submission) to your GA4 property, helping you track conversion activity directly in Analytics.

Step 3.2: Enter Measurement ID and Event Name

How to paste measurement ID while making a tag in Google Tag manager

Measurement ID: Paste the ID from your GA4 property.
Make Sure The Tag is found In the Container is a “ green tick“

Event Name: Enter a clear, lowercase name such as form_submission.

How to give a relevant event name while creating a tag for tracking in google tag manager

This naming format helps maintain uniform event tracking in reports.

Step 3.3 : Connect the Tag with the Trigger

How to connect a tag with a trigger while form submission tracking using element visbility in google tag manager

Under Triggering, select the trigger you created earlier 
Page View Trigger – Thankyou Page

how to connect trigger and tag in a google tag manager

Then click Save to confirm.

Step 4: Test the Setup in Preview Mode

Testing ensures your configuration is working correctly before publishing.

Enter Preview Mode in GTM

how to take preview mode in a Google tag manager dashboard

Click Preview at the top right of GTM. This will open Tag Assistant in a new window.

Step 4.1 Connect GTM to Your Website

Enter your website’s URL and click Connect.

how to connect website in a google tag manager for preview mode

This opens your website in Debug mode, allowing GTM to monitor tag firing in real time.

Step 4.2 : Verify Website Connection in Debug View

how to check whether the website is on preview mode while connecting with Google Tag manager

Once connected, you’ll see a green tick beside your domain name in Tag Assistant.
This confirms that GTM is actively monitoring your website.

Step 4.3 : Submit the Form and Check if Tag Fires

Now, go to your website and submit the form.
If set up correctly, the GA4 event tag should fire in the Tag Assistant’s preview panel.

How to check if a tag is fired in preview mode in Google Tag manager

Step 4.4 :  Verify Data in GA4 DebugView

Open Google Analytics 4 → Admin → DebugView and check if the event form_submission appears.
If it does, the data is successfully passing from GTM to GA4.

Step 4.5 :  Submit & Publish The Tag

Once you’ve confirmed that the event is tracking correctly in GA4 DebugView, it’s time to publish your changes in Google Tag Manager.
Click “Submit” in GTM

How to submit tags and triggers after creating In Google tag manager - 1

At the top-right corner of your GTM workspace, click Submit.
This opens the Submit Changes window, where you finalise and publish your configuration.

Step 4.6 : Provide Version Name, Description To Submit

How to give version name , Description and submit the changes made in Google Tag Manager

Provide a clear Version Name, such as:

  • Form Submission Tracking Setup – GA4

In the Description, briefly note what you added for example:

  • “ Added Page View trigger and GA4 event tag for form submission tracking” 

This helps you and your team identify what changes were made if you revisit this version later.

Step 4.7 : Click “Publish” to Make It Live

How to check the changes made in a google tag manager is live

Click Publish to make your tag live on the website.

Once published, GTM will start tracking real user form submissions immediately ; not just in preview mode.

Step 4.8 : Confirm Tag Is Live

After publishing, reload your website and submit the form again.
Open Tag Assistant and ensure the tag fires in the live environment.

You can also check GA4 → Realtime to confirm that new form submission events are being recorded.

You’ve successfully tracked form submissions using Page View Trigger in Google Tag Manager!

Your GA4 dashboard will now capture each form completion, giving you valuable insights into user behaviour and conversion performance.

 

By Rohith Sasanken

Rohith Sasanken, a digital marketing expert with 11+ years of experience, creates data-driven campaigns and impactful brand stories, collaborating with teams to ensure measurable growth and meaningful results