Quick tipHow toMarketing Hub

Capture UTM values with hidden form fields

The most viewed Community thread of all: getting UTM values into contact properties.

Subscription
All tiers
Permissions
Edit forms permission
Time
4 min · Intermediate
Last verified

Short answer

HubSpot's KB: hidden form fields set property values without visitors typing them, and can capture URL parameters such as UTM values (for example utm_campaign) into contact properties on submission. A required field can't be hidden. If Pre-populate fields for returning visitors is on, the hidden value may be overwritten depending on field type.

1. Fields and properties

The Add to form panel in my demo portal, with a Properties tab for existing properties.

Form editor Add to form panel with Fields, Properties and Other
Properties (1).

2. Remember

  • HubSpot's own source properties already record traffic source; UTM fields add your own detail.
  • Use consistent UTM values. See tracking URLs.

3. Related

Other campaigns source.

Sources

New field notes by email

One email when a new article publishes.

Still stuck?

If this did not fix it, the problem is probably specific to your setup. Book a call and we will look at it together.

Book a call with Sam