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

  1. Open your form in the Tally editor
  2. 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

  1. In the settings, find the Hidden fields section
  2. Click Add hidden field
  3. Enter the field name exactly as it appears in SourceTag
  4. 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_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 have 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 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.