Affiliate Link Tracking Explained: UTMs, Sub-IDs, Click IDs and Pixels (2026)

An affiliate link already tracks one thing: that a sale came from you. The network or merchant reads your affiliate ID, credits the commission and shows it in your dashboard. What the plain link does not tell you is where that buyer came from. Was it your newsletter, a YouTube description, a comparison table or a paid ad?

Affiliate link tracking fills that gap. This guide explains the four common methods (UTM parameters, sub-IDs, click IDs and pixels), what question each answers, how they fit together and how to set up a naming system you can still read six months from now. Once tracking is in place, compare channels in the best traffic sources for affiliate marketing.

When someone clicks your affiliate link, the merchant or network records the click against your affiliate ID. Most programs then store that information in a cookie, a first-party record or a server-side session so that a later purchase can be matched back to you. The time allowed between click and purchase is the cookie window or attribution window, and it varies widely: some programs allow 14 days, others 90 days or more.

When the visitor buys within that window, the program credits the sale to your account. Your dashboard then shows a click count, a sale and a commission. That is enough to get paid, but not enough to make decisions, because every sale looks the same no matter which page, email or ad produced it.

Tracking adds labels to the click so the source survives all the way to the sale report.

The Four Tracking Methods at a Glance

MethodWhat It IsWhere You See the DataQuestion It Answers
UTM parametersStandard tags such as utm_source and utm_campaignThe site owner's analytics (for example Google Analytics 4)Where did this visit come from?
Sub-ID or tracking IDA label you add to your affiliate linkYour affiliate network's reportsWhich of my placements produced the sale?
Click IDA unique ID generated for each individual clickYour tracker, matched by postbackExactly which click converted, with all its details?
PixelA script or image that fires on a thank-you pageYour tracker or ad platformDid a conversion happen in this browser?

UTM Parameters

UTM parameters are Google's standard tags for campaign tracking. You add them to a URL, and analytics tools such as Google Analytics 4 read them to group visits by source. The five standard tags are:

  • utm_source: the platform, such as youtube, newsletter or facebook.
  • utm_medium: the type of traffic, such as email, social, cpc or affiliate.
  • utm_campaign: the promotion, such as black-friday or webinar-launch.
  • utm_content: the specific link or creative, such as top-button or ad-v2.
  • utm_term: the keyword, mainly used for paid search.

Here is an example on a link to your own page: yoursite.com/review/?utm_source=newsletter&utm_medium=email&utm_campaign=nov-tips.

The catch for affiliates is ownership. UTM tags report to the analytics account of the site that receives the visit. Put UTMs on a link to your own bridge page or review, and you see the data. Put them on a link straight to a merchant, and the merchant sees it in their analytics, not you. So UTMs are most useful for measuring traffic to pages you own, such as the bridge page or review that sits before the affiliate link.

Sub-IDs and Tracking IDs

Smartphone and printed charts on a wooden desk

A sub-ID is a label you attach to your affiliate link that the network stores with the click and returns in your commission reports. Different networks call it different things: sub-ID, SID, tracking ID, TID, aff_sub or clickref. ClickBank, for example, uses a TID of up to 100 characters (numbers, lowercase letters and underscores), as explained in our guide to HopLinks and tracking IDs.

Unlike UTMs, sub-IDs report to you. If you send one product link from three places with three different sub-IDs, your network report shows which one produced each sale. That makes sub-IDs the single most useful tracking habit for content affiliates and email marketers.

Example: a review link with a sub-ID might end in ?tid=yt_review_desc, while the same offer in an email might use ?tid=em_day3_link1. When a commission arrives, the report shows the label.

Check each program's rules for the parameter name, allowed characters and length. Some programs allow several sub-IDs per link, others only one.

Click IDs

A click ID is a unique value generated for every single click, usually by a tracking tool such as ClickMagick, RedTrack or Voluum. Instead of a label you choose, it is a random identifier that points to a full record in your tracker: the traffic source, ad, device, location, time and any other parameters attached to that click.

The tracker passes the click ID to the network inside the sub-ID field. When a sale happens, the network sends the click ID back to the tracker through a postback. The tracker then matches the sale to the original click and everything it knows about it. This is how paid-traffic affiliates see revenue per ad, per keyword or per audience. Our guide to postback URLs explains the return trip in detail.

Ad platforms use their own click IDs too, such as gclid for Google Ads and fbclid for Meta. Trackers capture these so conversions can be reported back to the ad platform.

Conversion Pixels

A pixel is a small script or image placed on a page that loads after a conversion, usually a thank-you or order confirmation page. When it loads, it tells the tracker or ad platform that a conversion happened in that browser.

Pixels are easy when you own the thank-you page, for example when you sell your own product or collect leads. For affiliate offers, you usually cannot place code on the merchant's checkout, and browser privacy features and ad blockers can stop pixels from firing. That is why server-to-server postbacks have largely replaced pixels for affiliate conversion tracking, while pixels remain common for lead capture and for ad platforms.

How the Methods Work Together

You do not have to choose just one. A practical setup for a content or email affiliate looks like this:

  1. UTMs on traffic to your own pages. Tag links in emails, social posts and videos that point to your review, bridge page or blog post.
  2. Sub-IDs on every affiliate link. Give each placement on your pages and in your emails its own label.
  3. Click IDs and postbacks when you buy traffic. Once you spend on ads, add a tracker that generates click IDs and receives postbacks from your networks.
  4. Pixels where you control the page. Use them on your own opt-in and thank-you pages.

Content and email affiliates often stop at step two. Paid traffic changes the picture, because every unprofitable ad costs money every day.

A Simple Naming System

Notebook of hand-drawn page sketches with pens

Tracking data is only as good as your labels. A short, consistent naming system saves hours later.

PartExample Values
Channelyt, em, blog, fb, tt, solo
Assetreview, compare, day3, bio, ad12
Placementtop, table, end, desc, pin

Combine them with underscores: blog_review_table, em_day3_link1, yt_compare_desc. Use lowercase, avoid spaces and dashes if your network does not accept them, keep a simple spreadsheet listing every label and its meaning, and never reuse a label for a different placement.

Common Tracking Mistakes

  • One link everywhere: using the same untagged link on every page and email, so all sales look identical.
  • UTMs on merchant links: expecting to see data that only appears in the merchant's analytics.
  • Breaking the link: adding a second question mark instead of an ampersand when the link already has parameters, which can break attribution.
  • Not testing: never clicking your own link to confirm it lands on the right page with your ID intact.
  • Inconsistent labels: mixing YouTube, yt and Youtube, which splits one source into three in reports.
  • Ignoring program rules: some programs restrict redirects or certain parameters. Read the terms first.

Before you publish or send, test each new link:

  1. Open the link in a private browser window.
  2. Confirm it lands on the correct page and the affiliate ID is still in the URL or recorded by the network.
  3. Check that your sub-ID appears in the network's click report, if it shows clicks.
  4. If you use a tracker, confirm the click appears there with the right source.
  5. For postbacks, use the network's or tracker's test conversion feature where available.

When Free Tracking Is Enough

Many affiliates never need paid software. If you promote a handful of programs through a blog, YouTube channel or email list, sub-IDs and network reports are usually enough. Add Google Analytics 4 with UTMs on your own pages, and you can see both which content attracts visitors and which placements produce sales.

A paid tracker becomes worth it when you buy traffic, run several funnels, promote offers across multiple networks or need one dashboard instead of five. Our guide to the best link tracking software compares the options, and our ClickMagick review covers the tool most often used by affiliates with mixed traffic sources.

Track Every Link in One Dashboard

ClickMagick tracks clicks and conversions across traffic sources and affiliate networks. Plans start at $79 a month with a 14-day free trial.

See ClickMagick Plans

Privacy and Disclosure Basics

Overhead view of hands writing beside a laptop

Tracking must still respect privacy rules and program terms. If you use cookies or pixels on your own site, your privacy policy should say so, and visitors in some regions must consent before non-essential cookies are set. Tracking labels should describe placements, not people, so never put an email address or other personal data in a sub-ID or UTM tag. Affiliate links also need a clear disclosure, whether they are tracked, cloaked or plain.

Reading Your Data

Tracking only pays off if you act on it. Once a month, export your sub-ID or tracker report and look at three numbers for each placement: clicks, conversions and earnings per click (EPC). EPC is your commissions divided by clicks, and it lets you compare a placement with few clicks against one with many.

Look for placements with healthy clicks but no sales (wrong audience or weak offer fit), and placements with strong EPC but few clicks (worth more prominence). Give each test enough data before deciding: a handful of clicks says little. Then make one change at a time, such as moving a link higher on a page, rewriting an email or switching offers, and compare the next month.

Frequently Asked Questions

What Is Affiliate Link Tracking?

It is the practice of adding labels or IDs to affiliate clicks so you can see which source, page or ad produced each sale, not just that a sale happened.

What Is the Difference Between a Sub-ID and a UTM?

A sub-ID is stored by the affiliate network and appears in your commission reports. A UTM is read by the analytics account of the site the visitor lands on. Sub-IDs tell you what converted; UTMs tell you where visits came from.

Can I Track Affiliate Links for Free?

Yes. Sub-IDs, network reports and Google Analytics 4 are free. Paid trackers add click IDs, postbacks and combined reporting across networks and traffic sources.

Do I Need a Tracker for ClickBank?

Not to start. ClickBank's TIDs and reports cover basic tracking. A tracker helps when you run paid traffic or promote across several networks. See how to track ClickBank sales.

Will Adding Parameters Break My Affiliate Link?

Not if you add them correctly. Use an ampersand to add a parameter when the link already contains a question mark, use the network's own sub-ID field, and test the link before publishing.