HubSpot makes it relatively easy to pass UTM parameters from a URL into hidden fields in a HubSpot form. In this blog post, we will outline step-by-step how to do so.
We will want to create HubSpot properties for the 5 standard UTM parameters:
To do so, in HubSpot click on Settings -> Properties -> Create a property under Contact Properties.
I also like to create a Property group called "UTM Parameters". It should look like this when you're done.
Note that the "Internal Name" of the HubSpot property should be all lowercase to match the URL parameter name in the URL.
Go to Marketing -> Lead Capture -> Forms and select a form you want to update.
Add your newly created UTM parameter properties as hidden form fields to your form.
Save your form!
Append URL parameters to a landing page with your HubSpot form. Here is a string of URL parameters you can use for testing:
Now submit your form and go view the contact in HubSpot. It should look like this:
If you see the above, everything is working and you're all set – congratulations!
We will follow-up with you shortly to schedule a day/time that works for you and your team.Request a Demo