AFL UTM Tracker Documentation

  1. Home
  2. Docs
  3. AFL UTM Tracker Documentation
  4. Other Form Integrations
  5. Elementor Forms: Setup UTM parameter Tracking

Elementor Forms: Setup UTM parameter Tracking

Use our AFL UTM Tracker plugin to capture dynamic UTM parameters of your Elementor Form submissions.

We will be using our Javascript Merge Tag to populate the UTM parameters into the Elementor form’s hidden fields.

NOTE: Hidden fields are not required for WordPress form builder plugins which we have seamless integration. You will also get a more enhance UTM attribution report.

Requirements

  • AFL UTM Tracker v2.18.1 or above.
  • Elementor Pro v3.28.0 or above.

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. Go to Pages > New Page.
  3. Edit the page using Elementor.
  4. Add a Form widget to the page.

Last Touch UTM Parameters

Here’s an example to capture the last touch utm_source, utm_medium and utm_campaign into 3 hidden fields and inserting our Javascript Merge Tag into the Default Value field.

  1. Add an item to the form.
    • Type: Hidden
    • Label: Last UTM Source
    • Advanced > Default Value: afl_utm_js:utm_source
    • Advanced > ID: utm_source
  2. Add an item to the form.
    • Type: Hidden
    • Label: Last UTM Medium
    • Advanced > Default Value: afl_utm_js:utm_medium
    • Advanced > ID: utm_medium
  3. Add an item to the form.
    • Type: Hidden
    • Label: Last UTM Campaign
    • Advanced > Default Value: afl_utm_js:utm_campaign
    • Advanced > ID: utm_campaign

Click Publish or Save Draft.

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.

Elementor > Set field type to hidden
Elementor > Set field type to hidden
Elementor > Set default value
Elementor > Set default value

Test your Form

Simulate a new visitor

  1. Generate your UTM tracking URL using Google Campaign URL Builder.
  2. Launch your browser in private-browsing mode to simulate a new visitor.
  3. Paste your UTM URL in the address bar and go.
  4. Navigate your site like a normal visitor.
  5. Then submit your form.

Elementor Forms

  1. Login to your WordPress admin dashboard.
  2. Go to Elementor > Submissions > Select your form.
  3. View the latest submission for the UTM parameters.
Elementor Form Submission
Elementor Form Submission