Do you want to track your WordPress forms? Setting up your Google Analytics for form submission tracking can help you figure out where your form users are coming from, so you can make informed business decisions that increase your conversions.
In this article, we’ll show you exactly how to use Google Analytics to track form submissions in WordPress.
Why Use Google Analytics for Form Submission Tracking?
Google Analytics tracking is a tool many successful business owners use. Here are a few benefits of using Google Analytics to track form submissions:
- Identify which forms get the highest-quality submissions.
- Use referral web form conversion tracking to get insights into how to optimize your forms for high conversions.
- You can identify the high converting pages on your site.
- It’s compatible with WordPress AJAX contact forms (for no page reload).
How Do I Track a Form Submission with Google Analytics?
If you’re asking yourself how do I track a form on Google Analytics, you’re in the right place.
With MonsterInsights, you don’t even need to set up tag configuration and Google Tag Manager or use a form submission trigger. It makes web form conversion tracking easy without messy trigger configuration.
Analytics for form submissions can be tracked by following these steps:
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. Check out our tutorial on creating a simple contact form to get started.
2. Sign Up for a Google Analytics Account
You can skip this if you’re already using Google Analytics to track your website visitors. If not, follow the below steps to sign up and add your site.
To get started, open the Google Analytics website and click the blue Start for free button in the top right corner of the page.
Sign into your Google account if you have one, or click the Create account link to create a new Google account.
Next, click on the Sign up button to start using Google Analytics.
Now, enter your website information. You’ll need to name your Google Analytics account, plus enter your website name, URL, and industry, as well as your time zone.
After filling in your website details, scroll down to customize your data sharing settings. And when you’re finished selecting your options, click the Get Tracking ID button at the bottom of the page.
In the box that appears, you can review and accept the multiple terms of service agreements.
That’s it! You’re now signed up for Google Analytics.
3. Install & Activate the MonsterInsights plugin
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. So it makes it super easy to set up Google Analytics on your site in just a few clicks.
Plus, MonsterInsights lets you access the full potential of all the powerful features in Google Analytics including tracking things like:
- Visitors
- Forms
- Conversions
- Ads
- And much more…
And it all happens without having to touch a single line of code.
So now let’s install and configure MonsterInsights.
You can get started by purchasing the MonsterInsights plugin. After the purchase, log into your MonsterInsights account and download the plugin. It will download as a zip file.
Once you have the zip file, log into your WordPress dashboard, and navigate to Plugin » Add New. Click the Upload Plugin button at the top.
Next, click the Choose File button to select the zip file you just downloaded and click the Install Now button.
After installing the plugin, click Activate Plugin.
4. Set Up MonsterInsights for Google Analytics Form Submission Tracking
The handy Setup Wizard will launch automatically launch after the plugin is activated.
From here, select your business category and click Save and Continue.
Next, enter your license key. To find it, click on the hyperlinked text Retrieve your license key.
This will open a new tab and take you to the My Account area of the MonsterInsights dashboard. Copy your license key from here.
Now, return to the other tab you were working in and paste your license key in the box. It will automatically verify for you.
Next, you need to connect Google Analytics to your site. Click on Connect MonsterInsights.
Select your account to sign in to Google.
You’ll need to grant permissions for MonsterInsights to have read access to your data.
So to do this, click on Allow.
Next, select the correct profile and click Complete Connection.
You’ll be sent back to the dashboard automatically. Now, you can customize other settings and click Finish Setup & Exit Wizard.
You did it! You’ve activated the plugin and successfully configured Google Analytics on your site. You’re one step closer to being able to track forms.
5. Install the MonsterInsights Forms Addon
Without MonsterInsights and the Forms Addon, tracking your contact form leads can be hard. For example, without the Addon, you’ll need to set up a Google Analytics goal for every single WordPress form you create.
This can be super time consuming, especially if you have dozens of forms on your site that you want to track.
In addition, if you’re tracking conversions as form submission events (event tracking), you’ll need to add an extra tracking code into every page where you publish your form.
MonsterInsights takes the pain out of web form conversion tracking and makes it easier for WordPress users. All you need to do is install the Forms Addon to see that information when anyone sends a form on your site.
To install the Forms Addon, go to Insights » Addons and click Install under the MonsterInsights Forms Addon.
The Forms Addon is now active. Get ready to track link clicks!
6. See Your Conversion Rates in Google Analytics
To track your form views and conversions, log into your Google Analytics account.
In the left-hand menu, navigate to Behavior » Events » Overview. This is the area of Google Analytics where button clicks and other events are tracked.
You can now see the events overview report of your website. In the Event Category column, click on Form.
So to view the number of impressions and conversions, click the Event Action link just above the table.
Under Event Label you’ll also see each form ID along with the number of submissions it received.
In Google Analytics, you can also identify which page drives the most contact form submissions.
To view your high converting pages, click Conversions in the above report.
Then click the Secondary dimension dropdown menu, and then select Page. You can now find your high converting pages on your site.
7. Using UTM Codes
Asking yourself how do you make a trackable link? Check out this guide on UTM Tracking Codes if you’d like more in-depth information on what they are and what they can do.
UTM parameters, also known as UTM codes, are little snippets of text added at the end of your URL. UTM Codes offer advanced referral tracking to learn which source/medium is providing you with the most form submissions.
Here are some things you can track with UTM query strings:
- Which social media network is your highest referral source and converts the most form entries
- Which reason someone is contacting you about
- How a particular campaign is preforming
For example, if you’re running a Facebook ad, adding a URL code to your ad ‘s link would look something like:
- http://example.com/?utm_source=facebook
If a visitor clicks on your Facebook ad and converts, the parameter will be read into the hidden field you have set up. Then, that info will be sent to you along with the form submission.
Also, you can also track more than one source by separating URL codes with “&” like this:
- http://example.com/?utm_source=facebook&utm_medium=social
8. See Your UTM Code Results in Google Analytics
If you want to see which of your marketing efforts are getting the best results, you need to reading the results of your UTM Tracking Codes.
Head over to this step by step tutorial on Where to Find UTM Tracking Code Results Data in Google Analytics to learn exactly how it’s done.
Final Thoughts
And that’s it! You now know how to use Google Analytics to track form submissions in WordPress. You can use similar tools to track button clicks in WordPress as well.
And if you’re trying to get more subscribers you can convert, you might 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.
How can I track WPForms’ form submissions with the Facebook Pixel?
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! 🙂
How can track submissions using Google Tag Manager?
Hi Hector,
I apologize as we’re not able to provide support for Google Analytics. However, our sister plugin mentioned in the article above, MonsterInsights, has a great guide on how to use Tag Manager.
I hope this helps you to get started! 🙂
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.
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 🙂
Hi Jess,
Other then adding the code to a confirmation message/page for the form, is there a way to do it the simple way and adding an onclick to the submit button directly?
Hi Ido,
We don’t have a way to do this right now, but I’ve made a note on our feature request list so we can keep it on our radar! Thanks for the suggestion 🙂
Hello! I was hoping to find out…as I am newish to wordpress…how do I track where forms have been used within a website?
Meaning, I started working with a business that has been using a form app and now want to start using a different one. But I am not sure WHERE those older forms are attached within their website and I don’t want to generate broken links somewhere by just deleting them! Hope I am making sense here! Thanks for any help!
Rachelle
Hi Rachelle,
Great question. A super easy way to search your site is with a query string — which is simpler than it sounds. To give this a try, you just need your URL (I’ll use http://test.com/ as an example) and then you’ll add a short query string (
?s=
) to the end to perform a search. For example, if you wanted to track down all of the Ninja Forms on your site to replace them, you could type this into your browser bar:http://test.com/?s=ninja_form
The part after the equals sign should just be whatever name you see in that plugin’s shortcode. This will load search results for any page/post that includes the shortcode for that forms plugin, so you can easily replace those with WPForms 🙂
I hope this helps!
I am reaaly surprised that I have to use another tool to track the forms at google analytics.
Hi Enis,
The reason is because currently we don’t have a built-in analytics feature in WPForms. So in order to track this info, you’d need a separate plugin like MonsterInsights.
I hope this helps! 🙂
Is there no way for us to just add 2 lines of java script to the form submit button ? I have set up google analytics already and I have the code to insert, but not so easy to know where this submit button code is.
Hi Manas, thanks for your question!
If you have a WPForms license, you have access to our email support, so please submit a support ticket.
Otherwise, we provide limited complimentary support in the WPForms Lite WordPress.org support forum.
Have a good one 🙂
Lol, you guys are pure marketers. I’m a paid subscriber of WP forms and I think this is ridiculous! Sell another paid plugin subscription and not able to provide support for establishing a connection between GA and WP Forms… I was a better opinion of you. Even free CF7 plugin provides the manual on how to set up the tracking.
Hey Lurii – This article is more about setting up Google Analytics tracking with WPForms and MonsterInsight, as that is the easiest way to do it. It will involve writing some custom functions if you want to do it without any plugin. Just to give you some heads up, you can use this action and add the analytics tracking code in your functions. This action gets triggered when there is a successful form submission.
I hope this info helps!
Also a paid subscriber here. What you do here is some sort of anti-marketing for your plugin. Like if adding a basic functionality like tracking form submissions would be too much to ask for. It’s a little riduculous, don’t you think?
Hey Michael – Great question! I understand what you are talking about. In my opinion, analytics is much more than just tracking the form submissions, you can fetch many more details with a proper analytics tool like Google Analytics and as mentioned in the article MonsterInsights is a great plugin to integrate Google Analytics to your site easily. If you are interested in tracking just form submissions, we have a quick snippet here on how to track form submissions without any plugins.
I hope this helps!
Do you have a guide on UTM tracking for forms without the need to install and pay for another 3rd party plugin???
Hi Wayne! We’ve got a Developer’s Doc that will give you some insight into adding UTM tracking without the need for a plugin. It would require some custom coding though, and you can see the article here.
If you require further assistance, please submit a support ticket if you have an active WPForms license.
Otherwise, we provide limited complimentary support in the WPForms Lite WordPress.org support forum.
Thanks!