How to see which affiliate link made the sale (sub-IDs explained)

November 17, 2026 · Hoplytic team

Your network says you made 12 sales. Which link made them: the review page, the comparison table or last week's email? Sub-IDs answer that.

Short answer: a sub-ID is a value you add to your affiliate link that the network keeps with the click and shows again next to the sale. Put a unique click ID in it (a tracker does this for you) and every commission can be traced back to the exact link, page or ad.

How sub-IDs work

  1. You add a parameter to your affiliate link, for example &aff_sub=review-page.
  2. The network stores review-page with the click.
  3. When that visitor buys, the sale in your network report shows review-page next to it.

Fixed labels like this are a good start. A unique click ID is better: then the sale can be matched to one specific click, with its country, device, time and the ad that sent it.

What each network calls it

Network or platformSub-ID parameter
TUNE / HasOffers networksaff_sub to aff_sub5
Everflowsub1 to sub5
Awinclickref (and clickref2 to 6)
ImpactsubId1 to subId3
CJsid
ClickBanktid
Partnerizepubref and adref (in the link path, as /pubref:value)
Digistore24sid1 to sid5, plus a campaign key

Networks change parameters occasionally, so treat this as a guide and check your network's help pages.

A simple sub-ID plan

Keep values short, lowercase and free of spaces and special characters. Some networks drop anything unusual.

Letting a tracker do it

Doing this by hand for every link is where mistakes happen. In Hoplytic you paste the affiliate link and it recognises the network (25 are built in), puts its click ID in the right sub-ID, and lets you choose what goes in the other slots: ad-platform values, country, device or fixed text. Values the network has no slot for are still stored with each click, so nothing is lost. When the sale comes back by postback, it lands on the exact click.

Check it before you publish

Redirect chains sometimes strip parameters. Run the finished link through the free redirect checker to see every hop and confirm your sub-ID is still there at the end.

Questions people ask

What is a sub-ID in affiliate marketing?

A sub-ID is an extra field you add to your affiliate link with your own value, such as a page name or click ID. The network stores it with the click and shows it again next to any sale, so you can tell which link earned the commission.

What are sub-IDs called on different networks?

The names differ: aff_sub on TUNE-based networks, sub1 to sub5 on Everflow, clickref on Awin, subId on Impact, sid on CJ, tid on ClickBank, pubref on Partnerize. A tracker that knows each network fills the right one for you.

Can sub-IDs break an affiliate link?

Yes, if you use the wrong parameter name or characters the network doesn't allow, the value can be dropped or the link can fail. Check with the network's documentation or test the link with a redirect checker before publishing.

More guides