Links

Form Submission Tracking

How AnyTrack automatically tracks form submissions and provides clean data for data driven marketing campaigns.
Form submission tracking can be a real headache for marketers. There are so many types of forms that it's literally impossible to keep up with the coding required to track form submissions.
One of the most popular questions on digital marketing forms like Afflift, Unbounce community and others, is: How can we pass tracking data into forms, and how to track these forms submissions in Google Analytics.
In this article you'll learn how to use AnyTrack to automatically track your form submissions, and what you can do with the tracking data you will be able to collect.

Form submission tracking made easy

If you need to track form submissions, use the tracked data in different analytics, pixels and marketing tools, AnyTrack is the tool that will save you countless hours and headaches.
  • AnyTrack automatically tracks all your form submissions
  • AnyTrack sends form submissions events to your Google Analytics and Facebook Pixel.
  • AnyTrack adds tracking data to your forms so you can further monetize your subscribers
  • You don't need to code or complex script - it's 100% automated.
  • You can keep using your current forms and landing page providers, AnyTrack integrates with any types of forms.
There are many use cases that involve form submission tracking, so the use case below is only an example from which you'll be able to extract what you need for your own use case.

Use Case: Form submission tracking for a coupon website on Google Ads

You are running a campaign on Google Ads for a coupon website. Your landing page features coupons from various affiliate networks and in order to access the coupon, the visitors must first submit their email address.
Because the Google Ads campaign can be optimized according to multiple conversion goals (including ROI / ROAS), it is important to understand that you will want to send all your conversion data, whether it originates from the Google Ads campaign or from the email sequences.

Conversion data objectives:

  • Send all tracked events and conversions to Google Analytics + Facebook Pixel
    • Form Submissions and Outbound Clicks
    • Tracking affiliate conversion events & revenues
  • Email Sequence tracking
    • Send conversions to email marketing software
    • Send conversion data to Google Analytics and Facebook Pixel
  • Build custom audiences according to each conversion goal
  • Google Ads optimisation
    • Campaign A lead Generation
    • Campaign B CPA
    • Campaign C ROAS
    • Retargeting
      • Audience
      • Lookalike

Traffic flow:

  1. 1.
    Landing page visit
  2. 2.
    Click on Coupon
  3. 3.
    Email optin
    1. 1.
      Optin sent to ConvertKit email platform
  4. 4.
    Visitor is redirected to affiliate offer
  5. 5.
    Email sequence starts
    1. 1.
      Email campaigns to promote affiliate offers on your site or landing page.
    2. 2.
      Email campaigns to promote affiliate offers without going through your landing page.

Form Submission Tracking Challenges

The problem with form submission tracking is that there aren't any set standards to build forms, nor are forms always behaving in the same manner. Some will redirect to a thank you page while other will simply refresh the page, or display a "thank you" message.
Some forms are generated by a JavaScript, and others are pure simple html codes on your webpage.
Lastly, many marketers use landing page builders, funnel builders or WordPress page builders such as Elementor.
Because form tracking can be a real pain point for marketers, AnyTrack automatically tracks form submissions events and sends them to your analytics and pixels.
Yet, if you want to further use your subscribers, you will need to add a hidden field to your forms so that, AutoTag can fill the field with a tracking ID.

Form properties to take into consideration:

Most of the information is automatically tracked and handled by AnyTrack, but it's always good to be aware of the various items involved in a form.
  • How is the form built?
    • HTML
    • JavaScript
    • iframe
  • Form fields customization
    • Field name, label, default value, requirement, hidden
  • Form behavior + customization
    • Refresh, Redirect
  • Form field forwarding
    • Can you pass fields to a destination URL?
  • Form integrations
    • Webhooks?
    • Direct integration with CRM, Email marketing software?
  • Form builder
    • CMS / elementor
    • Form plugin - Gravity form, Jotform
    • ClickFunnels, TypeForm
By Default, AnyTrack will AutoTrack all form submissions events, and send form submit events to the pixels and analytics platforms integrated in your AnyTrack account.
However, if you would like to track specific subscribers engagements you will need to add a custom field to your forms so that AnyTrack can AutoTag the form submission with a click_id.
The click_id parameter tied to the subscriber can then be used for further attribution. For instance, if you send out an email, you can append the click_id value to the offer link.

Prerequisites for forms submissions tracking

  • Your form needs to have a hidden field with the following default value: {click_id}
  • If you want to send the Click ID variable to a destination such as your CRM or email marketing software, you should create a custom field in the destination (mailchimp and others). Consult with your service provider on how to set this up.

Form settings:

  1. 1.
    Add a hidden field
  2. 2.
    Field Name: Any name
  3. 3.
    Field default value: {click_id}

Optional form attributes

By default, AnyTrack will track the form name and formid attributes, and send it them in the Event Category. yet, you can add additional values which will be captured and send to GA.
  • data-payout="10" 👉 to send a monetary value to form submission. This will appear in Google Analytics in the event value.
  • data-label="my lead gen" 👉 to set a name with the form.

Example of a form

<form action="/action_page.php" method="post" id="optin123" name="optin" data-payout="10">
<input type="text" id="fname" name="fname" value="John"><br>
<input type="text" id="lname" name="lname" value="Doe"><br>
<input type="email" id="email" name="email" value="[email protected]"><br>
<input type="hidden" id="subid1" name="subid1" value="{click_id}"><br>
<input type="submit" value="Submit">
</form>
if your form provider doesn't allow curly brackets {} you can add the value in encoded format %7Bclick_id%7D).

Example in Elementor Wordpress plugin:

💾
Save your form and test it!
You should immediately see the conversion in your Google Analytics Real-time Dashboard

Form tracking reporting

There are three types of reporting available through AnyTrack.

AnyTrack reporting dashboard

Since Form submissions are actions taken by your visitors on your website, they are labeled as "Engagements".
They will appear in different sections of the AnyTrack dashboard so you can have a high level reporting on your KPI's

Analytics platforms

Form submissions will be reported in your analytics platforms an dad networks according to the following name: "AnyTrack Form Submit"
Google Analytics Goal Conversions

Ad networks / Traffic Sources

If the form submission is attributed to an ad network that has been configured in your AnyTrack account, the Event will be sent to the platform and attributed to the conversion goal you have setup.

Supported native integrations