- Affiliate network: the parameter to add to the offer URL, and the postback URL to place in the network.
- Traffic source: the click ID macro in the campaign URL, and the postback URL to place in ClickFlare.
The mirror to keep straight: in a URL you send to the network (offer URL, campaign URL), the parameter is theirs and the token is ClickFlare’s. In a postback URL, the parameter is the receiver’s and the macro is the sender’s. So an offer URL carries
sub2={cf_click_id}, and the network’s postback returns it with click_id={sub2}.Affiliate networks: how the two values work
1
Add the click ID to the offer URL
Add the parameter to the offer URL in ClickFlare, for example
https://network.com/offer?id=123&sub2={cf_click_id}. Use ? instead of & if the URL has no query string yet. When a visitor reaches the offer, ClickFlare replaces {cf_click_id} with the visit’s click ID and the network stores it in that sub ID.You can also turn on Append Click ID on the offer, after selecting the network’s template as its affiliate network. ClickFlare then adds the same parameter for you. Use one or the other, not both.2
Place the postback in the network
Paste the postback URL into the network’s postback or S2S pixel setting. Some networks set it once for the account, others per offer. When a conversion happens, the network replaces its macros with the stored click ID, the payout and the transaction ID, and calls ClickFlare.
3
Test it
Click through your campaign to the offer, check that the network received a real click ID (not the literal text
{cf_click_id}), then fire a test conversion. See Troubleshooting S2S Postback URL if it doesn’t show.What the postback parameters mean
Your network isn’t in the list
Every network works with the generic postback. Find the sub ID your network uses for tracking (oftensub1, sub2, aff_sub, s2 or subid) and its postback macros, then build:
{sub2} on Everflow and TUNE, #s2# on CAKE, [ml_sub1] on MyLead. See How to submit an S2S postback URL to an affiliate network.
Traffic sources: how the two values work
- Click ID macro. The traffic source template puts it in your campaign URL as the External ID row, for example
click_id={click_id}. ClickFlare stores the value the network fills in. Some networks (Quora, X, AdRoll, ChatGPT, Nextdoor, Rumble) add their own click ID to every click, so the template only names the parameter and has no macro. - Postback URL. You place it in ClickFlare, on the traffic source, under Traffic source postback URL. ClickFlare replaces
{external_id}with the stored click ID and{payout}with the conversion’s revenue when it fires. Replace the highlighted parts with your own account values from the network. - No postback. A few networks only accept conversions through their pixel or their Conversion API. The card says which.
FAQ
Why does the offer parameter use {cf_click_id} but the postback uses the network's macro?
Why does the offer parameter use {cf_click_id} but the postback uses the network's macro?
They point in opposite directions. The offer URL is read by the network, so it uses the network’s parameter name and ClickFlare’s token, which ClickFlare fills in before the visitor leaves. The postback is read by ClickFlare, so it uses ClickFlare’s parameter names (
click_id, payout, txid) and the network’s macros, which the network fills in when it fires.Do I need my own tracking domain?
Do I need my own tracking domain?
Yes. Use your own custom domain in the postback and the campaign URL. Shared domains get flagged by networks and blocked by browsers. The domain you type above is stored only in your browser.
Can I use another sub ID than the one listed?
Can I use another sub ID than the one listed?
Yes, as long as the offer URL and the postback use the same one. If you put the click ID in
sub3, the postback must return {sub3} (in the network’s syntax). Mixing them is the most common reason a postback arrives with an empty or literal click ID.A value here doesn't match what my network shows
A value here doesn't match what my network shows
Networks change their macros from time to time, and some let each account rename sub IDs. Your network’s dashboard wins. Tell ClickFlare support so the template and this page get fixed.
Related
Postback to a network
Build and test the ClickFlare postback
Traffic source postback
Every token a traffic source postback can use