Affiliate Tracking
How to Track Affiliate Sales With Sub-IDs and Revenue Attribution
Set up Sub-ID-based affiliate tracking so you can compare placements, creators, and offers by clicks, conversions, revenue, cost, and ROI.
Tracly Team · August 23, 2026 · 9 min read
Direct answer
Track affiliate sales with Sub-IDs by assigning a distinct identifier to each traffic slice, sending clicks through one tracked URL, and storing conversions and revenue against that identifier. The useful report shows which Sub-IDs produced profitable sales, not just the most clicks.
When every partner click lands in one undifferentiated bucket, profitable traffic and weak traffic look the same. Sub-IDs solve that by tagging the placement, creator, ad, or content variation that generated the click before the sale ever happens.
| Reporting view | Approach one | Approach two |
|---|---|---|
| Reporting view | Campaign-only: totals for the whole promotion | Sub-ID view: each placement or source gets its own line |
| Best decision | Pause or scale the broad campaign | Scale, edit, or cut a specific traffic slice |
| Blind spot | Profitable sources can hide inside averages | Weak segments are easier to isolate and fix |
Give every traffic slice an ID before the click happens
A Sub-ID only helps if it is assigned deliberately. Decide what it represents before launch: a creator, placement, ad set, keyword cluster, newsletter slot, or landing page variation. If the label changes meaning halfway through the campaign, the report becomes hard to trust.
Use short, human-readable IDs that remain stable across the test window. A clear naming rule makes exports easier to sort and keeps multiple buyers or partners from creating overlapping codes for different things.
- One Sub-ID meaning per campaign
- A naming format your whole team can follow
- No personal or sensitive customer information in the URL
Send every click through a tracked link that preserves the Sub-ID
The link needs to do two jobs at once: route the visitor to the right destination and record the Sub-ID with the tracked click so later reporting can separate that traffic slice. If the identifier is never captured at click time, the eventual conversion has no reliable Sub-ID source line.
This is why Tracly's current Sub-ID workflow is practical for affiliates. You can create dedicated tracking links, attach a `sub_id` value to the campaign URL, and then read clicks, conversions, revenue, cost, profit, and ROI back in one performance table.
- Test the full redirect before spending budget
- Verify Tracly records the expected Sub-ID on the click
- Confirm one sale is counted once against the intended Sub-ID
Judge Sub-IDs by value, not by click volume alone
High-volume placements often look attractive early because they produce the most visible activity. The better metric is how much qualified revenue or profit each Sub-ID creates relative to its cost and traffic quality.
That comparison is where scaling decisions become clearer. Keep the Sub-IDs that repeatedly turn into profitable sales, cut the ones that consume spend without downstream value, and use the survivors as the basis for the next offer or creative test.
- Clicks and conversion rate for early signal
- Revenue, profit, and ROI for final budget decisions
- Exports for partner or placement reviews
Frequently asked questions
What is a Sub-ID in affiliate tracking?
It is an additional identifier appended to a tracking link so you can tell which source, placement, creator, or variation generated the click and eventual sale.
Should a Sub-ID replace UTM parameters?
Usually not. UTMs are useful for shared channel classification, while Sub-IDs add the extra detail needed for affiliate or partner optimization.
What should I avoid putting in a Sub-ID?
Do not place sensitive information such as personal identifiers, tokens, or credentials in the URL. Use opaque or team-defined labels instead.
Make campaign decisions with clearer data
Tracly brings attribution, traffic quality, testing, and performance signals into one practical workflow.
Explore TraclyRelated articles
Affiliate Tracking
Affiliate Link Tracking Software: Features That Protect Revenue
Compare the affiliate link tracking features that reduce reporting blind spots, protect revenue, and help marketers scale winners with more confidence.
Campaign Analytics
UTM Parameters vs. Sub-ID Tracking: When to Use Each
Learn how UTM parameters, sub-IDs, and dynamic campaign values differ, then build a consistent link-tagging system for dependable reporting.
Campaign Analytics
How to Measure True Campaign ROI Across Paid Channels
A step-by-step guide to measuring campaign ROI with reliable cost, conversion, quality, and attribution inputs across paid marketing channels.
