Setup

How to build an affiliate tracking link (and why it never breaks)

A plain-language walkthrough for affiliates on building a tracking link — why it already carries your affiliate ID, how the destination is resolved at click time, and how sub-IDs let you compare your own traffic sources.

Your tracking link is the single most important asset you own as an affiliate. It is the URL you put in front of an audience, and it is the thing that makes sure every click and every conversion is counted as yours. Get it right once and it keeps working for the life of the offer. This guide explains what a tracking link actually is, how to build one, why it is designed never to go stale, and how a few optional tags turn it into a reporting tool that tells you which of your traffic sources deserve more budget.

What a tracking link is doing

At its simplest, a tracking link is a redirect. A visitor clicks it, the platform records the click and stamps it with your identity, and the visitor is sent onward to the offer's landing page. From your point of view the magic is that you never have to encode your own affiliate ID, campaign, or channel into the URL — the link already carries who you are. Every click it generates, and every conversion those clicks eventually produce, is credited to your account automatically.

This matters because it removes an entire category of costly mistakes. You cannot accidentally strip your ID out of a link, mistype it, or paste last month's link with the wrong parameters. The identity travels with the link, so the crediting is not something you have to remember to get right on every placement.

Building your link

You build the link from the offer you want to promote — there is no separate tools page to hunt for. Open the offer, find the link builder, and you are presented with a small set of choices, most of them optional.

The first thing to notice is that you do not choose a landing page. Your link always sends visitors to the offer's current landing page, and you will see why that is a feature rather than a limitation in a moment. If you want to know where the traffic can end up, there is usually an option to expand and see the pages the offer can resolve to, but you never have to pick one.

Next, if you are promoting a specific banner, video, or other asset, you can attach that creative to the link. This is optional, and it exists purely so your own reports can break performance out by creative — you will be able to see that your green banner outperformed the blue one, for instance.

Then come sub-IDs, up to five free-text tags labeled s1 through s5, which we will come back to because they are where a plain link becomes a measurement instrument.

Finally you copy the generated link and start sending traffic. That is the whole flow. What you will notice by its absence is any option to choose the affiliate, campaign, or channel — those are set for you, which is precisely what keeps crediting reliable.

Why the link never goes stale

Here is the design decision that saves affiliates the most grief: the destination is resolved at click time. When a visitor clicks, the platform looks up whatever landing page the offer currently points to and sends them there. The destination is not baked into your link.

The practical payoff is that your link is evergreen. If the advertiser refreshes their landing page, changes its URL, or swaps in a seasonal variant, your link keeps working without you touching it. You do not have to regenerate links, re-upload them to your ad accounts, or chase down every placement where the old URL lived. The link you distributed on day one is still correct on day three hundred.

There is a second, quieter benefit that protects you and the program alike: because your link never carries a destination of its own, a landing page cannot be pinned onto it. Nobody can edit a link to divert traffic to a page the program never approved. That guardrail is part of what keeps affiliate programs trustworthy, and it is the reason the destination lives with the offer rather than with the link. If you genuinely need traffic to go to a specific page — a geo-specific variant, say — the right move is to ask your account manager to set it on your campaign rather than trying to force it into the URL.

If you want to understand the mechanics behind redirect-based links in more depth, including the alternative "direct tracking" approach some programs use, our general guide to tracking links and how redirects work goes a layer deeper than this affiliate-focused walkthrough.

Sub-IDs: turn one link into a source-level report

This is the part that separates affiliates who guess from affiliates who know. Sub-IDs are free-text tags you attach to a link to record where your traffic came from. They pass straight through the click and land in your reports as columns you can filter and total.

By convention, s1 is your traffic source or placement label. If you are running the same offer across a newsletter, a set of Facebook ads, and a content site, you might tag them newsletter, fb-ad-3, and blog-review. Your sub-affiliate report groups by s1, so you get a clean league table of which sources actually convert. The remaining tags, s2 through s5, are yours to use however you like — a creative variant, an audience segment, a geo, a day-part. There are no fixed meanings beyond s1's convention.

You can add sub-IDs in the link builder, or append them to the query string yourself if you are generating links programmatically. Either way they show up as columns in your click and conversion reports, and summary views let you total performance by source.

The discipline that makes sub-IDs pay off is consistency. If you tag a source fb-ad-3 in one campaign and facebook_ad3 in another, your report treats them as two different sources and your analysis fragments. Pick a naming scheme and hold to it across every campaign, and your sub-affiliate report becomes something you can actually make decisions from — pruning the placements that lose money and scaling the ones that do not.

Sub-IDs also compound with your conversion pixel. If you pass your s1 value into the pixel you register, every conversion notification tells you not only that you earned a payout but which source produced it — and that can be fed straight back into your ad platform's optimization. Our guide to affiliate conversion pixels covers how to wire that up, and the deeper sub-IDs guide covers naming conventions and edge cases.

What happens after the click

Building the link is step one; understanding what it earns you is step two. Every click your link generates is stamped with your payout terms as they stand at the moment of the click. That means the amount you earn per conversion is locked in when the visitor clicks, not when they eventually convert — so if the offer's payout changes later, the conversions from your earlier clicks still pay the rate you were promised. This is a genuine protection for affiliates, and it is worth understanding before you scale spend. Our guide on how affiliates get paid walks through the click-to-payout chain, conversion statuses, and why a conversion occasionally comes back uncredited.

A short checklist

Before you push spend behind a new link, run through this:

  • Confirm the offer is active and you have access to promote it.
  • Decide your s1 scheme and use it consistently from the first placement.
  • Attach a creative if you are testing more than one asset.
  • Register a conversion pixel so your ad platform hears about sales in real time.
  • Send a small test batch of traffic and confirm your clicks appear in your report before scaling.

Do that and your link is not just a redirect — it is a durable, self-crediting, source-aware measurement tool that keeps working long after you have moved on to the next campaign.

Affiliate programs work best when both sides can trust the numbers. If you are evaluating a platform to run your partnerships on, the partners feature overview shows how the portal, links, and reporting fit together — and a demo will walk it through on a real offer with you.

See it on your own program.

Book a demo and we'll stand up your workspace, wire your tracking domain, and walk this through on your kind of data, with you.