Skip to main content
Glossary · Tracking and tech

Sub ID — what it means in affiliate marketing

Extra parameters in an affiliate link that let the affiliate label and later split their own traffic.

Most CPA networks offer 3 to 10 SubID fields—sub1, sub2, sub3 and so on. The affiliate fills each with whatever detail the tracker needs: traffic source name, creative ID, geo, device type, campaign ID. A working link might carry sub1=facebook&sub2=creative_007&sub3=DE&sub4=mobile. When the user converts, the network logs all four parameters alongside the lead, so you can break performance down to a single creative in a single geo.

SubID acts as a bridge between the ad network and the CPA network. The ad network passes data through macros—campaign_id, creative_id, cost—and the tracker writes them into the SubID parameters of the affiliate link. The CPA network saves those values at conversion. The result is full funnel visibility from click through conversion, with detail at every stage.

The click_id SubID is especially important for S2S postback. When a conversion fires, the CPA network sends a notification back to the affiliate's tracker with that click_id, and the tracker ties the conversion to the specific click. Without that mechanism, precise attribution breaks.

This is the only reporting dimension the affiliate controls. It carries creative, placement, geo, account—whatever the analysis needs. But advertisers see them too, which is how a bad placement gets its name.

Updated 22 November 2026

Project sponsors

Companies that keep this analytics open