Home / Blog / Guides
🏷️

UTM Parameters for Referral Links: A Complete Guide for Affiliate Marketers

By Editorial Team · May 10, 2026 · 4 min read

What UTM Parameters Actually Are

UTM parameters are tags you add to the end of a URL that tell analytics tools where a visitor came from. They look like this:

https://yourprogram.com/register?ref=YOUR_CODE&utm_source=twitter&utm_medium=social&utm_campaign=jan2026

The five standard parameters:

Parameter What it tracks Example
utm_source Which platform sent the click twitter, newsletter, youtube
utm_medium What type of traffic social, email, organic
utm_campaign Which campaign or content piece jan2026, crypto-guide
utm_content Which specific link (A/B testing) banner-top, text-link
utm_term Keyword (mainly for paid search) bitcoin-affiliate

You only need source, medium, and campaign for most affiliate use cases.

The Problem with UTM Parameters on Referral Links

Here's the trap most affiliate marketers fall into: they add UTM parameters to their destination referral URL and paste that giant link directly in their posts. This creates three problems:

  1. It's ugly — a 200-character URL kills engagement on Twitter and Instagram
  2. It can break — some affiliate programs strip unknown query parameters, dropping your UTM tags
  3. It's not reusable — you can't update the destination without changing every post that contains the link

The right approach: put the UTM parameters on your tracking link, not on your destination URL.

The Correct Setup: UTM on the Tracking Layer

A proper referral tracking tool lets you set UTM parameters at the tracking link level. This means:

You get data in two places without any URL ugliness.

Setting Up UTM Parameters in TrackRef

When creating or editing a tracking link, you'll see fields for: - utm_source - utm_medium - utm_campaign

Fill them in. TrackRef appends them automatically to every redirect.

Recommended UTM Conventions

Consistency matters — if you use "Twitter" sometimes and "twitter" other times, your analytics will split the data. Pick a convention and stick to it.

Recommended source values: - twitter — X/Twitter posts - youtube — YouTube descriptions - newsletter — email newsletter - reddit — Reddit posts - instagram — Instagram bio or stories - direct — DM or personal recommendation

Recommended medium values: - social — all social platforms - email — newsletters and email - content — blog posts or YouTube videos - bio — profile bio links

Recommended campaign naming: - Use dates: may2026 - Or content type: crypto-review, comparison-post - Or both: may2026-crypto-review

Reading UTM Data

Once your UTM-tagged links have sent traffic, you'll see source and medium data in your tracking dashboard. The goal is to find which combination of source + medium + campaign produces the highest EPC.

A practical example:

Source Clicks Earnings EPC
youtube 320 $192 $0.60
newsletter 85 $68 $0.80
twitter 440 $110 $0.25

Newsletter traffic has a 60% higher EPC than YouTube, and YouTube crushes Twitter. That's a clear signal: write more email-first content and deprioritise Twitter promotion for this program.

Key Takeaways

Frequently Asked Questions

Do UTM parameters affect my affiliate tracking? No. Your referral code is in the destination URL and stays intact. UTM parameters are separate tags that analytics tools read — they don't interfere with affiliate attribution.

What if I forget to add UTM parameters to old links? You can edit a TrackRef link at any time and add UTM parameters going forward. Old clicks won't be retroactively tagged, but all future clicks will pick up the parameters.

Can I see UTM data inside TrackRef? TrackRef logs the referrer (the page that contained the link) and device data per click. For full UTM attribution at the destination level, check your affiliate program's analytics dashboard — that's where the UTM tags land.

Should I use utm_content? Only if you're A/B testing two versions of the same link on the same platform (e.g. testing a button vs. a text link on the same landing page). For most affiliate marketers, source + medium + campaign is enough.

How long should campaign names be? Short. may2026 is better than may-2026-crypto-affiliate-promotion-twitter. You'll be typing these often and reading them in data tables — brevity wins.

Stop guessing which links actually pay

TrackRef tracks every click and ties it back to earnings — so you know exactly which programs, devices, and countries are working for you.

Start free →
Was this article helpful?