What is a tracking link? How one works, part by part

November 28, 2026 · Hoplytic team · 5 min read

The short version: this guide in 76 seconds.
Read the video transcript

What is a tracking link, and why use one? It tells you how many real people clicked, and which clicks turned into money.

The domain points to the tracker. The short code says which link this is, and so where to send the visitor. The destination isn't in the link. The query string carries values from the click, which the ad platform fills in.

The browser asks the tracker for the link. The tracker creates a click ID, and adds it to your affiliate link in the network's sub-ID. It redirects the visitor, normally with a three-oh-two, and records the click.

When the network reports a sale with that click ID, the tracker knows exactly which click earned it.

You need one when you promote the same offer in several places, when you pay for traffic, when you want to change the destination later, or when you suspect bots.

Run the finished link through the redirect checker. The last hop should show your click ID. Make sure the redirect is temporary, not permanent. And ask what happens to your links when you stop paying.

On Hoplytic, paste your affiliate link, and it detects the network and puts its click ID in the right sub-ID. If your credit runs out, links keep redirecting for at least six months.

The full guide is right below. Hoplytic: ad tracking made simple.

Key points

You put a link in an ad, a video description or a blog post. A tracking link is what lets you know, later, how many real people clicked it, where they came from and which of those clicks turned into money.

Short answer: a tracking link is a URL on a tracker's domain that records each click (time, country, device, source, any values in the URL), gives it a unique click ID, and then redirects the visitor to the real destination, usually your affiliate link, with that click ID added in a sub-ID. When the network reports a sale with the same ID, the tracker knows exactly which click earned it.

Here is a made-up tracking link as it might appear in a native ad:

https://go.yourblog.com/sleep-guide?site={site}&campaign={campaign_id}
PartExampleWhat it does
Domaingo.yourblog.comPoints to the tracker. A shared tracker domain or your own subdomain.
Short code/sleep-guideTells the tracker which link this is, and so where to send the visitor.
Query string?site={site}&campaign={campaign_id}Values from wherever the click happened. Here the ad platform replaces {site} and {campaign_id} with real values on each click.

The destination is not in the link. It lives in the tracker, which means you can change the offer later without editing every ad, post or video that uses the link.

Those curly-brace placeholders are called macros. Every ad platform has its own; see the macro reference by platform.

What happens in the moment of a click

  1. The visitor's browser asks go.yourblog.com/sleep-guide?site=news-site-42&campaign=88123 for the page.
  2. The tracker looks up the link, creates a click ID such as c7f3a9e1, and builds the final address: your affiliate link plus &aff_sub=c7f3a9e1 (or clickref, subId1, sid, depending on the network).
  3. It answers with a redirect, normally an HTTP 302, and the browser moves on to the affiliate network and then the merchant.
  4. The tracker writes down the click: time, link, country, device, browser, referring site, and every value from the query string.

A good tracker does step 4 after the redirect has been sent, so recording the click never slows the visitor down. Why that matters is covered in does redirect speed matter.

What it can't tell you: what happened on the merchant's site after the visitor left. That part only comes back if the network reports the sale with your click ID. The whole chain is explained in how affiliate tracking works.

Link typeWho makes itCounts clicks?Matches sales to clicks?
Affiliate linkThe networkIn the network's report onlyOnly by the sub-IDs you add
Short link (generic shortener)A shortener serviceYes, simple totalsNo
UTM-tagged linkYouOnly if the landing site runs analyticsNo, UTMs describe visits to a site you own
Tracking linkA trackerYes, with details and bot labelsYes, through the click ID in a sub-ID

UTMs and sub-IDs are often used together; UTM vs sub-ID explains when each one is the right tool.

Where it's usedTracking linkWhat the query string carries
Blog postgo.yourblog.com/desk-reviewNothing; the code alone says which post. A site script can add the spot on the page.
YouTube descriptiongo.yourblog.com/desk-yt?v=aug-reviewA fixed label for the video, typed once
Push campaigngo.yourblog.com/vpn-push?zone={zoneid}&click=${SUBID}The ad network's zone and click ID, filled in on every click

The first two are about content: one link per place, so the report tells you which place earns. The third is about paid traffic: the ad network fills in its own values, so you can later see profit per zone and send each sale back to the ad network with its click ID. Same kind of link, different jobs.

When you need one, and when you don't

You probably don't need a tracking link if you have one link in one place and the network's own report already tells you enough.

You do need one when:

How it works in Hoplytic

You paste your affiliate link, Hoplytic detects the network (25 are built in) and puts its click ID in the right sub-ID, and you choose the ad platform so its macros are added to the tracking link. The redirect takes about 2 ms on the server. If your credit runs out, links keep redirecting for at least 6 months; only tracking pauses. You can try it on the live demo without signing up.

Pick the ad platform and its macros are added to your tracking link.

Questions people ask

Is a tracking link the same as an affiliate link?

No. The affiliate link comes from the network and tells it which affiliate to pay. A tracking link sits in front of it, records the click on your side and then forwards the visitor to the affiliate link.

Do tracking links hurt SEO?

Links to affiliate offers don't pass ranking value either way, and Google asks you to mark them with rel="sponsored" or rel="nofollow". A tracking link that uses a temporary redirect doesn't change that.

Can I make a tracking link for free?

Yes. Many trackers and link tools have free tiers. Check what happens to the links when the free period or limit ends, because some tools stop redirecting.

Can someone see what is inside my tracking link?

Anyone can see the short address and the parameters you put in the visible URL. The destination and the sub-IDs the tracker adds are only visible after the redirect, in the browser address bar or a redirect checker.

More in Tracking fundamentals

Also: tracking glossary · ad platform macros · Markdown copy