Form Setup
Set up SourceTag with Growform
Growform builds multi-step forms that can include hidden fields. SourceTag populates these with attribution data when visitors complete your forms.
What you need
- SourceTag installed on your website
- A Growform form embedded on your site
Step 1: Open your form in Growform
Log in to Growform and open the form you want to track.
Step 2: Add hidden fields
- In the Growform builder, add a Hidden Field element for each SourceTag field
- Set the field name to match the SourceTag field name exactly
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)
See Captured Fields for the full list of available fields.
Step 3: Embed on your site
Embed your Growform on a page that already has the SourceTag script installed. SourceTag detects the form and populates the hidden fields automatically.
Make sure the form renders as part of the page’s HTML (not inside a cross-origin iframe). Growform’s standard embed methods should work.
Step 4: Test
Visit the page with UTM parameters:
?utm_source=test&utm_medium=cpc&utm_campaign=growform-test Complete the form. Check the submission in Growform (or wherever your form data is sent). The hidden fields should contain attribution data.
Tips
- Hidden field names are case-sensitive. Make sure they match the SourceTag field names exactly.
- You can copy field names from the Fields page in your SourceTag dashboard (each name has a copy button).
- If hidden fields are not populating, inspect the rendered form HTML in your browser dev tools. The hidden input
nameattribute must match the SourceTag field name. - Multi-step forms work fine. Place the hidden fields on any step — SourceTag populates them as soon as it detects the form, regardless of which step the visitor is on.
Doesn't answer your question or need more help? Get in touch.
