← All docs

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.

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.

Core fields (add these)

  • 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 extended fields

If you’ve enabled extended field groups in your SourceTag dashboard, also add:

  • st_fc_click_id and st_lc_click_id (click IDs)
  • st_visits (visit count)
  • st_days_to_convert (days to convert)
  • st_device (device type)

See Captured Fields for the full list of available fields.

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.

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.

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.

Doesn't answer your question or need more help? Get in touch.