ClickBank setup guide
Pass the TrafficTaps click ID to ClickBank and get Initial Purchase and Upsell Purchase sales back in your reports.
What it is
This guide connects ClickBank to TrafficTaps in two parts: the click ID goes out in your offer link, and the sale comes back in a postback.
Why it matters
Without this, ClickBank pays you for sales that TrafficTaps cannot match to an ad. With it, you see profit and ROI per campaign, ad and placement.
Step by step
Add the network in TrafficTaps
Go to Affiliate Networks > New and choose ClickBank. Copy the full postback URL shown there, with your token filled in.
Add the click ID to your offer link
Add
extclid={clickid}to the end of your hop link. Add the offer in Offers > New.Offer URLhttps://youraffiliate.vendorname.hop.clickbank.net/?extclid={clickid}Set the postback in ClickBank
In ClickBank, add a server-to-server (S2S) postback and paste the URL below. Choose the triggers Initial Purchase and Upsell Purchase. Do not choose Combined.
ClickBank postbackhttps://trk.traffictaps.com/api/postback?token=<WORKSPACE_TOKEN>&cid={extclid}&payout={affiliate_earnings}¤cy=USD&txid={event_id}Test
Send a test postback if the network has the button, or make a test sale. The conversion should show in Reports. If it does not, read Conversions not showing.
Example
The full flow for ClickBank:
Offer link: https://youraffiliate.vendorname.hop.clickbank.net/?extclid={clickid}
Postback: https://trk.traffictaps.com/api/postback?token=<WORKSPACE_TOKEN>&cid={extclid}&payout={affiliate_earnings}¤cy=USD&txid={event_id}ClickBank macros
| Macro | What it gives you |
|---|---|
{extclid} | The click ID you passed in the hop link |
{affiliate_earnings} | Your commission, in US dollars |
{event_id} | Unique ID of the sale event |
{event_type} | Type of event, such as a purchase |
Refunds
ClickBank may not send refunds through this postback. If a sale is refunded, check ClickBank and update the status in TrafficTaps. See Status mapping and refunds.
Common mistakes
- Forgetting the click ID in the offer link. ClickBank cannot send it back if it never received it.
- Pasting the template without the token. Copy the full URL from the app.
- Sharing the token. It is secret and different for every workspace.
- Choosing Combined. The first sale and each upsell then arrive in a different way. Pick Initial Purchase and Upsell Purchase.
- Expecting refunds to arrive on their own. They may not be sent.
Related pages
Stuck? Write to support@traffictaps.com with your campaign name and a sample click ID.