Form Setup
Set up SourceTag with Zoho Forms
Zoho Forms is Zoho’s standalone form builder (separate from Zoho CRM Webforms). It has its own hidden field type in the form editor, and SourceTag can populate those fields when the form is embedded on your site.
If you are using Zoho CRM Webforms instead, see Set up SourceTag with Zoho CRM Webforms.
What you need
- SourceTag installed on your website
- A Zoho Forms account
- The form embedded on your site using the JavaScript embed (not iframe)
Step 1: Open your form in the Zoho Forms builder
Log in to Zoho Forms, open your form, and click Edit to open the form builder.
[IMAGE: Screenshot of Zoho Forms builder]
Step 2: Add hidden fields
- In the form builder, look at the field palette on the left
- Under Advanced Fields, find Hidden Field
- Drag it onto your form
- Repeat for each SourceTag field
[IMAGE: Screenshot of Zoho Forms field palette showing the Hidden Field option 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)
Step 3: Set the field name
For each hidden field:
- Click on the hidden field in the builder
- In the field properties panel, find Field Link Name (this controls the HTML name attribute)
- Set it to the SourceTag field name exactly (e.g.
st_fc_channel) - Leave the default value empty
Zoho Forms sometimes auto-generates a link name based on the field label. Make sure the link name matches the SourceTag field name, not just the label.
[IMAGE: Screenshot of Zoho Forms hidden field properties showing the Field Link Name]
Step 4: Embed using the JavaScript method
- In Zoho Forms, click Share or Integrate
- Choose Embed in your website
- Select the JavaScript embed option (not iframe)
- Copy the embed code and paste it onto your page
<!-- Your site already has SourceTag -->
<script src="https://cdn.sourcetag.io/scripts/YOUR_ID/st.js" async></script>
<!-- Zoho Forms JS embed -->
<script type="text/javascript" src="https://forms.zohopublic.com/YOUR_ACCOUNT/form/YOUR_FORM/formperma/YOUR_ID/js"></script> The iframe embed loads the form on Zoho’s domain, which means SourceTag cannot access the fields. Use the JavaScript embed.
[IMAGE: Screenshot of Zoho Forms embed options with JavaScript embed selected]
Step 5: Test
Visit the page with UTM parameters:
?utm_source=test&utm_medium=cpc&utm_campaign=zoho-forms-test Submit the form. In Zoho Forms, go to All Entries and check the test submission. The hidden fields should contain your attribution data.
[IMAGE: Screenshot of Zoho Forms entry showing populated hidden fields]
Tips
- Field Link Names in Zoho Forms are case-sensitive. Copy the names from the Fields page in your SourceTag dashboard.
- If you have a Zoho CRM integration set up on the form, make sure the hidden fields are mapped to the right CRM fields in the integration settings. See Set up SourceTag with Zoho CRM for the CRM side.
- Zoho Forms integrations (Zoho CRM, Zoho Sheets, webhooks, etc.) will include hidden field values.
- If your hidden fields come through empty, inspect the form HTML in your browser dev tools and confirm the
nameattributes match the SourceTag field names.