• Answer

HubSpot UTM tags: build every campaign link in Tracking URLs

If you run campaigns on several channels, there’s one place in HubSpot to build every link: Tracking URLs, in your settings. A campaign name is required there, and the source you pick affects where the visit is categorized in your analytics.

  1. Click the settings icon in the top navigation bar.
  2. In the left sidebar, go to Tracking & Analytics > Tracking URLs.
  3. In the upper right, click Create tracking URL.
  4. Give it a campaign name. Visits to the link are attributed to that campaign in the sources report and count toward its analytics.
  5. Pick a source from the Source dropdown.

What the other fields are for

  • Custom UTM Source: select Other campaigns and you enter your own source. HubSpot’s example is FB_Campaign_1.
  • UTM Medium: optional. It takes the name of your banner ad, social post or email.
  • UTM content: optional. It tells apart several ads on one page.

What HubSpot does with your tags

HubSpot checks the full page URL in the First page seen property, and the referring domain if there is one, against its traffic source rules in a fixed order. One rule asks whether utm_source, utm_medium, utm_campaign or source is present and doesn’t contain the word “email”, “adword”, “ppc” or “cpc”. So those words aren’t neutral in a tag.

On the contact, Original Traffic Source shows the first known web source and Latest Traffic Source the most recent. HubSpot sets the drill-down properties itself, and you can’t update them by hand. Change a record’s traffic source and they’re cleared.

Where to read campaign, source and medium

In the Sources table, click the Sessions number to see the campaign, which comes from utm_campaign in the URL. Click the Sessions number for a campaign, and you get its utm_source and utm_medium values.

Our take

We’d make one rule first: no campaign link goes out unless it was built in Tracking URLs. The campaign name is required there, and it’s the value the Sources table shows.

The source is easier to get wrong. We’d settle once which Source option each channel uses, and we wouldn’t change a contact’s traffic source to tidy a report, because that clears the drill-downs.

About VelocityStack

Tagging only holds when every link is built the same way. VelocityStack sets up CRMs on HubSpot, Attio or the one you already have. We set up your HubSpot tracking so every campaign link is built one way and lands on the contact record with its source, in one report instead of several.

See how we set up HubSpot tracking or book a 20-minute call.

Sources

  1. Create tracking URLsknowledge.hubspot.com
  2. Understand HubSpot's traffic sources in the web traffic analysis toolknowledge.hubspot.com
  3. Understand Original and Latest traffic source propertiesknowledge.hubspot.com

Found an error? Tell us.

Related service CRM and automation