Cookie preferences

Choose which optional cookies EndFrame may use on this site. Analytics and advertising tools load only if you allow them, and you can change your mind any time from “Cookie settings” in the footer. Whatever you choose, this tab keeps the campaign labels from the link that brought you, and they are saved with your account if you sign up. Read the Cookie Policy.

Needed for the site to work, such as remembering this choice. Always on.

Lets us load analytics tools through Google Tag Manager, including Google Analytics and Microsoft Clarity session recordings, to understand how the site is used.

Allows advertising tags to measure our ad campaigns. None run on this site today. It also keeps ad click IDs from the page address for this tab, and saves them with your account if you sign up.

Skip to main content

UTM Tracking in HubSpot: How It Reads UTMs, Original Source, and the Common Gaps

HubSpot builds its source reporting on UTM parameters, but the rules are easy to misread. This guide explains how HubSpot classifies tagged traffic, what ends up on the contact record, and where UTM data goes missing, using HubSpot's own documentation.

The EndFrame Team5 min read

Your HubSpot sources report puts a large share of contacts in Other campaigns or Direct traffic, the campaign you launched last week barely appears, and sales wants to know which ad a deal came from. HubSpot does read UTM parameters, but it uses them to fill a fixed set of source properties under its own rules, not to store each value you set. Once you understand those rules, most of the confusing numbers explain themselves. This guide walks through them, based on HubSpot's knowledge base at the time of writing.

What HubSpot records

Every contact has two pairs of source properties. Original Traffic Source is the first known web source through which the contact interacted with your business; Latest Traffic Source is the most recent. Each has two drill-down properties that add detail, such as the site, the campaign name or the search term. Companies and deals associated with the contact mirror these values, which is how source reporting reaches revenue.

All of this depends on the HubSpot tracking code being installed on the pages the visitor lands on. HubSpot's tracking URL documentation says the page must have the tracking code installed, and its source properties note that ad blockers that block HubSpot's tracking cookies can affect the values.

How UTM values become a source

HubSpot evaluates a set of numbered rules against the first page seen in the visit and the referring domain. The ones that involve UTM parameters, simplified from HubSpot's traffic source documentation:

CategoryUTM condition (simplified)Campaign name lands in
Organic socialutm_medium is social and utm_source is a recognised social networkDrill-down 2
Paid socialutm_medium contains paid, ppc or cpc with a social network as source, or a value contains paidsocialDrill-down 2
Paid searchA UTM value contains adword, ppc or cpc without a social network as source, or a valid gclid is presentDrill-down 1
Email marketingutm_source, utm_medium or utm_campaign contains emailDrill-down 1
Other campaignsA UTM parameter is present but matches none of the aboveDrill-down 1; drill-down 2 shows source / medium

Two consequences follow. First, a value like utm_medium=newsletter does not contain email, so unless the source or campaign does, the visit falls through to Other campaigns. Second, utm_medium=paid with utm_source=facebook is recognised as paid social, but utm_medium=paid-social with an unrecognised source spelling may not be. If you want HubSpot's categories to line up with GA4's channels, choose values that satisfy both, starting with the guidance in utm_source vs utm_medium.

Where the raw UTM values go

This is the part that surprises people. HubSpot's source properties capture utm_campaign in the drill-downs, and for paid search it uses utm_term as a fallback for the search term. For HubSpot marketing emails, utm_content carries the email name. What HubSpot does not document is a contact property for each raw UTM value, so there is no built-in field holding the exact utm_source, utm_medium and utm_content the contact arrived with.

HubSpot's own answer is custom properties filled by hidden form fields. Its forms can populate a field from a query string that uses the property's internal name, and hidden fields can capture URL parameters such as utm_campaign into contact properties on submission. Dynamic query strings need Marketing Hub Professional or Enterprise. The catch is that this reads the URL of the page with the form, so it misses visitors who browsed before converting. Our guide to capturing UTM parameters in hidden form fields covers storing values on arrival so the form always has them.

Diagnosing a contact in the wrong category

When a contact's source looks wrong, work backwards from the record. Open the contact and note the Original Traffic Source, both drill-downs and the first page seen. If the first page URL still carries the query string, compare its utm_source and utm_medium with the rules in the table: in most cases the values simply did not contain what HubSpot looks for, and the classification is working as designed. If the first page URL has no parameters at all, the tag never reached HubSpot, which points to a redirect, a missing tracking code on that page or a blocked cookie. If the source is Offline sources, the contact was most likely created without a tracked visit, for example by import, integration or manual entry, and UTMs could never have applied. Checking three or four contacts this way usually reveals the pattern behind a whole report.

The common gaps

  • Contacts created outside a tracked visit. Imports, API creations, integrations and manual entry have no web visit to classify. HubSpot recommends the Record Source property for understanding how these records were created.
  • Blocked tracking. If the tracking code or its cookie is blocked, HubSpot cannot connect earlier visits to the contact, and the source reflects whatever it could see.
  • Forms on untracked pages. A form embedded on a page without the tracking code submits data but cannot carry the visit history.
  • Redirects that drop the query string. If the parameters are gone before the tracking code loads, HubSpot sees the visit as untagged.
  • Inconsistent values. HubSpot matches on what the values contain, so a team using newsletter in one place and email in another will see the same channel split across categories.
  • Pre-fill overwriting hidden values. HubSpot notes that with pre-population for returning visitors on, a hidden field's value may be overwritten depending on its field type.

A setup that closes most gaps

  1. 1Install the tracking code on every page, including landing pages built outside HubSpot.
  2. 2Standardise source and medium values so they match HubSpot's rules as well as GA4's, for example utm_medium=email for every email link.
  3. 3Create custom properties for the raw UTM values you want to keep, plus a latest-touch set if you need both.
  4. 4Capture values on arrival and fill hidden form fields from storage rather than from the current URL.
  5. 5Use HubSpot's tracking URL builder, or your own builder, so values are consistent from the start.
  6. 6Review Other campaigns monthly; a growing share usually means a new team or tool using its own values.

If most of your HubSpot traffic comes from email, the conventions in UTM parameters for email marketing help keep categories clean. For broader CRM patterns, including Salesforce and Pipedrive, see how to pass UTM parameters into your CRM.

When original source is not enough

Original and Latest Traffic Source are two points on what is often a long journey, especially in B2B, where a contact might arrive from a search, return through a webinar email and convert after a sales call. The source properties are a summary of the first and most recent visits, not the whole path. For the wider problem of crediting campaigns across long sales cycles, see B2B attribution for long sales cycles.

EndFrame has no native HubSpot app. If you use EndFrame alongside HubSpot, its tracker captures UTMs and click IDs on arrival and attaches them to form submissions, and a custom webhook can deliver each lead with its campaign fields to an endpoint or automation that updates your HubSpot properties.

Frequently asked questions

Why are my HubSpot contacts showing Other campaigns?

HubSpot assigns Other campaigns when a UTM parameter is present but the values do not match any of its earlier rules, such as a medium containing email, cpc or ppc, or a recognised social network as the source. Align your source and medium values with HubSpot's rules and new visits will land in the expected category.

Can I edit a contact's Original Traffic Source in HubSpot?

HubSpot's documentation says the source properties can be changed on the record, but the drill-down properties are set automatically, cannot be updated manually, and are cleared if you change the source. Editing is therefore a last resort rather than a cleanup method.

Do I need a paid HubSpot plan to use UTM tracking?

Not to tag links. HubSpot reads standard UTM parameters on any link, so you can build them with any builder. HubSpot's own tracking URL tool is listed for Marketing Hub or Content Hub Professional and Enterprise, plus Legacy Marketing Hub Basic, and dynamic query strings for forms need Marketing Hub Professional or Enterprise.

Try EndFrame

Add a server-side path for your conversions.

EndFrame collects events first-party and forwards conversions server-side to Meta, GA4, TikTok, and webhooks with event-ID deduplication — then credits each conversion to its campaign, with the visit-to-conversion path you can audit.

No credit card required

Keep reading