Skip to content
Menu

UTM parameters: a 5-minute setup for HubSpot and GA4

Fadi George · Founder, Sharily

6 min read

Key takeaways
  • UTM parameters are tags at the end of a link that tell your analytics where a visit came from.
  • utm_source, utm_medium and utm_campaign are the three to always set; utm_content and utm_term are optional.
  • Use lowercase and one written naming system, or your reports split one source into several.

If a share brings you a visitor, you want your reports to say so. UTM parameters are how. This is the starting guide in our links and tracking articles.

What are UTM parameters?

UTM parameters are tags added to the end of a link, after a question mark, that tell analytics tools where a visit came from. For example: yoursite.com/report?utm_source=linkedin&utm_medium=social&utm_campaign=q4-benchmark. The page is the same; the tags only label the visit.

The five parameters

ParameterAnswersExample
utm_sourceWhich site or sender?linkedin, newsletter
utm_mediumWhat kind of channel?social, email, paid-social
utm_campaignWhich campaign?q4-benchmark
utm_contentWhich version or placement?carousel-a
utm_termWhich keyword? (mostly for paid search)link-tracking

A naming system that holds up

  • Everything lowercase, words joined with hyphens.
  • A short, fixed list of mediums: social, email, paid-social, referral. Don't invent new ones per post.
  • Campaign names that still make sense in six months: 2026-11-black-friday, not bf.
  • Write the rules in one shared doc, and build links from it.

Where to see them in GA4

In Google Analytics 4, open Reports → Acquisition → Traffic acquisition. The default table groups visits by channel; switch the first column to Session source / medium or Session campaign to see your tags. GA4 also uses utm_medium to decide the channel group, so “social” lands in Organic Social and “email” in Email.

Where to see them in HubSpot

HubSpot reads UTM tags when someone first arrives and uses them to set the contact's original source. You'll see tagged visits in the traffic analytics and source reports, and you can filter contacts by the campaign that brought them in.

Tag only links that point to your site from somewhere else. A UTM tag on a link between two of your own pages starts a new session and hides where the visitor really came from.

UTMs on curated content

When you share someone else's article with a Sharily CTA, the click on your CTA is the visit you want to track. Sharily can add UTM tags to the CTA's link for you: utm_source=sharily, utm_medium=curated-content, a campaign named after the article's topic, and the article's site in utm_content. Tags you already put on the link are kept. See the analytics section of the product page.

FAQ

Do UTM parameters affect SEO?

No. Search engines ignore them for ranking. Use them on links you share, not on links between pages of your own site, where they would overwrite the real source of a visit.

Are UTM parameters case-sensitive?

Yes. GA4 treats LinkedIn and linkedin as two different sources, which is why a lowercase rule matters.

About the author

Fadi founded Sharily to help marketers, agencies and affiliates get more back from the content they share.

Keep reading