Should you add UTM parameters to affiliate links? Usually not to the affiliate link itself. UTM parameters are read by the analytics tool on the site the visitor lands on, so on an affiliate link they report to the merchant, not to you. Use UTMs on links that bring visitors to your own site, from email, social or partner placements, and use the program's sub-IDs on the affiliate links that leave your site.
This guide shows where UTM tracking genuinely helps affiliates, how it fits with sub-IDs, a naming convention to copy and the mistakes that corrupt your data.
What UTM parameters are
UTM parameters are tags added to a URL's query string that analytics tools such as Google Analytics 4 read to attribute a visit to a source and campaign. Google's documentation lists the core parameters utm_source, utm_medium and utm_campaign, which it says you should always use, plus optional ones including utm_term, utm_content, utm_id and utm_source_platform. Google also notes that values are case sensitive, so Newsletter and newsletter are reported separately. You can check the current list in Google's guide to URL builders and campaign data.
A tagged link to your own site might look like this:
https://www.example-review-site.com/best-cam-sites/?utm_source=newsletter&utm_medium=email&utm_campaign=2026-10-weekly&utm_content=top-button
UTM vs sub-ID: which to use where
| UTM parameters | Sub-IDs | |
|---|---|---|
| Read by | Analytics on the landing site | The affiliate program's tracking |
| Reports to | Whoever owns that site's analytics | You, in the program's reports and postbacks |
| Best for | Visits to your own site from email, social, ads and partners | Clicks and sales from your site to programs |
| Shows revenue? | Only if you import it or track it on your site | Yes, conversions and commission |
The two work together. A UTM tells you that last week's newsletter brought 900 visits to your review page; a sub-ID on that page's affiliate links tells you how much those visits earned. Our guide to sub-IDs covers the second half.
Where UTM tracking helps affiliates
- Email newsletters: see which issue, link position and subject line drive visits. See our guide to building an email list for affiliate marketing.
- Social profiles and link-in-bio pages: separate traffic from each platform and post type.
- Paid traffic to your own landing pages: compare campaigns in your analytics alongside tracker data.
- Partner placements and sponsorships: prove what a paid mention or directory listing actually delivered.
- QR codes and offline material: attribute visits that would otherwise appear as direct traffic.
Do not add UTMs to internal links between pages on your own site. They overwrite the visitor's original source and make your real acquisition channels look smaller.
Should you ever put UTMs on affiliate links?
Only when the program asks you to or allows it. Some advertisers request UTMs so their own analytics can identify affiliate traffic. Otherwise, adding them has drawbacks: the data goes to the merchant, unexpected parameters can occasionally interfere with a program's tracking or redirects, and some programs' terms restrict changes to tracking links. If in doubt, ask your affiliate manager, and test the link after any change with our tracking test plan.
A UTM naming convention to copy
Consistency matters more than the exact scheme. A practical convention:
- Lowercase only, words separated by hyphens.
- utm_source: the specific sender or platform, such as newsletter, x, reddit, partner-name.
- utm_medium: the channel type, from a short fixed list, such as email, social, paid-social, cpc, referral, qr. Using recognised medium values helps GA4 group traffic into its default channels.
- utm_campaign: date-led and descriptive, such as 2026-10-weekly or 2026-q4-dating-guide.
- utm_content: the link or creative, such as top-button, hero-image, ps-link.
Tip: keep a shared sheet that builds links from drop-down values. Free-typed UTMs are the main reason campaign reports fill up with near-duplicates.
Worked example: tracking a campaign with UTM and sub-IDs
A hypothetical publisher sends a monthly newsletter promoting a dating comparison page.
- The newsletter link to the page is tagged utm_source=newsletter&utm_medium=email&utm_campaign=2026-11-monthly&utm_content=hero-button.
- GA4 shows 1,200 sessions from that campaign, with 40% of visitors clicking an outbound affiliate link.
- On the page, affiliate links carry a sub-ID such as dating-compare_tbl-top_nl, where nl marks newsletter visitors captured by the link manager.
- The programs' reports show the sales and commission for every sub-ID ending _nl.
Put together, the publisher can say what the newsletter earned per send and per subscriber, and whether the hero button outperforms text links.
Common UTM mistakes
- Mixing case or spelling (Email, email, e-mail) so one channel splits into three.
- Tagging internal links, which resets attribution mid-visit.
- Leaving out utm_medium, so traffic falls into "unassigned" in GA4.
- Putting personal data such as subscriber email addresses in UTM values, which then ends up in analytics reports.
- Assuming UTMs track sales on merchant sites. They do not report to you.
Bringing UTM and sub-ID data together
To see revenue by campaign, connect the two. One approach: pass the visitor's UTM campaign into the sub-ID of the affiliate link they click on your page, using a link manager or script, then report both in an affiliate reporting dashboard. Combined with outbound click tracking in GA4, you can follow a visitor from newsletter to page to commission. Check that your analytics set-up respects consent rules; our guide to analytics without a cookie banner explains what is allowed.
Next steps
Write your naming convention down, tag next week's newsletter and social posts, and compare the results with your sub-ID reports. For more on measuring what earns, browse our tracking and analytics guides.