Tracking & analytics · Glossary

Sub ID Sub-identifier parameter (sub_id, aff_sub, subid)

In plain words

A sub ID is a label you stick on your own link so the reports tell you where each click came from. One offer link can carry "facebook", "campaign 12" and "video 3", and the network will split clicks and conversions by those labels for you.

Definition

Sub IDs are free-text parameters an affiliate appends to a network tracking link to segment their own traffic. The network stores them with each click and returns them in reports and, if asked, in postbacks. Platforms name them differently: Scaleo uses sub_id1 to sub_id5, HasOffers-style platforms aff_sub to aff_sub5, others sub1 to sub7 or s1 to s5. Whatever the name, the network does not interpret the values; they exist so the affiliate can read results by dimensions the network knows nothing about.

A sub ID is not a click ID. The click ID is unique for every click and serves to match one conversion to one visit; a sub ID repeats across thousands of clicks and groups them. Typical dimensions are traffic source, campaign or ad set, placement, creative and landing variant. Some affiliates also use a sub ID to carry their tracker’s click ID, but where the platform offers a dedicated click-ID parameter, that is the better place for it.

Sub IDs matter most to affiliates who do not run their own tracker, because they are then the only way to see which placement or creative converts. They matter to the network too: when an advertiser flags poor quality, a clean breakdown by source lets the affiliate cut the weak segment instead of losing the whole offer. Some advertisers require a source sub ID on every click for exactly this reason.

Practical limits apply. Values can be truncated, special characters encoded or stripped, and some platforms hash or hide sub IDs before passing them to advertisers. A stable convention, lowercase, no spaces and the same position always meaning the same dimension, keeps reports comparable months later and lets you merge network data with your own spreadsheets.

In practice

Worked example — illustrative numbers

One link, four labels

An affiliate promotes a VPN offer on two native sources and one email list, using sub_id1 for the source, sub_id2 for the campaign and sub_id3 for the creative.

sub_id1sub_id2sub_id3ClicksConversionsCR
native-avpn-us-01img-038,200981.2%
native-avpn-us-01img-077,900470.6%
native-bvpn-us-02img-036,100180.3%
emailnl-0915text-011,400392.8%

Overall the offer converts at 0.9% (202 of 23,600 clicks), which looks unremarkable. The labels show that creative img-03 on source A and the email list carry the result, while source B converts at about a third of the average and is the first segment to cut if the advertiser raises quality concerns. Numbers are illustrative.

Common mistakes

  • Changing what a sub ID position means between campaigns, so sub_id2 is a campaign in one report and a creative in another.
  • Using spaces, capitals and special characters that get encoded or stripped, splitting one label into several report rows.
  • Putting personal data such as email addresses or phone numbers into a sub ID. Networks and sometimes advertisers can see these values.
  • Carrying the click ID in a sub ID when the platform has a dedicated field; some sub IDs are truncated or not returned in postbacks.
  • Sending no source label at all, which leaves the network unable to separate one weak placement from the rest of your traffic.

Go deeper

FAQ

What is a sub ID?

A parameter you add to your affiliate link to label traffic, for example by source, campaign or creative, so the network reports clicks and conversions per label.

How many sub IDs can I use?

It depends on the platform. Five is common (Scaleo sub_id1 to sub_id5, aff_sub to aff_sub5 on HasOffers-style platforms); some allow more. The network’s link builder shows the available fields.

Is a sub ID the same as a click ID?

No. A click ID is unique per click and matches one conversion to one visit; a sub ID is a label shared by many clicks.

Can advertisers see my sub IDs?

Sometimes. Networks may pass them on, hash them or hide them, so treat them as visible and never put personal data in them.

Sources

  1. Affiliate Parameters — Scaleo Help Center (help.scaleo.io)
  2. What are different Affiliate Tracking URL Parameters? — Offer18 Knowledgebase (knowledgebase.offer18.com)
  3. SubIDs: how are they used in affiliate marketing? — LinkClicky (linkclicky.com)

References are listed as plain text on purpose; look them up by title and publisher. Updated: 2026-10-09.

Terms are the easy part.

Run them inside a network with real tracking, roughly 48-hour payouts and a dedicated manager.

Join the network