Guide to setup Thank you page form tracking using GTM

Before all else, why do you need to track a web form accurately?
Web form is an instrument that collects information about your website visitors.
If not tracked accurately, you would lose data about your prospects.
There are many web forms out there such as contact us forms, thank you page forms, element visibility forms.
In this guide, we’ll see how you can track thank you page forms.

What is Thank You Page Form Tracking?
Say, a visitor on your website fills out a form and clicks on the submit button. This redirects the visitor to a concluding page with a thank you message.
Something like this:

And the URL of the page changes, as shown in the image below.

This type of form is known as thank you page form.
So if you want to track such forms on your website, this guide will take you through two different ways of doing so.
Let’s see how you can track thank you page forms in Google Analytics 4 (GA4).
Tracking Thank you Page Form Submission in GA4
- Using Google Tag Manager (GTM)
- Using the Tagmate App (Still using GTM but saving time by order of magnitude!)
1.) Tracking Form Submission using GTM
Let’s go through the first method of tracking thank you page form submission using GTM.
Part 1
Create Container and select workspace in GTM
Step 1: Sign in to your GTM account.
Step 2: Select a workspace.
If you need help on how to select a workspace, go through this article.
💡 Pro tip: Create a new container and user ‘Default Workspace’
Part 2
Trigger configuration
Step 1: Go to ‘Triggers’
- Click on ‘Triggers’ from the left navigation panel.
- Click on ‘New’ on the top-right corner.

Step 2: Select ‘Form Submission' trigger
- Enter trigger name.
- Click on trigger configuration.
- Select ‘Page view’ trigger type.

Step 3: Configure trigger
- Select ‘Some Page Views’ under the header ‘This trigger fires on’.
- Below you would see two dropdown lists. Select ‘Page URL’ from the first dropdown. Select ‘equals’ from the second dropdown. In the third column, enter the thank you page URL.
- Click on the ‘Save’ button at the top-right corner.

On saving, it should look like this:

Part 3
Tag Configuration
Step 1: Go to ‘Tags’
- Click on ‘Tags’ from the left navigation panel
- Click on ‘New’ on the top-right corner.

Step 2: Create Configuration Tag
- Name the tag
- Choose the tag type
- Select ‘Google Analytics: GA4 Configuration’ from the right navigation panel.

Step 3: Enter GA4 Measurement ID.

Step 4: Allocate trigger to tag
- Click on ‘Choose a trigger to make this tag fire’
- Select ‘All Pages’.

Step 5: Save the Tag
- Click on the ‘Save’ button on the top-right corner.

Step 6: Go to ‘Tags’
- Click on ‘Tags’ on the right navigation panel.
- Click on ‘New’ on the top-right corner.

Step 6: Create GA4 event tag
- Enter Tag name.
- Click on ‘Choose a tag type to begin setup’.
- Click on ‘Google Analytics: GA4 Event’ from the right navigation panel.

Step 7: Configure GA4 event tag
- Select configuration tag from the dropdown.

- Enter event name (recommended to have '_' between words).

Step 8: Allocate / Choose trigger in GA4 event tag
- Click on ‘Choose a trigger to make this tag fire’.

- Select the ‘Page View’ trigger that was created in Step 3 of Part 2.

Step 9: Save ‘Tag’
- Click on the ‘Save’ button on the top-right corner.

Part 4
Preview tag
Step 1: Preview
- Click on ‘Tags’ from the right navigation panel.
- Click on ‘Preview’ at the top-right corner.

Step 2: Save ‘Tag’
Click on ‘Connect’ as shown in the image below.

Step 3: Submit a dummy form
- Open the website in tag assistant mode.
To verify that you are viewing your website in tag assistant mode, look for a box with header ‘Tag Assistant’ in the bottom-right corner, as shown in the image below.
- Submit a dummy form.

Step 4: Check if the form submission tag is fired or not


Part 5
Verify in GA4
Step 1: Open debug view
- Open your GA4 Property.
- Click on “Configure” from the left navigation panel.
- Click on "Debug View".

Step 2: Verify event and data

This was the first method of tracking thank you page form on your website.
Now, let’s take you through another method of tracking your thank you page form.
This one is easier and much faster compared to the first one.
Tracking Form Submission using Tagmate
But first, what is Tagmate???
Tagmate is a web-based tag management tool that automates tag implementation, be it UA or GA4.
Tagmate can track your forms in just a few clicks while ensuring 100% accuracy.
Let’s make a beeline for tracking thank you page forms using Tagmate.
Step 1: Open Tagmate
Sign in with your google account.

Step 2: Select GA4 project

Step 2: Select an existing GTM Account or Add New.
Click on ‘GTM Account’ from the left navigation menu.


Step 3: Push to GTM
- On the left navigation panel, click on ‘Templates’.
- Click on the ‘Form Submission’ header visible at the center of the screen.
- You can see a template named ‘Form Tracking’.
- Click on the ‘Push to GTM’ button.

Step 4: Select ‘Thank You Page Form’ template by clicking on ‘Select Method’.

Step 5: Enter form name
- Enter your Form Name.
- Click on the ‘Next’ button at the bottom-right corner.

Step 6: Provide Triggering Condition
- Below you will see two dropdown lists. Select ‘Page URL’ from the first dropdown. Select ‘equals’ from the second dropdown. In the third column, enter the thank you page URL.
- Click on the ‘Save’ button at the top-right corner.

Step 7: Check the tag in GTM

Step 8: Star the preview mode
Repeat steps 1 to 4 of Part 4 of method number 2.

Step 9: Validate it in GA4

And that’s it!
You have quickly and effortlessly tracked your website’s thank you page form.
Watch video: How to setup form tracking in GA4 | Thankyou Page tracking
Here's the interesting bit. You can go BEYOND just tracking forms. With Tagmate, you can also track events such as Page Views, Page Load Time, 404 Error, and many more.
With 40+ pre-built industry templates, similar to the one you saw in step 4, you can quickly implement your tags with Tagmate.
See how Angel One eliminated developer dependency and saved 80% of the development time using Tagmate.

Anddd did we tell you? Tagmate can set up marketing pixels for Google and Meta Ads as well. It’s time you stop fretting over tracking conversions, and start focusing on the next game-changing campaigns!
In essence, if you want to track tags and pixels within seconds, feel free to check out Tagmate.