lesson
30 min

UTM Tags: Label Every Link

Add UTM tags to every link so you know which channel, campaign, and message brought each visit.

What you will be able to do

Build a tagged link with UTM parameters, using a naming rule your whole team follows.

What attribution is

Attribution means connecting a result to the effort that caused it. Someone signed up for your workshop. Was it the email, the social post, or the flyer? Without attribution, you are guessing. With it, you know what to keep and what to stop.

The Temerarii method calls this the tag spine: every touch, on every channel, carries the same kind of label, so every result lands in one place.

UTM parameters

UTM parameters are short labels added to the end of a link. Analytics tools such as Google Analytics read them and record where each visit came from. They look like this:

https://example.org/workshops?utm_source=newsletter&utm_medium=email&utm_campaign=fall-coding-club
ParameterAnswersExample
utm_sourceWho sent the visit?newsletter, linkedin, partner-library
utm_mediumWhat kind of channel?email, social, qr, referral
utm_campaignWhich campaign?fall-coding-club
utm_contentWhich version or link?first-line-a, footer-link
utm_termWhich keyword (mostly for search ads)?free-coding-class

A naming rule

UTM tags are only useful if everyone writes them the same way. "Email", "email", and "E-mail" show up as three different channels. Agree on a rule:

  • All lowercase.
  • Hyphens, not spaces.
  • A fixed list of allowed utm_medium values.
  • One campaign name per campaign, written down in a shared sheet.

Never put personal information in a link

Do not put names, email addresses, or phone numbers in UTM tags or anywhere else in a URL. Links get shared, logged, and forwarded. Google's analytics terms also forbid sending personal information to their tools. Tag the campaign, not the person.

Build a link

The code below builds a tagged link and applies the naming rule for you. Edit the values and run it. It works in the editor's console. Keyboard users: press Esc, then Tab, to leave the editor.

UTM link builder

Change the source, medium, and campaign to your own. Try typing a value with capital letters or spaces, then watch the naming rule fix it.

Loading the code editor...

Press Esc, then Tab, to move focus out of the editor.

Quiz: Check your understanding

  1. 01Which UTM parameter tells you the kind of channel, like email or social?

    Choose one.

  2. 02Which of these should never go in a UTM tag?

    Choose one.

Go deeper: The Power of Web & Business Analytics: Turning Data Into Decisions

Ask. Answer. Build together.