WPForms Blog

WordPress Tutorials, Tips, and Resources to Help Grow Your Business

How to Use Google Analytics to Track Form Submissions in WordPress

by Shahzad Saeed on Aug 21, 2017

Do you want to optimize your WordPress form for conversions? Then you need to track every form submission on your site using Google Analytics. In this article, we’ll show you how to use Google Analytics to track form submissions in Google Analytics.

Why Track Form Submissions?

A few benefits of using Google Analytics to track form submissions are:

  • You can identify which forms trigger more submissions.
  • You can get insights into how to optimize your forms for high conversions.
  • You can identify the high converting pages on your site.

1. Create a WordPress Form

The first thing you need to do is install and activate the WPForms plugin. Here’s a step by step guide on how to install a WordPress plugin.

After activating the plugin, you’ll need to create a form on your site. You can see our tutorial on creating a simple contact form to get started.

2. Sign Up for a Google Analytics Account

You can skip this step if you’re already using Google Analytics to track your website visitors. If not, follow the below steps to sign up for Google Analytics and add a new site for tracking.

To get started, open the Google Analytics website and click the Sign In link in the top right corner of the page.

google-analytics-site-signin-1

Then click Analytics at the top of the dropdown menu that appears.

click-analytics

On the next page, you can log in to your existing Google account if you have one, or click the Create account link to create a new Google account.

google sign in

Next, you’ll have to sign up for Google Analytics. Click the Sign Up button on the right side of the page to get started.

google analytics signup

Then you can scroll down to enter your website information. You’ll need to name your Google Analytics account, and enter your website name, URL, and industry, as well as your time zone.

ga account setup

After filling in your website details, you can scroll down a bit to customize your data sharing settings. When you’re finished selecting your options, you can click the Get Tracking ID button at the bottom of the page.

ga data sharing options

In the dialog box that appears, you can review and accept the terms of service.

ga-tos

That’s it! You’re now signed up for Google Analytics.

3. Install & Set Up MonsterInsights

The best way to set up Google Analytics on your site and track your WordPress form submissions is to install and activate the MonsterInsights plugin.

MonsterInsights is the best Google Analytics plugin for WordPress. The plugin makes it super easy to set up Google Analytics on your site in just a few clicks. It allows you to leverage the full potential of all the powerful Google Analytics features without having to touch a single line of code, like forms tracking, conversions tracking, ads tracking, and so on.

Now let’s take a look at installing and configuring MonsterInsights.

You can get started by purchasing the MonsterInsights plugin. After the purchase, log into your MonsterInsights account and download the plugin zip file.

Once you have the zip file, log into your WordPress dashboard, and navigate to Plugin » Add New and click the Upload Plugin button at the top.

install-plugin

On the next screen, you can click the Choose File button to select the zip file you just downloaded. Then upload the file and install the plugin by clicking the Install Now button.

install-monsterinsights

After installing the plugin, click Activate Plugin. Now you’ll be asked to configure your Google Analytics settings. Click on the Google Analytics settings link.

configure-ga-settings

You’ll be directed to the Settings page of MonsterInsights. Click the Authenticate with your Google account button.

authenticate

In the popup that appears, click Next.

authentication

Then click the Click To Get Google Code button.

get-ga-code

Now you’ll be prompted to allow MonsterInsights to access your Google Analytics data. Click Allow.

allow monsterinsights access analytics

A long string of letters and numbers will be displayed. Copy the code, and then paste it into the field and click the Next button.

paste-code

Now you can see a list of Google Analytics profile in your Analytics account. Click the Select a profile dropdown and select the right website from the list. Then click the Next button.

select-profile

That’s it! You’ve successfully configured Google Analytics on your site.

4. Install the MonsterInsights Forms Addon

Without the MonsterInsights Forms addon, tracking your form submissions can be tedious. For example, you need to set up a Google Analytics goal for every WordPress form you create on your site. This can be time consuming especially when you have dozens of forms on your site which you want to track.

In addition, if you’re tracking conversions as events, you’ll need to add an extra tracking code into every page where you publish your form.

MonsterInsights takes the pain out of forms tracking and makes it easier for WordPress users. All you need to do is install the Forms addon. No further configuration is required.

To install the Forms addon, go to Insights » Addons and click Install under the MonsterInsights Forms addon.

forms-addon

After the plugin is installed, the button will change to say Activate. Go ahead and click the Activate button to make sure the addon is active and ready to use.

forms-addon-activate

5. See Your Conversion Rates in Google Analytics

To track your form views and conversions, log into your Google Analytics account, and select the right website from your list.

select the right website in analytics

Navigate to Behavior » Events » Overview. You can now see the events overview report of your website. In the Event Category column, click on Form.

form-submissions-report

To view the number of impressions and conversions, click the Event Action link just above the table.

click-event-action

In Google Analytics, you can also identify which page drives in most form submissions.

To view your high converting pages, click Conversions in the above report.

form-submissions-conversions

Then click the Secondary dimension dropdown menu, and then select Behavior » Page. You can now find your high converting pages on your site.

view high conversion page

That’s it!

We hope this article helped you learn how to use Google Analytics to track form submissions.

If you enjoyed this article, you might also want to try creating a contact form popup on your site.

What are you waiting for? Get started with the most powerful WordPress forms plugin today.

If you like this article, then please follow us on Facebook and Twitter for more free WordPress tutorials.

Comments

    1. Hi Wendy,

      You should be able to place any conversion pixel information in the Confirmation Message field (in the form builder under Settings > Confirmation). Just paste it in right underneath your regular confirmation text.

      I hope that helps! 🙂

  1. Ok, probably there is a reason why you promote other plugin to do this, but isn’t there Google Analytics + WP Forms option to track entries (conversions) without plugin?
    I’m stuck on Google what to type in as a funnel, as I’m not sure what is submit button link, or how to catch submission ..

    Please don’t tell me Monsterinsights is only way.
    Thanks.

    1. Hi Tomislav,

      Sure, while MonsterInsights is definitely the easiest option, it’s certainly possible to use custom code for Google Analytics instead. Typically this would involve adding tracking code from your Google Analytics to a confirmation message/page for the form. However, this is not something we’re able to provide support for at this time.

      If you have any other questions, please feel welcome to reach out! If you have a paid license with us, you can submit a support ticket. Otherwise, we provide limited complimentary support in the WPForms Lite WordPress.org support forum.

      Thanks 🙂

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.