Form Setup

Set up SourceTag with Elementor Forms

Elementor Pro includes a form widget with a Hidden field type. You add one field per SourceTag data point.

What you need

  • SourceTag installed on your site
  • Elementor Pro (the form widget requires Pro)

Step 1: Edit your page in Elementor

Open the page with your form in Elementor’s visual editor. Click on the form widget.

[IMAGE: Screenshot of Elementor form widget in editor]

Step 2: Add hidden fields

  1. In the form widget settings panel, go to Form Fields
  2. Click Add Item to add a new field
  3. Set the Type to Hidden
  4. Set the ID to the SourceTag field name (e.g. st_fc_channel)
  5. Leave the Default Value empty

Repeat for each field.

Fields to add

Core: st_fc_channel, st_fc_detail_1, st_fc_detail_2, st_fc_detail_3, st_fc_detail_4, st_lc_channel, st_lc_detail_1, st_lc_detail_2, st_lc_detail_3, st_lc_detail_4, st_fc_landing_page, st_lc_landing_page

Optional: st_fc_click_id, st_lc_click_id, st_visits, st_days_to_convert, st_device

[IMAGE: Screenshot of Elementor form field settings with hidden type selected]

Step 3: Check the field ID

The field ID is what SourceTag uses to find and populate the field. Make sure it matches the SourceTag field name exactly.

In Elementor, the ID is set in the Advanced section of each field. It should be the same as the field name you copied from your SourceTag dashboard.

[IMAGE: Screenshot of Elementor field Advanced tab showing ID]

Step 4: Save and test

Update/publish the page. Visit it with UTM parameters:

?utm_source=test&utm_medium=cpc&utm_campaign=elementor-test

Submit the form. Check the Elementor form submissions (Elementor > Submissions) or your email notification.

[IMAGE: Screenshot of Elementor form submission with attribution data]

Tips

  • Elementor form submissions show hidden field values in the submissions list.
  • If you’re using Elementor’s email notification, add the hidden field shortcodes to the email template to include attribution data.
  • Hidden fields are not visible to visitors in the rendered form.