A tracking link is a unique URL that records every click before sending the visitor on to the destination page. In affiliate marketing, each affiliate gets their own tracking link for a campaign: the tracking server logs the click, identifies the affiliate, assigns a click ID and redirects the visitor to the advertiser's landing page, usually in a fraction of a second. Every attributed affiliate conversion starts with a tracked click.
How link tracking works
A tracking link typically encodes the affiliate, the campaign or offer, and optional sub-IDs. On click, the tracker:
- Records the click with timestamp, IP address, user agent, referrer, and sub-IDs.
- Applies the program's checks, such as country targeting or fraud filters.
- Generates a click ID, then sets a cookie and/or appends the ID to the destination URL.
- Redirects the visitor, usually with an HTTP 302, to the landing page.
When the visitor later signs up or buys, the brand reports the conversion with that click ID, by a browser tag or a server-to-server postback URL, and the tracker credits the affiliate.
Types of tracking URLs
| Type | How it tracks | Who uses it |
|---|---|---|
| Affiliate tracking link | Redirect through the tracker, which logs the click and issues a click ID | Affiliate and partner programs |
| UTM-tagged link | Adds utm_source, utm_medium, utm_campaign and similar parameters that analytics tools read on the landing page; no redirect |
Marketing teams measuring campaigns in analytics |
| Third-party tracking URL | An ad platform sends the click through an external tracker or ad server before (or in parallel with) the landing page | Advertisers using a separate tracker for paid ads |
| Short link | A short domain redirects to a long URL and counts clicks | Social posts, SMS, print |
| Deep link | A tracking link with a custom destination page or app screen | Content affiliates, app campaigns |
Google Analytics lists the UTM parameters it reads in its URL builder guide, and Google Ads explains tracking templates, the final URL suffix and parallel tracking, in which the user goes straight to the landing page while click measurement runs in the background, in About tracking in Google Ads.
Example
Illustrative URLs:
https://track.example.com/c/1042?aff=317&sub1=youtube_review
↓ 302 redirect
https://brand.example.com/pricing?click_id=9b8e2f41&utm_source=affiliate
Here 1042 identifies the campaign, 317 the affiliate, and sub1 the affiliate's own label for the traffic source. The visitor only sees the final page; the click has already been logged.
How to track a link
- Get your personal link from the program dashboard instead of linking to the brand's site directly.
- Add a sub-ID per placement (video, article, newsletter) so reports show which one converts.
- Click the link yourself and check that it lands on the right page and keeps the click ID in the URL.
- Avoid extra shorteners or redirects that strip query parameters.
- Compare clicks in the program's report with your own analytics after the first day of traffic.
Why it matters
For affiliates, the tracking link is how you get paid: traffic sent to a brand's site without it is generally not attributed to you. For brands, the tracking link is where data quality is decided. It is the first and best place to filter bots, blocked countries and suspicious clicks before they reach reports. MassPartner runs fraud checks and country targeting on every click; see how affiliate tracking software combines links, a tracking script and S2S postbacks.
Related: click ID, deep link, cookie duration, tracking macro.
FAQ
What is the difference between a tracking link and a UTM link?
A tracking link sends the click through a tracking server that logs it and assigns a click ID. A UTM link only adds labels to the URL that analytics software reads on the landing page; nothing is recorded if the page doesn't load.
Do tracking links expire?
The link usually works as long as the campaign is active. What expires is the attribution window: a conversion only counts if it happens within the program's cookie duration.
Is a tracking link safe to click?
Links from known programs and trackers only log the click and redirect. Be careful with unfamiliar shortened links, since you can't see the final destination before clicking.