Form Setup
Set up SourceTag with Fluent Forms
Fluent Forms (WP Starter and above) has a Hidden Field element you can drag into your form. You add one per SourceTag data point and set the name attribute to match.
What you need
- SourceTag installed on your site (script tag or WordPress plugin)
- Fluent Forms (free version includes hidden fields)
Step 1: Open your form in the Fluent Forms editor
Go to Fluent Forms > All Forms and click Edit on the form you want to track.
[IMAGE: Screenshot of Fluent Forms form list with Edit button highlighted]
Step 2: Add hidden fields
- In the form editor, click the Add Field button (or look at the field panel on the right)
- Under Advanced Fields, find Hidden Field
- Click or drag it into your form
- Repeat for each SourceTag field
[IMAGE: Screenshot of Fluent Forms field panel showing Hidden Field under Advanced Fields]
Core fields (add these)
Add a hidden field for each of the following:
st_fc_channelst_fc_detail_1st_fc_detail_2st_fc_detail_3st_fc_detail_4st_lc_channelst_lc_detail_1st_lc_detail_2st_lc_detail_3st_lc_detail_4st_fc_landing_pagest_lc_landing_page
Optional extended fields
If you have enabled extended field groups in your SourceTag dashboard, also add:
st_fc_click_idandst_lc_click_id(click IDs)st_visits(visit count)st_days_to_convert(days since first visit)st_device(device type)
[IMAGE: Screenshot of Fluent Forms editor showing multiple hidden fields added to the form]
Step 3: Set the field name attribute
For each hidden field:
- Click on the hidden field in the form editor
- In the field settings panel (right side or in a popup), find the Name Attribute setting
- Set it to the SourceTag field name exactly (e.g.
st_fc_channel) - Leave the Default Value empty
In some versions of Fluent Forms, the name attribute is under the Admin Label or in the Input Customization tab. The key thing is that the HTML name attribute on the rendered field matches the SourceTag field name.
[IMAGE: Screenshot of Fluent Forms hidden field settings showing the Name Attribute input]
Step 4: Save and test
Save your form. Visit a page with this form using UTM parameters:
?utm_source=test&utm_medium=cpc&utm_campaign=fluent-test Submit the form. Go to Fluent Forms > Entries and open the test submission. The hidden fields should contain your attribution data.
[IMAGE: Screenshot of Fluent Forms entry showing populated hidden fields with attribution data]
Tips
- You can copy field names from the Fields page in your SourceTag dashboard (each name has a copy button).
- Hidden fields are invisible to visitors on the front end.
- If the name attribute field is not obvious, check the Advanced Options or Input Customization tab within the hidden field settings.
- Fluent Forms integrations (Zapier, webhooks, email notifications) will include hidden field values. Make sure your integration maps them correctly.