Click Tracking Guide logoClick Tracking Guide

Affiliate Marketing Tracking: How to See Which Ads Earn Commissions

The mechanics of tracking paid traffic to affiliate offers, explained in plain English.

By Click Tracking Guide Editorial Team · Updated October 6, 2026
Disclosure: Click Tracking Guide is reader-supported. If you buy or start a plan through some of our links, including ClickMagick and Hyros, we may earn a commission at no extra cost to you. Our content is based on published documentation, pricing and policies plus independent research. Learn more.

The Affiliate Tracking Problem

When you promote an affiliate offer with paid traffic, three systems each see part of the picture:

Affiliate tracking connects these pieces so you can see the profit of every ad, ad set, keyword or solo-ad vendor.

How Affiliate Tracking Works

1. Visitor clicks your ad
→
2. Tracker creates a click ID
→
3. Click ID added to affiliate link as sub-ID
→
4. Network records sale with sub-ID
→
5. Postback sends sale to tracker

Click IDs and sub-IDs

Every visit gets a unique click ID. When the visitor moves on to the offer, the tracker appends that ID to your affiliate link in the network's sub-ID parameter. Each network names this parameter differently (for example subid, aff_sub or tid), so check your network's documentation.

Postbacks (server-to-server tracking)

When a sale happens, the network calls your tracker's postback URL and passes back the click ID and payout. Because it travels server to server, a postback works even when browsers block cookies, which makes it the most reliable way to record affiliate conversions.

https://your-tracker.example/postback?clickid={subid}&payout={commission}

Illustrative format only. Your tracker gives you the exact postback URL, and your network defines its own placeholder names.

Cost tracking

Connect your ad accounts (or pass costs in your tracking links) so each click carries its cost. Then the tracker can show profit and ROI, not just revenue.

Conversion syncing back to the ad platform

Ad algorithms optimize toward the conversions they can see. Since you can't put a pixel on the merchant's thank-you page, the tracker sends commissions back through the platform's conversion API. See our Facebook Conversions API guide.

Setting Up Tracking for an Affiliate Campaign

  1. Use a pre-sell or bridge page on your own domain where possible. It gives you a page to track, collect leads and build trust before sending visitors to the offer.
  2. Tag every ad link with consistent UTM parameters or the platform's dynamic parameters.
  3. Create the offer link in your tracker so it appends the click ID as the network's sub-ID.
  4. Add the tracker's postback URL in your affiliate network account.
  5. Connect ad accounts for costs and conversion syncing.
  6. Send a test conversion if the network supports it, and confirm it reaches your tracker and ad account.

Tracking by Traffic Source

Traffic sourceWhat to watch
Meta (Facebook/Instagram)Sync conversions via CAPI; many affiliate offers need a bridge page to meet ad policies
Google AdsCheck whether your network allows direct linking or brand bidding; watch for click fraud
YouTubeTrack description links and ads separately
Solo adsFilter bots and compare vendors on revenue. See our solo ads tracking guide.
Native adsPass widget and placement IDs to find the placements that convert
Email listTag each broadcast so you know which emails earn

The Numbers to Optimize

EPCEarnings per click: commissions ÷ clicks
CPCWhat each click cost you
ROI(Commissions − cost) ÷ cost
CRSales ÷ clicks to the offer

The core rule is simple: a campaign is profitable when its EPC is higher than its CPC. Tracking lets you apply that rule per ad, per keyword and per placement, instead of to your whole account.

Stay Within Network and Platform Rules

Read your network's and merchant's terms before you launch. Many programs restrict brand-name bidding, direct linking, coupon sites or certain traffic types. ClickMagick's own referral program, for example, bans PPC promotion of ClickMagick. Ad platforms have their own policies on affiliate landing pages. Tracking can't fix a campaign that breaks the rules.

Tools for Affiliate Tracking

ClickMagick is our pick for most affiliates running paid ads or solo ads, with dynamic affiliate links, postbacks, rotators and conversion syncing. Full-time media buyers at high volume should also look at RedTrack and Voluum. Compare them in our best affiliate tracking software roundup, or browse more guides on the Click Tracking Guide homepage.

Frequently Asked Questions

What is a sub-ID in affiliate marketing?

A sub-ID is an extra parameter you add to your affiliate link to label the click, such as a campaign or a unique click ID. The network stores it with the sale and reports it back, so you know which click earned the commission.

What is a postback URL?

A postback is a server-to-server notification: when a sale happens, the affiliate network calls a URL your tracker provides and passes back your click ID and the commission amount. It's more reliable than browser pixels because it doesn't depend on cookies.

Can I put the Facebook pixel on an affiliate offer page?

Usually not, because you don't control the merchant's page. That's why affiliates send commissions back to ad platforms through a tracker that receives postbacks and syncs conversions via the platform's conversion API.

Do I need a tracker if I only do SEO affiliate marketing?

Less so. Content affiliates mostly need clean links and network reports. Trackers matter most when you pay for traffic and need to compare ad cost with commissions.

Connect Your Ads to Your Commissions

ClickMagick's dynamic affiliate links and postbacks match commissions to the exact ad that earned them. Read our review or try it free for 14 days.

Read Our ClickMagick Review

Click to Start Trial