Form Setup
Set up SourceTag with Tally
Tally has a straightforward hidden fields feature. You define them in the form settings and SourceTag populates them when the form is embedded on your site.
What you need
- SourceTag installed on your website
- A Tally form embedded on your site
Step 1: Open your form settings in Tally
- Open your form in the Tally editor
- Click the Settings icon (gear icon) or go to the form’s settings page
[IMAGE: Screenshot of Tally form editor with the Settings icon highlighted]
Step 2: Add hidden fields
- In the settings, find the Hidden fields section
- Click Add hidden field
- Enter the field name exactly as it appears in SourceTag
- Repeat for each field
The field names must match exactly, including case and underscores.
[IMAGE: Screenshot of Tally hidden fields settings with fields being added]
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 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 Tally hidden fields section with all core fields added]
Step 3: Embed the form on your site
Use Tally’s embed code to place the form on your page. The page must also have the SourceTag script installed.
Tally’s standard embed (the <script> based embed) works with SourceTag. If you are using a popup or slide-in format, the standard embed is still the most reliable.
<!-- Tally embed example -->
<iframe data-tally-src="https://tally.so/embed/YOUR_FORM_ID?alignLeft=1&hideTitle=1&transparentBackground=1" ...></iframe>
<script src="https://tally.so/widgets/embed.js"></script> [IMAGE: Screenshot of Tally embed options]
Step 4: Test
Visit the page with UTM parameters:
?utm_source=test&utm_medium=cpc&utm_campaign=tally-test Submit the form. In Tally, go to your form’s Submissions tab and check the test entry. The hidden fields should contain your attribution data.
[IMAGE: Screenshot of Tally submission showing populated hidden fields]
Tips
- Field names are case-sensitive. Copy them from the Fields page in your SourceTag dashboard to avoid typos.
- Tally hidden fields will appear in your submission data, integrations (Zapier, webhooks, etc.) and notification emails.
- If hidden fields are showing as empty, check that SourceTag is loading on the same page as the embedded form.
- Tally’s free plan supports hidden fields.