Track form submissions

Image of Iron Brands

Published on Feb 2, 2024 and edited on Feb 21, 2024 by Iron Brands

Tracking form submissions give you insights which marketing channels and campaigns are effective to get responses from users.

In this blog, we will discuss the importance of tracking form submissions and how to track them with Simple Analytics.

Let's dive in!

  1. Why is tracking form submissions important?
  2. How to use Simple Analytics tracking form submissions
    1. Install the Script
    2. Add events on your form
    3. Test & Access Event Data
    4. Create Goals
  3. Conclusion
Logo of MichelinMichelin chose Simple AnalyticsJoin them

Why is tracking form submissions important?

By tracking submissions, you can see how many people filled out the form, how long they stayed before abandoning it, and other useful information for measuring and understanding user behaviour.

You can get insights about demographics and other information that will help you improve the form and better understand the target audience.

Tracking form submissions collects data that gives you insights into your customers and potential leads, which content and campaigns are generating leads, and can also help you refine your forms for better results and conversions.

How to use Simple Analytics tracking form submissions

Note: The below process only form submissions of your own website/web property.

Install the Script

Start by creating your account on Simple Analytics (if you haven't done this already). This will prompt you to add your website and install the script onto your website.

This is really easy and works the same as if you would add Google Analytics to your websites. The script enables Simple Analytics to start tracking page views on your website.

Add events on your form

Once the script it added, you’ll have to add events onto your form so that Simple Analytics can track each submission.

For starters, here’s how the form HTML should look like.



<form action="/action_page.php" onsubmit="sa_event('frm_submitted')">

  Enter name: <input type="text" name="fname">

  <input type="submit" value="Submit">

</form>

Test & Access Event Data

Now that you have started collecting form submission, head over to your website’s Simple Analytics dashboard.

Then click on the events tab, and you should be able to see all your events there, including the ones you added.

Events dashboard

Create Goals

Next is the final and most important step, and that is start visualizing your metrics using our “goals” feature.

To effectively measure form submissions, create the goals based on the event triggered:

  • Define the goal: Give it a name like “Form Submitted”
  • Set the event: Choose the event “frm_submitted”
  • Mark the goal as important: Ensure it appears in the visitor dashboard for easy tracking.

Form Submission Goal

By creating the goal, you can monitor your form submission with ease.

Conclusion

Form submission tracking is important for optimizing your website's performance and meeting your business objectives. Simple Analytics makes it simple to monitor and analyze user behaviors.

At Simple Analytics we believe in an independent internet that is friendly to website visitors. If this resonates with you, feel free to give us a try!

GA4 is complex. Try Simple Analytics

GA4 is like sitting in an airplane cockpit without a pilot license

Start 14-day trial