Module 7: Tracking, optimizing and scaling · Lesson 1 · 5 min read
Tracking links: UTMs, sub-IDs and naming
By Yoav Shalev · Updated December 2, 2026
If you cannot tell which post, ad or email made a sale, you cannot improve anything. This lesson shows how UTM parameters label traffic in your own analytics, how sub-IDs label sales in the program's reports, and how a simple naming convention keeps both readable months later.
Video coming soon on YouTube · the full lesson is below
Most affiliates know how much they earned last month. Far fewer know which post earned it. That gap is why so many campaigns stay unprofitable: you cannot fix what you cannot see.
Tracking links close the gap, and they cost nothing. This lesson shows you two kinds of label and one naming habit that keeps them useful.
Why one link for everything fails
Imagine you share the same affiliate link in a YouTube video, an Instagram story, two emails and a blog post. At the end of the month, the program shows ten sales. Which placement made them?
You have no idea. Maybe the blog made all ten and the videos made none, or the reverse. If you guess wrong, you will spend next month doubling down on the wrong thing.
The fix is to give every placement its own label. There are two kinds of label, and they do different jobs. UTM parameters feed your own analytics, while sub-IDs feed the affiliate program's reports.
UTM parameters: labels for your own analytics
UTM parameters are small tags added to the end of a web address. When someone clicks, your analytics tool reads the tags and records where the visit came from. Google Analytics and most other analytics tools understand them.
They only help when the click lands on a page you own. That might be your blog, a review page or a landing page. They show you which posts send visitors to that page, and what those visitors do there.
The five standard tags are:
- utm_source: where the traffic came from, such as youtube, newsletter or facebook.
- utm_medium: the type of traffic, such as video, email, social or paid.
- utm_campaign: the campaign or offer, such as editing-review.
- utm_content: which version or placement, such as thumbnail-b or top-link.
- utm_term: an optional keyword, used mostly for search ads.
A tagged link adds these after a question mark at the end of your page address. For example, source equals youtube, and medium equals video. You do not need to type these by hand, because free UTM builder tools assemble the link for you.
Do not add UTM tags to an affiliate link that goes straight to the brand. They would land in the brand's analytics, not yours. Some programs also do not want them.
Sub-IDs: labels for the program's reports
A sub-ID is a label you attach to your affiliate link itself. The program stores it with the click. When a sale happens, the report shows the sub-ID next to it.
This is the only way to connect a sale back to a placement when you send traffic straight to the brand. You cannot see the brand's checkout. But you can see which sub-ID the sale carried.
Each network and program names this field differently. You may see sub ID, SID, click ID, tracking ID or custom parameter, and some let you add several. Look in the link generator of your dashboard, or ask your affiliate manager how to add them.
A simple setup looks like this:
- YouTube video description: yt_editing_desc.
- Pinned YouTube comment: yt_editing_pin.
- Newsletter, week one: em_editing_wk1.
Now say the report shows four sales on the pinned comment and none in the description. You have learned something real. Next time, you pin the link first and spend less effort on the description.
If you send people to your own page first, use both kinds of label. Put UTMs on the link to your page, and a sub-ID on the affiliate link from that page. Then you can follow the whole path, from post to page to sale.
A naming convention you can still read in six months
Tags only help if they are consistent. "YouTube", "youtube" and "yt" will show up as three different sources in most reports. Your data splits into pieces and stops making sense.
Pick a convention and write it down. A good one is short and in a fixed order:
- Channel: yt, ig, tt, em, blog, fb.
- Campaign or offer: a short name, like editing.
- Placement or version: desc, pin, bio, a, b.
- Date, if useful: a month or week number.
Then follow four simple rules:
- Use lowercase only.
- Use no spaces.
- Use the same separator every time, such as an underscore.
- Use the same words for the same things, every time.
Check whether your program limits sub-ID length or characters. Some strip anything unusual. Plain letters, numbers, dashes and underscores are the safest choice.
Resist the urge to pack everything into one tag. Five clear parts are readable. Twelve parts become a code nobody remembers, including you.
Keep a link log
Finally, keep a simple spreadsheet with one row per link. Add columns for the date, the channel, where exactly you placed it, the full link, the UTM tags and the sub-ID.
This takes a minute per link, and it pays off every week. When a strange sub-ID shows sales, you look it up. When you want to retire an old placement, you know where it lives.
Share the log with anyone who helps you, such as an editor or an assistant. Then everyone tags links the same way, and your reports stay clean.
Click every new link once before you publish it. Make sure it lands on the right page and that the tags survive the trip. Redirects and link shorteners sometimes drop them.
A broken tracking link is worse than none, because it gives you confident, wrong numbers. That problem comes up again in trust the numbers, and the habit of testing links is the cheapest fix there is.
Key points
- Every link you publish should say where it was placed, so sales can be traced back to it.
- UTM parameters label visits in your own analytics, such as Google Analytics.
- Sub-IDs are passed to the affiliate program, so its reports show which placement made each sale.
- Use one naming convention everywhere: lowercase, no spaces, same order, same words.
- Keep a simple link log, so you know what every tag means.
Try this
Write your naming convention on one line, for example channel_campaign_placement_date. Then create tagged links for three placements you plan to use this week, add them to a link log, and click each one to confirm the tags arrive.