Key takeaways
- Sub-IDs are custom parameters appended to affiliate links that travel through the network redirect and are returned with commission data, enabling campaign-level attribution.
- Unlike UTM parameters, sub-IDs survive the merchant redirect and tie commissions back to specific placements — not just traffic to your own site.
- A consistent naming convention such as source_medium_creative makes it fast to spot top performers and cut losing placements from your sub-ID reports.
- Sorting sub-ID report data by earnings per click (EPC) rather than raw clicks reveals your true revenue winners and shows exactly where to invest more budget.
Why Not Knowing Which Campaigns Convert Is Silently Draining Your Revenue
Most affiliates know their total commissions at a glance. What they rarely know is where those commissions came from — and that gap between knowing you earned money and knowing why you earned it is where a significant amount of revenue quietly leaks away.
Consider a common scenario: you run five email promotions in the same month, each pointing to the same merchant offer. At the end of the month, your dashboard shows $2,000 in commissions. That number looks fine. But buried inside it is $1,600 that came from a single email — one that had the right subject line, the right timing, or the right audience segment. The other four emails, combined, produced just $400. Without Sub-ID tracking, you have no way of knowing any of that. To you, it just looks like “email” performed reasonably well.
The Budget Allocation Problem This Creates
When you can’t separate winners from losers, you’re forced to treat everything equally. Next month, you allocate the same effort, the same send frequency, and the same production time to all five email formats — including the four that barely moved the needle. That’s not a minor inefficiency. That’s a structural problem with compounding consequences:
- Time and creative resources get spread evenly across high- and low-performing formats
- Budget set aside for paid amplification — including retargeting campaigns The Art of Retargeting: Boost Affiliate Earnings with Smart Ads — gets distributed without any conversion signal to guide it
- You can’t iterate on what’s working because you don’t know what’s working
- Optimization cycles stretch by weeks or months while you wait for aggregate data to reveal patterns that granular tracking would show immediately
What the Opportunity Cost Actually Looks Like
If that $1,600 email could be identified, you could double down: refine the angle, test a different call-to-action, or send a follow-up to the same segment. Even a modest 25% lift on that single campaign adds $400 in incremental revenue — matching the combined output of the other four. Scale that across a full year of campaigns and the difference between tracked and untracked compounds quickly.
The inverse is just as costly. Without granular visibility, you might keep investing in a campaign that looks stable in aggregate — but is actually being carried by one strong placement you’ve never identified. When that placement loses traction through audience fatigue, a seasonal drop-off, or a merchant landing page change, revenue falls and you have no clear diagnosis.
Sub-ID tracking doesn’t just satisfy curiosity about where commissions came from. It gives you the data foundation to make decisions that are actually worth making.
How Sub-ID Tracking Works Inside an Affiliate Link
A sub-ID is a custom string parameter you append to an affiliate link before a visitor clicks it. The parameter travels through the network’s redirect, gets stored server-side, and is echoed back to you alongside the commission record when a sale completes. Think of it as a label you set at click time that the network holds in its database until the transaction closes — no matter how many redirects happen in between.
Building the Link
Most affiliate networks reserve a dedicated query parameter for this purpose — commonly named subid, sub1, or something similar depending on the platform. You populate it with any value that is meaningful to your tracking setup. A finished link might look like this:
https://go.network.com/redirect?id=1234&subid=email-newsletter-july
The value email-newsletter-july tells you exactly where this click came from. You can encode a traffic source, a campaign name, an ad placement, or a creative variant — or combine several dimensions into one string using a consistent delimiter. The only hard constraint is the network’s character limit, which typically sits between 50 and 255 characters.
The Full Click-to-Commission Lifecycle
Once a visitor clicks that link, the following sequence unfolds:
- Click captured. The network’s redirect server reads the
subidparameter and stores it against a unique click ID in its database. - Visitor browses. The shopper lands on the merchant’s site and navigates toward a purchase. No cookie set by your domain is involved in what follows.
- Conversion fires. The merchant’s order-confirmation page triggers the network’s pixel or a server-to-server postback.
- Sub-ID returned. The network matches the conversion to the stored click ID, retrieves your sub-ID value, and surfaces it in the transaction report alongside the commission amount and order details.
flowchart LR A[click with sub-ID appended] --> B[network stores sub-ID server-side] B --> C[conversion fires on merchant site] C --> D[sub-ID returned with commission data]
Because the sub-ID lives in the network’s database rather than in the visitor’s browser, it is unaffected by cross-domain restrictions, browser privacy settings, or ITP policies that shorten third-party cookie lifespans. This matters more than it might seem: Cookie Duration Explained: How Affiliate Windows Affect Earnings explains where cookie-based attribution can break down, but sub-ID attribution operates entirely outside that failure mode. The value you set at click time is the value that comes back, as long as the network’s session is still active when the sale fires.
The practical result: whatever segmentation logic you encode into the sub-ID string — traffic source, campaign, placement, creative — arrives in your reporting with the same integrity it had the moment the visitor clicked.
Sub-ID vs UTM Parameters: Which One Belongs in Your Affiliate Links?
Both sub-IDs and UTM parameters are tracking tools, and it’s easy to assume they do the same job. They don’t. Understanding where each one lives — and where it breaks down — will save you from misreading your data and making the wrong optimization calls.
How They Compare Across Five Dimensions
| Dimension | Sub-ID | UTM Parameters |
|---|---|---|
| Where data is captured | Affiliate network / merchant server | Your analytics platform (e.g., GA4) |
| Survives a merchant redirect | Yes — embedded in the affiliate link structure | No — stripped when the user leaves your domain |
| Revenue attribution | Network ties confirmed commissions directly to the sub-ID value | Cannot natively connect clicks to affiliate revenue |
| Which tool reads it | Affiliate dashboard, TrackRef, network reports | Google Analytics, GA4, or similar on-site tools |
| Ideal use case | Identifying which campaign, placement, or creative drove a sale | Understanding on-site visitor behavior before the affiliate click |
The “survives a redirect” row is the one that trips up most affiliates. When a visitor clicks your affiliate link and lands on a merchant’s checkout page, any UTM parameters are gone — the merchant’s domain has no reason to pass them back. The sub-ID, however, is baked into the affiliate link and travels with the tracking cookie through the network, all the way to the recorded commission.
Why You Should Use Both
Here is a practical workflow that shows how they complement each other:
- A visitor arrives at your review page via a paid social campaign. UTM parameters (
utm_source=social&utm_medium=paid) tell GA4 exactly where that traffic came from and what the visitor did on your page. - The visitor clicks your affiliate link, which carries a sub-ID like
social-paid-review-q3. The network records that sub-ID when a purchase is confirmed and the commission is approved. - You now have two data points: GA4 shows on-site behavior; your affiliate dashboard shows which placement drove real revenue.
Neither tool gives you the full picture on its own. UTMs measure behavior on your own properties — session duration, page depth, bounce rate. Sub-IDs measure revenue attribution on the merchant side, which GA4 simply cannot reach. Running both in parallel lets you connect ad spend, on-site engagement, and affiliate commissions into one coherent story — instead of guessing at which half of the funnel is doing the work.
Step-by-Step: Building and Appending Sub-IDs to Your Affiliate Links
Getting a sub-ID into your affiliate links is a straightforward process once you follow the same four steps every time. Skipping any one of them is where most tracking gaps begin.
Step 1: Establish a Naming Convention
Consistent naming turns raw data into something you can actually act on. The most practical structure is source_placement_creative — three segments separated by underscores. Each segment answers a specific question: where did the traffic originate, where on the page did the link appear, and which creative or format was used.
A few examples:
- email_newsletter_hero-banner
- blog_sidebar_text-link
- social_instagram_story
Keep every value lowercase, and use hyphens only within a segment if you need two words. Never use spaces, capital letters, or special characters like %, &, or #. A value such as Email Newsletter or Hero Banner! will either corrupt the URL silently or be stripped out entirely by the network’s tracking system — leaving you with blank sub-ID fields in your reports.
Step 2: Identify the Correct Sub-ID Field Name
Each affiliate network uses its own query parameter name for sub-IDs. Common examples include sub1, subid, aff_sub, and clickid, but the exact name varies by platform. Check your network’s documentation or its built-in link generator before building any URLs. Using the wrong parameter means the value never gets stored, and all those clicks will show up in reports with no source attribution at all.
Step 3: Append the Parameter to Your Base Link
Add the parameter directly to your base affiliate link. Here is a concrete before-and-after:
Before:
https://track.example-network.com/click?offer_id=482&aff_id=1057
After:
https://track.example-network.com/click?offer_id=482&aff_id=1057&sub1=email_newsletter_hero-banner
Because the base URL already has a query string, the new parameter joins it with &. If the base link had no existing parameters, you would open the sub-ID with ? instead.
Step 4: Test the Link Before It Goes Live
Paste the complete URL into a browser, follow it through to the destination, then check your affiliate network’s click log or real-time reporting. The sub-ID value should appear exactly as you typed it. Many networks include a link validator or sandbox mode that lets you confirm parameter pass-through without triggering a real commission event — use it.
If your sub-IDs are capturing data across multiple creatives in the same placement, that data becomes especially powerful when paired with a structured testing approach — A/B Testing Affiliate Banners: Best Practices & Examples walks through exactly how to set one up.
Reading Sub-ID Reports to Identify Your Highest-Converting Campaigns
Most affiliate networks and third-party tracking platforms expose sub-ID data in a dedicated reporting tab — often labeled “Sub-IDs,” “Custom Parameters,” or “Campaign Breakdown” depending on the platform. In your network dashboard, look for a filter or grouping option that lets you segment all clicks and conversions by sub-ID value. In a standalone tracker, this data typically sits inside a campaign report where you can add sub-ID as a column dimension and sort it however you need.
The Four Metrics That Actually Matter
Once you pull the report, ignore the raw numbers until you have all four columns visible:
- Clicks — total traffic generated by each sub-ID value
- Conversions — completed sales or leads attributed to that sub-ID
- Conversion rate (CR) — conversions divided by clicks, expressed as a percentage
- Earnings per click (EPC) — total revenue divided by total clicks
EPC is the metric to sort by first. A sub-ID with 5,000 clicks and a $0.04 EPC is generating $200 in revenue. A sub-ID with 800 clicks and a $0.61 EPC is generating $488 in revenue. Sorting by raw clicks makes the first look like the winner — sorting by EPC reveals the second is nearly two and a half times more valuable per visitor sent.
What the Data Looks Like in Practice
Say you are promoting a software subscription offer and you have tagged two email segments separately: one for subscribers who joined through a free-tool landing page, and one for subscribers from a general newsletter signup form. When you pull the sub-ID report after 30 days, the free-tool segment shows 1,200 clicks, 74 conversions, and a 6.2% conversion rate. The general newsletter segment shows 2,800 clicks, 22 conversions, and a 0.8% conversion rate.
The 6.2% segment is generating meaningful revenue despite lower traffic volume. The decisions that follow are straightforward:
- Shift a larger portion of your email acquisition budget toward channels that bring in subscribers matching the free-tool profile.
- Prioritize that segment for future promotional sends and invest time in writing deeper, more product-specific content for them.
- Investigate the general newsletter segment — test a different offer, a different format, or reduce send frequency there while you diagnose why purchase intent is so low.
That kind of diagnosis is exactly what sub-ID reporting exists for: not just to count clicks, but to show you where your audience is already primed to buy so you can allocate time and budget accordingly.
Advanced Sub-ID Strategies to Scale Affiliate Revenue Systematically
Once you understand the basics of sub-ID tracking, the real leverage comes from using sub-IDs in deliberate, layered ways — not just logging where a click came from, but building a data structure that drives systematic revenue growth.
Stack Multiple Sub-ID Slots for Multi-Dimensional Reporting
Most affiliate networks allow more than one sub-ID parameter per link. Instead of using a single slot for a broad label like “email,” you can populate multiple slots simultaneously to capture source, placement, and creative in one click.
A single link might encode: - sub1: traffic source (email newsletter) - sub2: placement within that source (below-the-fold banner) - sub3: creative variant (product-focused image or lifestyle image)
When you pull your conversion report, you can filter across all three dimensions at once. You stop asking “did email work?” and start asking “did the product-focused banner placed below the fold in email work?” That specificity eliminates guesswork and directly reduces wasted spend on placements that look fine at a surface level but are quietly dragging down your overall EPC.
Set EPC Thresholds to Automate Pausing Decisions
Manually reviewing every placement on a weekly schedule is slow and prone to recency bias. A more scalable approach is to define a minimum EPC threshold for each channel — a floor based on your blended average across all active placements — and flag any sub-ID that falls below it after a statistically meaningful volume of clicks.
Once flagged, you either pause the placement or redirect that inventory budget toward sub-IDs that are consistently outperforming. This is how faster scaling decisions happen: you remove the manual interpretation bottleneck and replace it with a rule-based trigger. The budget freed from underperforming placements compounds quickly when reinvested into proven ones, and the process becomes self-reinforcing as your data set grows.
Run Structured A/B Tests with Dedicated Sub-IDs per Variant
Assign a unique sub-ID to every creative variant you test — separate identifiers for each headline, image, or call-to-action combination. This keeps your conversion data clean and attributable to a specific element rather than a blended average that obscures what is actually driving results.
For a deeper breakdown of how to structure those tests across banner formats and copy styles, A/B Testing Affiliate Banners: Best Practices & Examples walks through practical frameworks you can apply directly.
The compounding benefit here is significant. Each test produces a winning variant that becomes your new control, which you then test against the next iteration. Over several months, this iterative loop lifts your baseline conversion rate in ways that a single optimization pass never could — which is ultimately what separates affiliates who scale predictably from those who plateau.
Frequently asked questions
What is a sub-ID in affiliate marketing?
A sub-ID is a custom tracking parameter you append to an affiliate link — for example, ?subid=email-july-hero. When a sale occurs, the affiliate network returns that sub-ID value alongside the commission data. This lets you attribute revenue to a specific campaign, creative, or traffic source rather than seeing only an untagged aggregate total.
How is sub-ID tracking different from UTM parameters?
UTM parameters are captured by Google Analytics on your own domain and stop working once a visitor leaves for the merchant’s site. Sub-IDs travel through the affiliate network’s redirect and are stored server-side, so commission data comes back tagged with your original value even after a conversion happens on an external domain. They solve different attribution problems and are best used together.
Do all affiliate networks support sub-ID tracking?
Most major networks support at least one sub-ID slot — commonly named subid, s1, or clickref — but the field name and number of available slots varies. Always check your network’s link-building documentation before building your naming convention. Networks like CJ Affiliate offer up to five slots (s1–s5), giving you multi-dimensional tracking in a single link.
How many sub-ID parameters can I use in a single affiliate link?
It depends on the network, but many offer between one and five sub-ID slots. Using multiple slots lets you track different data dimensions simultaneously — for example, traffic source in s1, placement in s2, and creative variant in s3. This gives you richer segmentation without cramming everything into one parameter string and making reports hard to parse.
Track your affiliate link free — no signup
Paste any affiliate or referral link and get a TrackRef tracking link instantly, with live click stats. Save it to a free account whenever you want.