Integrating Google Analytics (GA) or adding Google Tag Manager (GTM) code at the back of your forms increases your options of getting to know more about the interactions and engagements that happen on your forms. Emailmeform offers great insights on your forms and the data you collect through them but if you are one of those who like to know about each and every step or action that your users take on your forms then you would definitely be interested in knowing about how to add GA or GTM to your forms.

In this post, we are going to share with you how to integrate GA or GTM on your forms and how you can take advantage of them to know more about the traffic coming to your forms. You can also look at a couple of important Key Performance Indicators (KPIs) that you can track in order to see the progress of your forms.

Now let’s get started.

Tracking Forms with Google Analytics

Integrating Google Analytics with your forms is extremely easy. All you have to do is open up a form on the Form Manager page and click on the “Notifications” button. Once inside, select the “Google Analytics” icon and place your GA Property ID in the given field. Save it and you are ready to go.

Google Analytics integration with online forms
Easily integrate your form with Google Analytics.

Note: It is important to activate the GA option on all your forms individually. By activating it on one account, it will not automatically activate the tracking of other forms.

What do I get by adding Google Analytics on my Forms?

By linking your GA account with your form, the form will work as one of the pages of your website and you would be able to look at the data/traffic coming to this page (form) in your GA account as if it is a part of your website. Even if you are using it as a standalone form, you can still view the data traffic coming to it.

Here are the cool things you can do after linking GA to your form.

1. Real Time Traffic Data

Even though you would be able to see the Submission data in real time on Emailmeform, what Google Analytics can offer you is more insights on the traffic you receive on your forms. So if users are visiting your forms but they are not submitting or completing them then you would be able to spot that quickly as you would be monitoring the traffic through the “Real Time” feature of Google Analytics.

2. General Traffic Data

Emailmeform gives you the basic insights about the traffic on your forms, by integrating your forms with GA, however, you would be able to learn much more about the type of traffic that you received. Your users’ Geolocation, Channels through which they came, Devices they used to access your form etc. You can also look at how the paid traffic (Adwords/Facebook etc) or Social Media Traffic responded to your forms.

This will give you more power to understand your audience and make changes on your form, if required, based on the data that you see.

3. Conversion Tracking

A form may have more than one goal (please refer to our previous post for more information on how to set and monitor goals) and it’s important to track them to know more about the conversion rate that it receives. There are a couple of ways to track goals through GA:

For nearly all one page basic forms, the main goal is the total number of submissions that you receive. This can be tracked through the destination URL goal. An easy way to set it up is by adding the following details in the “Destination Page” section:

Form submission confirmation page
Set up a confirmation page to thank your users.

The /confirm/ page is what is generally shown once user submits the form. However, if you have set a redirect then you can track submissions through GTM, which we will share later in this blog post.

Once you have the Destination goal set, every time you receive a submission you will be able to monitor it in real time as well:

Tracking of form entries in Google Analytics
Set up the thank-you page tracking in Google Analytics.

This will help in identifying the conversion rate of any form. Plus, it is extremely good metric for the sales and marketing teams as they will be able to see the leads they have generated or the number of form completions they have received through different types of marketing campaigns that they might be running.

Usually, on every 2 pages of a form that uses the pagination feature, the URL changes and so we can use the unique urls of these pages to track the complete flow till the Confirmation/Thank you page. This can be done through the same process shown above and all we have to do is to activate the funnels toggle and set up the previous pages in the correct order.

However, if you want to track all fields and pages then you will have to do it via GTM by pushing virtual page url for each page. We will share it in the GTM section of this post.

Adding Google Tag Manager code at the back of your form

Adding GTM to your forms is not at all difficult anymore as it used to be. You don’t need to find random places to add the code and pray that it works. Emailmeform offers an easy DIY method that allows you to add GTM code at the back of each form. All you need to do is go to the Form Builder Editor and choose the Form Setting tab. Look for the “Header/Footer” option and click on the Edit button.

Adding GTM code to form’s header
Easily add Google Tag Manager code to the header of your form.

Once inside, select the HTML tab and click on the “Source” button in the Header section.

Choose HTML form editor
Adding GTM code to the HTML code of your form in just 2 clicks.

Here you can paste the previously generated GTM code:

Paste GTM code in form’s header
This is how a GTM code looks like when pasted in form’s header.

Click the ‘Close” button at the bottom and then save the form. Refresh it and you will see the GTM code working on your form.

If you are using the new GTM code that has 2 sections then you can either add both of them in the header or can add the top part of the code in the header and the bottom part in the footer.

What advantages do you get from GTM?

Once you have GTM added to your forms, complete tracking world is now at your fingertips. All types of advanced tracking can be done through the GTM. For example:

1. Event/Button Tracking

There can be a lot of different buttons that you may want to track — such as the main submission button, file uploads, custom buttons, maps, etc., in order to know more about the interactions you receive on the form. You may want to add a map that shows your store and a button that shows the store address. You might have a button that shows the phone number etc. You can track all of these buttons via GTM.

2. Video Tracking

You can track any video that you add on the form and look at the data like the number of times it was viewed, paused or played in X%. You can also add a Call-To-Action button at the end of the video and track that as well.

3. URL Redirect Tracking

As how we discussed it above, we can track the destination URL if we want to track the confirmation page or if we want to track a submission but in the case where there is a URL Redirect placed then you will have to either track the main Submit button or you can fire an event on successful Form Submission via GTM.

Through any of these two methods you would be able to track the submissions that you receive. The Form Submission method is more accurate than simple event tracking of the submit button.

4. Form Field Tracking

In some cases you may want to track each and every field of your form in order to know which field might be creating a bottleneck. You can do this through the “On_hover” or “On_blur” tracking via GTM. This way you would know exactly which fields are filled in and which are getting ignored.

5. Using Virtual Pageviews to track form with Pagination

Similar to what we shared above, you can track multi-page forms through destination url goal setting on Google Analytics. However, if you want to track each and every page of a multipage form then you will have to fire a virtual page every time the “Next Button” is clicked. This way you can allot a different virtual page to all the pages of a multi page form and see the funnel visualization on GTM.

Taking Advantage of the Data

Once you have GA/GTM or both integrated with your form, you will be able to get more data coming through your form. Now you would be able to analyze the performance of your forms far better than before. We suggest on checking our “Important KPIs” blog post so that you can learn more on how you can take advantage of the data you collect.

Every form has margin for improvement when it comes to design, layout, structure and marketing. Emailmeform offers many options to test different styles and pattern of your forms and analyze the data to see which variation is performing better. A the end of the day, we all want a high converting form for your business or personal needs and the elaborated tracking techniques can give you better insights about your forms.


Find out the hidden costs of paper and how to dodge them.

Why You Should Run Your Company on Paperless Automation

Leverage Thank You page with these marketing tactics

7 Ideas on How to Seal a Sale with a Beautiful Payment Confirmation Page

Spoilers ahead, but I know you have watched it already. Unless you’re part of the 1% of the world population who don’t care.

What the Game of Thrones Season 7 Premiere Has Taught Us About Making Online Forms

Track tickets, automate workflows, and improve your service

How to Use Online Forms to Champion Customer Support at Your Company

And learn how to use them to improve your business

Build Engaging Customer Satisfaction Surveys With a Free Survey Tool

Find out if your industry is on the list.

13 Big Industries That Can Benefit From Online Forms — Part 2

Is your industry on the list?

13 Big Industries That Can Benefit From Online Forms — Part 1

How we brought the word ‘Service' back to Software-as-a-Service

Custom Online Forms for Your Web and Social Pages

EmailMeForm provides a free tool, form templates, and customer support

How to Create a Simple Online Application Form

You’ll never look at your forms the same way again!'

9 Powerful Web Form Features That You Should Use

Everything you need to know plus an HTTPS Migration Infographic Guide

HTTPS Migration: Should You Do It and What It Means for Your Forms

Protect your customers and their data with SSL encryption

HTTPS Migration: Make Your EmailMeForm Forms Secure

Yes, it’s possible—and it’s really easy

How to Create NPS Surveys Using an Online Form Builder

How to read and utilize the data

KPIs That are Important to Your Forms

We sent one batch of survey out and we have never stopped since.

What is a Net Promoter Score (NPS) Survey and Why Your Company Should Use It

Make your forms talk more

How to Embed Videos Into Your Online Form

Mobile-friendly forms with custom features

Create Online Forms for WordPress, Websites, Blogs, and Social Media

Understand and maximize the use of each field

Build Powerful Online Forms with Advanced Form Fields

Oh, that’s why you’re not getting any entries

8 Things People Hate About Your Web Forms (and How to Fix Them)

Get job done faster and paperless

5 Online Forms for Business Automation

Show more with your forms

How to Embed Google Maps Into Your Form

Because there’s always more work

3 Ways on How Online Forms Help Grow Your Nonprofit’s Cause — with Minimal Effort

It’s all about organized communication

How Online Forms Help Remote Teams Work Efficiently

Sell goods and services with checkout forms

Cost-effective Solution for Automated Online Sales

Yeah, we eat our own dog food.

EMF Story: What Happened When We Used Our Own Feedback Forms

Use Online Forms to Manage Events

Drop Stellar Events with the Help of Online Forms

Put down your pens, everyone.

How Educational Institutions Can Benefit from Using Online Forms

It’s like having a booking clerk who’s working 24/7 for you

Why More and More Travel Agencies Rely On Online Forms to Grow Their Business

In 10 Easy Steps

Create Free Contact Forms with EmailMeForm

For one, online forms can reduce your workload

4 Signs Your Small Business Should Start Working with Online Forms

All you need to know about online forms and how to make them a success

10 Commandments of a Successful Online Form



More blog posts