UTM Parameters: What They Are and How to Use Them

A practical guide to UTM tracking. Learn how to tag your links so you can tell which campaigns actually drive results.

You run an ad on Facebook. You send an email newsletter. You post on LinkedIn. At the end of the month, Google Analytics says you got 500 visits from "social" and 200 from "email." Which ad? Which email? Which LinkedIn post?

Without UTM parameters, you can't tell. With them, you can see exactly which link in which campaign brought each visitor.

What are UTM parameters?

UTM stands for "Urchin Tracking Module" (Urchin was the analytics tool Google bought and turned into Google Analytics). UTM parameters are tags you add to the end of a URL that tell analytics tools where the click came from.

A URL with UTM parameters looks like this:

https://cofeelinks.com/pricing?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale

When someone clicks this link, Google Analytics (or any analytics tool) records that the visit came from your newsletter email as part of your spring sale campaign.

The five UTM parameters

There are five standard UTM parameters. The first three are required by most analytics tools. The last two are optional but useful.

utm_source (required)

Where the traffic is coming from. Examples: facebook, google, newsletter, partner_blog

utm_medium (required)

The marketing channel or type of link. Examples: cpc (paid search), email, social, affiliate

utm_campaign (required)

The specific campaign name. Examples: spring_sale, product_launch, weekly_digest_042826

utm_term (optional)

Used mainly for paid search to identify keywords. Example: link+shortener

utm_content (optional)

Useful for A/B testing or when you have multiple links in the same campaign. Examples: header_button, footer_link, version_a

A real example

Say you're promoting a webinar. You're going to share it on Twitter, LinkedIn, in your email newsletter, and through a partner's newsletter.

Without UTM parameters, you'd use the same link everywhere:

https://cofeelinks.com/webinar

With UTM parameters, each channel gets its own tagged link:

Channel URL
Twitter ?utm_source=twitter&utm_medium=social&utm_campaign=webinar_may
LinkedIn ?utm_source=linkedin&utm_medium=social&utm_campaign=webinar_may
Your email ?utm_source=newsletter&utm_medium=email&utm_campaign=webinar_may
Partner email ?utm_source=partner_acme&utm_medium=email&utm_campaign=webinar_may

After the webinar, you'll know exactly how many registrations came from each source. Maybe Twitter drove traffic but nobody converted. Maybe your partner's newsletter had a 15% conversion rate. Now you know where to focus next time.

Common mistakes to avoid

Inconsistent naming

If you use facebook in one campaign and Facebook in another, analytics tools treat these as two different sources. Pick a convention (lowercase is common) and stick with it.

Spaces in parameters

URLs can't have spaces. Use underscores (spring_sale) or hyphens (spring-sale) instead.

Using UTMs for internal links

Don't add UTM parameters to links within your own site. It messes up your analytics by making it look like a new session started when someone just clicked from your blog to your pricing page.

Forgetting to document

Six months from now, will you remember what utm_campaign=q2_initiative_v3 meant? Keep a spreadsheet or doc with your naming conventions and campaign descriptions.

Making this easier with CofeeLinks

The problem with UTM parameters is that they make URLs ugly and hard to share. A URL like this doesn't fit in a tweet and looks suspicious when someone hovers over it:

https://cofeelinks.com/webinar?utm_source=twitter&utm_medium=social&utm_campaign=webinar_may&utm_content=pinned_post

CofeeLinks solves this. You add your UTM parameters when creating a short link, and we append them automatically when someone clicks. The link your audience sees is clean:

go.cofee.link/webinar

But the destination includes all your tracking parameters. Plus, you can see click data directly in CofeeLinks without waiting for Google Analytics to process it.

If you're not using UTM tracking yet, start with your next campaign. Tag every link, check the results after a week, and you'll see patterns you've been missing.


Ready to try it?

CofeeLinks makes UTM tracking automatic. Create links with built-in parameters and see where your clicks come from.

Get started free