The Affiliate Tracking Problem
When you promote an affiliate offer with paid traffic, three systems each see part of the picture:
- Your ad platform knows what you spent and who clicked, but can't see the sale on the merchant's site.
- The affiliate network knows about the sale and your commission, but not which of your ads produced it.
- The merchant's page is where the sale happens, and you usually can't put your own pixel on it.
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
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
- 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.
- Tag every ad link with consistent UTM parameters or the platform's dynamic parameters.
- Create the offer link in your tracker so it appends the click ID as the network's sub-ID.
- Add the tracker's postback URL in your affiliate network account.
- Connect ad accounts for costs and conversion syncing.
- Send a test conversion if the network supports it, and confirm it reaches your tracker and ad account.
Tracking by Traffic Source
| Traffic source | What to watch |
|---|---|
| Meta (Facebook/Instagram) | Sync conversions via CAPI; many affiliate offers need a bridge page to meet ad policies |
| Google Ads | Check whether your network allows direct linking or brand bidding; watch for click fraud |
| YouTube | Track description links and ads separately |
| Solo ads | Filter bots and compare vendors on revenue. See our solo ads tracking guide. |
| Native ads | Pass widget and placement IDs to find the placements that convert |
| Email list | Tag each broadcast so you know which emails earn |
The Numbers to Optimize
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.