HubSpot Forms
UTM tracking for HubSpot Forms
Every HubSpot Forms submission arrives with the channel, source and click ID attached.
Your website
Script installed
SourceTag
Captures attribution
HubSpot Forms
Hidden fields sent
Your tools
Data arrives tagged
Your website
Script installed
SourceTag
Captures attribution
HubSpot Forms
Hidden fields sent
Your tools
Data arrives tagged
The problem
HubSpot Forms captures what people type into the form. It has no idea how that visitor found your site, or which ad they clicked to get there. That data lives in the URL and the referrer, not in anything HubSpot Forms can see on its own.
How to set it up
Add a handful of hidden fields to your HubSpot Forms form. SourceTag's script finds them and fills them in the moment someone hits submit, so the channel, click ID and landing page arrive with the rest of the entry.
Get SourceTag running
Paste the SourceTag script into your site header.
Name the hidden fields to match
In HubSpot Forms, add hidden fields called st_fc_channel, st_fc_detail_1 and so on. Your SourceTag dashboard has the full list.
Submit one test entry
Load your site with ?utm_source=test&utm_medium=cpc, submit the form, and look for the attribution data on the entry.
Where your data ends up
HubSpot Forms sends form data to your CRM, email tool, or wherever you've connected it. The attribution data rides along in the hidden fields.
Frequently asked questions
The core fields are st_fc_channel, st_fc_detail_1, st_fc_detail_2, st_fc_detail_3, and st_fc_detail_4 for first click data. There are about 20 fields total covering first click, last click, landing pages, and click IDs. See the setup guide for the full list.
Yes. Hidden fields can sit on any step. SourceTag populates them regardless of which step they're on.
You just add hidden fields. Your existing visible fields stay exactly as they are. Visitors don't see any difference.
Wherever your HubSpot Forms submissions go. If they feed into a CRM, email tool, or spreadsheet, the attribution data rides along as extra fields.


