Skip to main content

UTM parameters explained

A UTM parameter is a label added to the end of a link, after a question mark. When someone clicks, the label travels to your analytics tool and tells it where the visit came from. Without it, a click from a newsletter and a click from a pasted link can land in the same bucket.

A tagged link looks like this: https://yoursite.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale

The five standard parameters

ParameterAnswersExample
utm_sourceWho sent the visitor?newsletter, linkedin
utm_mediumThrough what kind of channel?email, cpc, social
utm_campaignAs part of which campaign?spring_sale
utm_contentWhich link, when a message has several?header_button
utm_termWhich paid keyword?running_shoes

Source, medium and campaign are the three to always fill. Content and term are for telling variants apart. Google Analytics 4 reads a few more, such as utm_id, but these five work everywhere.

Rules that keep the reports readable

  • Pick lowercase and stick to it. Analytics treats Email and email as two mediums and gives each one its own row.
  • Use the mediums your reports already recognise. In GA4, email lands in the Email channel and cpc in Paid Search. A medium you invent tends to end up in Unassigned.
  • Use underscores or hyphens in place of spaces. A space becomes %20 or + in the address and shows up inconsistently in reports.
  • Do not tag links that point inside your own site. A UTM on an internal link starts a new session and replaces the source the visitor really came from.
  • Keep one shared list of sources, mediums and campaign names. Two people writing fb and facebook produce two rows for the same thing.

An address that already has a query string

The UTM values go after the parameters already there, joined with &, and an anchor such as #pricing stays at the very end. Writing this by hand is where links break: a second question mark, an anchor in the middle of the query. The UTM Builder assembles the address for you, lowercases the values if you ask it to, and replaces a utm_ value that was already in the address.

Check the tagged link before you send it

A redirect can drop the query string on the way to the final page, and then the tag never arrives. Run the tagged address through the Redirect Checker and look at the last line: the parameters should still be there. The Open Graph Checker shows how the same link will look when shared.

Next step

Related guides