AFL UTM Tracker Documentation

  1. Home
  2. Docs
  3. AFL UTM Tracker Documentation
  4. Other Form Integrations
  5. WPForms Integration

WPForms Integration

You can use our AFL UTM Tracker plugin to capture UTM parameters of your WPForms submissions.

We will be using our Javascript Merge Tag to populate the UTM parameters into the form’s hidden fields since we have not build the seamless integration with Formidable Forms.

NOTE: Hidden fields is not required for form builders which we have seamless integration.

Minimum Requirements

  • AFL UTM Tracker v2.16.2 or above.
  • WPForms v1.9.0.3 – Basic plan.
Warning: The free version of WPForms does not support adding hidden fields. You will need at least their “Basic” subscription plan.

Steps

Once you have installed our plugin, make sure that you have enabled the “Javascript Merge Tag” feature in our plugin settings. You will be placing our merge tags into the hidden field default value.

  1. Login to your WordPress admin dashboard.
  2. From the side menu > WPForms > All Forms.
  3. Select a form.
  4. To capture “Last UTM Source“:
    • Add a “Hidden Field” to the form.
    • Label: Last UTM Source
    • Default Value: afl_utm_js:utm_source
  5. To capture “Last UTM Medium“:
    • Add a “Hidden Field” to the form.
    • Label: Last UTM Medium
    • Default Value: afl_utm_js:utm_medium
  6. To capture “Last UTM Campaign“:
    • Add a “Hidden Field” to the form.
    • Label: Last UTM Campaign
    • Default Value: afl_utm_js:utm_campaign

Want to populate more attribution data?

Refer to our Javascript Merge Tag list to populate First Touch UTM parameters, Last Touch UTM parameters, click identifiers (gclid, fbclid, msclkid) and other attribution data.

WPForms > Hidden Field
WPForms > Hidden Field