BlogGlossary

What is UTM tracking?

Abbas Aga
Abbas Aga · 1 min read

TL;DR:
UTM tracking adds labelled tags to a link's URL (utm_source, utm_medium, utm_campaign and two optional ones) so analytics can record exactly which campaign, channel and ad brought each visitor. When someone clicks a tagged link, the tool reads those tags and files the visit under that campaign, which is how you measure what your marketing actually drives.

UTM tracking is how you tell analytics, in a link, where a click came from. Without it, a visitor from your newsletter and a visitor from a paid ad can look identical. With it, each arrives pre-labelled with the campaign that sent them, so your reports can break traffic and revenue down by exactly the marketing that produced it.

The five UTM parameters

ParameterWhat it recordsExample
utm_sourceWhere the traffic came fromnewsletter, google, twitter
utm_mediumThe channel typeemail, cpc, social
utm_campaignThe specific campaignspring_sale, launch
utm_termPaid keyword (optional)running_shoes
utm_contentWhich link or variant (optional)header_cta, footer_link

How to use them

You add the tags to the end of a link's URL as query parameters, like example.com/?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale. Build them consistently (the same source and medium spelled the same way every time) because analytics groups on the exact text, so 'Twitter' and 'twitter' become two different sources. Most analytics tools then show a campaigns or UTM report that rolls the tagged visits up automatically.

Keep a shared naming convention for UTMs. The most common reporting mess is the same campaign split across a dozen spellings ('FB', 'facebook', 'Facebook', 'fb-ads') none of which add up.

Open Analytics reads UTM tags automatically and shows campaigns beside the revenue they earned, cookielessly.

See campaign reports

Frequently asked questions

What does UTM stand for?
UTM stands for Urchin Tracking Module, named after Urchin, the analytics company Google acquired that became Google Analytics. The name stuck as the standard way to tag links so analytics can attribute a visit to a specific source, medium and campaign.
Do UTM tags work with cookieless analytics?
Yes. UTM parameters live in the URL, not in a cookie, so cookieless tools read them just fine. Open Analytics, Plausible and the other privacy-first tools all support UTM campaign reporting without setting any cookie or needing a consent banner.
Which UTM parameters are required?
In practice utm_source, utm_medium and utm_campaign are the three you should always set; utm_term and utm_content are optional and mainly useful for paid search keywords and A/B-testing which link was clicked. Being consistent matters more than using all five.