Skip to content

Acquisition

UTM parameters

UTM parameters are five tags added to the end of a link that tell analytics where a click came from: utm_source, utm_medium, utm_campaign, utm_term and utm_content. They let you label traffic yourself instead of relying on the referrer.

Also called UTM tags, UTM codes, campaign parameters, utm_source Updated

https://example.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=spring-sale

How is it calculated?

The tags are plain query parameters. The analytics script reads them from the landing URL on the first pageview of a visit and stores them with the session.

utm_source names who sent the click (newsletter, google), utm_medium names the kind of traffic (email, cpc), utm_campaign names the effort (spring-sale). utm_term and utm_content are optional detail, such as the keyword or which button was clicked.

Example

You link to your pricing page from the March newsletter with utm_source=newsletter&utm_medium=email&utm_campaign=march-update. Every click is filed under Email, source newsletter, campaign march-update, even when the mail app sends no referrer.

Common mistakes

  • Inconsistent spelling. Newsletter, newsletter and news-letter become three sources. Pick lowercase with hyphens and keep a list.
  • Tagging internal links. A UTM on a link between your own pages starts a new session and overwrites the real source.
  • Swapping source and medium. Source is who, medium is how.

How CrispStats shows it

CrispStats reads all five UTM parameters, shows each as its own breakdown and uses utm_medium and utm_source to pick the channel. A paid, email, affiliate or display medium decides the channel before the referrer is considered. When revenue is connected, each campaign also shows what it earned.

Channels and sources on the demo site, Quillbook, on generated traffic. Open it in the demo 

Your traffic, crisp and clear

One script, no cookies, and every feature from the first day. Set up takes about as long as pasting a snippet.