• Skip to main content
  • Skip to primary sidebar

How to Track Form Submissions Via Google Tag Manager?

Reading Time: 3 mins. Posted on January 18, 2019 .

The step by step guide creating the trigger and tag to track form submissions on any particular page of a website or a blog via Google Tag Manager.

How to Track Form Submissions Via Google Tag Manager?

Tracking form submission on a website or a blog is popular among marketers. It can reveal a lot about the forms you have on a site to convert users into members and in the long-run into customers.

In this article, I will create a tag for tracking form submission via Google Tag Manager. I will use my blog’s homepage form.

Refer to the image below.

Tracking form submission via gtm

So, let’s get down configuring tags to track forms.

Step 0: Pre-requisites

You should be aware of Google Tag Manager Lingo. Moreover understand what a trigger, tag, and the built-in variables available are.

The next is, you should have a Google Tag Manager for tracking site’s traffic in Google Analytics though it isn’t a must. We will still need to have the Google Analytics Property ID to send scroll depth data to Google Analytics.

If you aren’t sure, refer to my article – How to Connect Google Analytics With Google Tag Manager first and then continue with this article.

Step 1: Create Trigger

Form Submission tracking trigger

  • Trigger name: Name the trigger with something meaningful. I have it as “Form Submission”.
  • Trigger type: Select “Form Submission” from the pre-defined triggers.
  • Wait for tags: Keep this to few seconds because the form submission should take some time for the user to fill the details and then click the submit button. Clicking the button at the time of page load shouldn’t fire the tag. I have kept it to 2000 milliseconds or 2 seconds which means it will track data only after 2 seconds of page load.
  • Check Validation: Using “check validation” means the data submitted will be checked for validation before the tag fires.

Note: As we can see in the above screenshot, Wait for Tags and Check Validation being true, this can be a time-consuming process and so it is recommended to enable them only on the landing/contact pages where we have forms or on particular pages where this trigger is particularly needed.

So we define the exact page url of the page where we want to track form submission using

Page URL > equals > (URL of the page that has a form)

  • Trigger fires when: All Forms. If you have multiple for on the particular page, you have to select the HTML form using the class or HTML form ID.

Step 2: Create a Tag

Form Submission tracking Tag

  • Tag name: Anything that helps you identify the tag. I have it as Form Submission.
  • Tag type: Google Analytics – Universal Analytics (We will pass the Form Submission data to Google Analytics).

Event Tracking Parameters

  • Track type: Event (Selected from the drop-down menu list)
  • Category: New Subscriber
  • Action: {{Page Path}}
  • Label: Leave blank
  • Value: Leave blank
  • Non-Interaction hit: False (Only if you want to make this tag reduce bounce rate, else set as true)
  • Google analytics settings: {{Google Analytics ID}}

Preview the tag before making it live.

Track Your Tag in Google Analytics

Log in to your Google Analytics account and locate the Affiliate Link Clicks event under Behavior > Events > Overview. Look for the category that we assigned in step 2 which is New Subscriber. It will show the form submission data.

Note: Do not try to send user data (name/email) to Google Analytics for privacy.

Check out affiliate link clicks, external link clicks, page scroll depth and google ads conversion using the Google tag manager.

You are Here: Home / Tools / Google Tag Manager / How to Track Form Submissions Via Google Tag Manager?

About Shabbir Bhimani

Blogging Since 2009. If I can leave my high paying C# job in an MNC in the midst of global financial crisis of 2008, anybody can do it. @BizTips I guide programmers and developers to Start and Grow an Online Business. Read more about me here.

May I help You With ...

Upwork Proposal
Finding Clients
Start a Store
Start a Blog
 

Or Help Yourself ..

Primary Sidebar

About Shabbir Bhimani

Blogging Since 2009. If I can leave my high paying C# job in an MNC in the midst of global financial crisis of 2008, anybody can do it. @BizTips I guide programmers and developers to Start and Grow an Online Business.

Get in touch with me on LinkedIn or read more about me here.

Let me Guide You to Start and Grow your Online Business

Download my
FREE eBook NOW
to win more clients.
And it is not an annoying pop-up either

Additional menu

  • Twitter
  • Linkedin

BizTips

Shabbir Bhimani: Start and Grow an Online Business

  • Freelancers Start Here
  • Start An eCommerce Store
  • Start A Blog
  • About
  • Archive
  • Disclaimer
  • Contact
  • Glossary

2009 - 2023 All my content & images are licensed as Creative Commons.

WebTurtles LLP. LLPIN: AAL-5288. Hosted with Linode.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT