Skip to main content

Tracking

What is a SubID?

Quick Definition

A SubID is a custom tag you add to an affiliate link — e.g. ?subid=newsletter-may — that the network reports back alongside each conversion, so you can see which of your placements, posts, or ads actually drove the sale. It is how affiliates measure performance below the offer level.

What a SubID looks like

A SubID is just an extra query parameter on your affiliate link:

https://network.com/aff/offer?aff_id=123&subid=blog_vpn-review

Every network names the parameter differently:

  • ShareASaleafftrack
  • ImpactsubId1 through subId4
  • CJsid
  • ClickBanktid
  • Rakutenu1
  • Most CPA networkssubid, aff_sub, or numbered s1-s5

Stick to letters, numbers, dashes, and underscores, and URL-encode anything else.

What to put in a SubID

Whatever dimension you want to optimize against:

  • Placement — which page or post the link sits on: blog_vpn-review
  • Traffic source / campaignyt_video-42, fb_adset-7
  • Creative or anglecreative-b, angle_speed
  • Click ID — for paid traffic, pass your tracker's click ID into a SubID so conversions reconcile back to the exact click that drove them

Multi-level SubIDs (s1-s5)

Most CPA networks give you several slots so you can track multiple dimensions at once and pivot reports later:

?s1=facebook&s2=campaign-7&s3=adset-3&s4=creative-b&s5={click_id}

The network returns all five in the conversion postback, so you can break performance down by source, campaign, placement, creative, and click without running five separate links.

Reading SubIDs in your reports

The value comes back two ways: in the network's dashboard sub-report, and in your postback URL via a macro (e.g. &subid={subid} or &s1={s1}) so your own tracker records it. Pulling SubIDs through your postback is what lets you optimize at the placement and creative level instead of only the offer level.

Common SubID mistakes

  • Spaces and special characters that break the URL — use dashes or encode them.
  • Exceeding the length limit (often 50-255 characters) — values get truncated silently.
  • Forgetting the postback macro — if you don't add it, the value never reaches your tracker.
  • Putting PII in a SubID — never include emails or names; it's a privacy and terms-of-service problem.

Frequently asked questions

What is a SubID in affiliate marketing?

A SubID is a custom value you append to an affiliate link that the network reports back with each conversion. It lets you see which specific placement, campaign, keyword, or creative drove a sale — segmentation below the offer level. Different networks call the parameter subid, aff_sub, afftrack, or sid, or use numbered slots s1 through s5.

How many SubIDs can I use?

It depends on the network. Many affiliate networks give a single SubID parameter; most CPA networks give multiple slots, commonly s1 through s5, so you can track several dimensions at once such as source, campaign, placement, creative, and click ID. Each slot is returned in the conversion postback.

What should I track with a SubID?

Track whatever dimension you want to optimize: the placement or page the link sits on, the traffic source, the campaign, the ad creative or angle, or a unique click ID for click-level tracking. For paid traffic, passing your ad tracker's click ID into a SubID is essential so conversions reconcile back to the exact click that drove them.

What's the difference between a SubID and a sub-affiliate?

They're unrelated despite the similar name. A SubID is a tracking parameter you use to segment your own traffic. A sub-affiliate is a separate affiliate who works under your account, where their conversions flow through your relationship with the merchant. A SubID measures performance; a sub-affiliate is a person in a referral hierarchy.

Related terms

Put it to work

Put SubIDs to work in your tracking

SubIDs only pay off when they flow through your postback into a tracker you can read. The playbook wires the full stack; the software guide compares the trackers that pivot SubID reports for you.