Form Setup
Set up SourceTag with Ninja Forms
Ninja Forms has a Hidden field type in its field panel. Add one for each SourceTag data point.
What you need
- SourceTag installed on your site
- Ninja Forms (free or Pro)
Step 1: Open the Ninja Forms builder
Go to Ninja Forms > Dashboard and click Edit on the form you want to track.
Step 2: Add hidden fields
- In the right-hand field panel, click Add New Field
- Search for “Hidden” or find it under Misc fields
- Drag it onto your form
- Click the field to open its settings
- Set the Label to the SourceTag field name (e.g.
st_fc_channel) - In the Administration section, set the Field Key to the same name
Repeat for each field.
Core fields (add these)
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’ve 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 to convert)st_device(device type)
See Captured Fields for the full list of available fields.
Step 3: Check the field key
The Field Key in Ninja Forms is the HTML name attribute used in the form output. SourceTag matches on this. Make sure it matches the SourceTag field name exactly.
Go to each hidden field’s Administration tab and verify the key.
Step 4: Publish and test
Click Publish to save the form. Visit a page with this form using UTM parameters:
?utm_source=test&utm_medium=cpc&utm_campaign=ninja-test Submit the form. Check Ninja Forms > Submissions for the attribution data.
Tips
- Ninja Forms free version includes the Hidden field type.
- If you use Ninja Forms CRM extensions (Salesforce, etc.), map the hidden fields in the extension settings.
- The Field Key is under the Administration section of each field’s settings.
Doesn't answer your question or need more help? Get in touch.
