Skip to main content
Leadbit and ClickFlare Integration Leadbit has run affiliate offers since about 2013 and is best known for nutra COD (cash on delivery) offers. It now presents itself as a performance marketing agency. On a COD offer the visitor fills in an order form and Leadbit records a new lead. The advertiser’s call center then phones the buyer. Only when the call center confirms the order is the lead approved and paid. To track Leadbit offers in ClickFlare, two links have to carry the ClickFlare click ID in both directions:
  • The offer URL sends the ClickFlare click ID to Leadbit in sub1.
  • The postback URL sends it back to ClickFlare with the payout and the lead’s ID.
Only need the two values? The Click ID & postback macros page has them ready to copy with your tracking domain.
Leadbit has no public help center. The menu names in this guide come from tracker guides written between 2017 and 2024. Leadbit has rebranded since, so some labels may now read differently. If a menu doesn’t match, look for the closest equivalent or ask your Leadbit manager.

How the data flows

The two links mirror each other:
Offer URL = their parameter + your token. Postback URL = your parameter + their macro. Leadbit writes the click ID into sub1 on the way in and reads it back with the {sub1} macro on the way out. The parameter is lowercase sub1.

What you’ll need

  • An active ClickFlare account with your own tracking domain set up. Shared domains get flagged by networks and blocked by browsers. See Tracking domains.
  • A Leadbit affiliate account with access to the offer you want to run.

What the Leadbit template contains

ClickFlare has a Leadbit affiliate network template. It fills in the Leadbit macros ClickFlare needs. The Leadbit template in ClickFlare: Click Id is {sub1}, Payout is {cost} and Transaction ID is {id}

Setup

Everything in ClickFlare is done from inside the campaign editor. Create the offer and the affiliate network inline as you go.
1

Set up your own tracking domain

Add a custom tracking domain before anything else, for example trk.yourdomain.com. The postback URL is built on this domain, so changing it later means updating the postback in Leadbit too. See Tracking domains.
2

Report conversions by postback time

Go to Settings → General Settings and set Conversion registration time reporting to Postback Timestamp.On COD offers, the approval comes in long after the click, and Leadbit postbacks can also be delayed. With the default Visit Timestamp, ClickFlare reports the conversion on the day of the original click, so past days keep changing as approvals arrive, and the dates don’t match Leadbit’s. See Conversion registration time.
This is an account-wide setting. It changes the date conversions are reported on for every campaign.
3

Create the campaign

Go to Campaigns → New Campaign, choose Redirect tracking, pick your traffic source and select your tracking domain. See Creating a campaign.
4

Create the Leadbit affiliate network

While creating the offer for the campaign, create a new affiliate network in its Affiliate Network field. You can also create it first under Affiliate Networks → + New. Either way:
  1. Search for Leadbit and pick the template.
  2. Check that Click Id is {sub1}, Payout is {cost} and Transaction ID is {id}.
  3. Leave Event Type empty.
  4. Under Conversion tracking, select your own Tracking Domain and keep S2S Postback URL as the tracking method.
  5. Set Payout currency to the currency your Leadbit offers pay in.
ClickFlare builds the postback URL from these fields:
The Conversion tracking section of the Leadbit network in ClickFlare, with the generated postback URLCopy the postback URL and save the network.
Leadbit has a separate {currency} macro, which the template doesn’t use. Most COD offers pay in USD, but some may not. Check each offer’s currency in Leadbit and make sure it matches the Payout currency on the network.
5

Create a source and a flow in Leadbit

Leadbit needs a source and a flow before it gives you a link.
  1. Open Sources and click Create new source. Pick the type, the Kind (traffic type), and enter a Title and Description. Both are required. Save.
  2. Go to Offers and click Create tracking URL next to the offer.
  3. In the Flow section, enter a flow name and select your source.
  4. In the Landing section, tick the landers Leadbit should use.
  5. Click Save flow.
6

Copy the tracking link

Open the Tracking URLs tab and click the link icon next to your flow. The Get code pop-up shows the link and a sub1 field. You have two options:
  • Copy the bare link and let ClickFlare add sub1 in the next step. This is the simplest.
  • Type {cf_click_id} into the sub1 field. The link updates to include sub1={cf_click_id}.
7

Create the offer in ClickFlare

In the offer form:
  1. Name the offer.
  2. Select the Leadbit affiliate network you just created.
  3. Paste the Leadbit link into Offer URL.
  4. If the link has no sub1 yet, turn on Append Click ID to Offer Url. ClickFlare adds sub1={cf_click_id}, which is the parameter Leadbit expects.
The link ClickFlare sends visitors to then looks like this:
The ClickFlare New Offer form with the Leadbit affiliate network selected and sub1={cf_click_id} in the Offer URLUse one way only. If you filled the sub1 field in Get code, leave the toggle off, or sub1 appears twice.
Write {cf_click_id} with braces. Without them Leadbit stores the literal text cf_click_id, the postback returns that text, and the conversion cannot be matched to a click.
Set the payout to Auto so ClickFlare uses the payout value from the postback.
8

Add the global postback in Leadbit

In older guides the global postback is under Profile → Global Postback in the right-hand menu (some call it Tools → Global postback). Then:
  1. Click Edit global postback.
  2. Paste the ClickFlare postback URL into the Postback URL field.
  3. Tick only the approved (confirmed) status. Leave every other box unticked. See Which statuses to tick.
  4. Choose whether the postback applies to your existing flows or only to new ones. To cover a flow you already created, apply it to existing flows.
  5. Save.
Voluum’s Leadbit guide says to tick all six boxes. Don’t do that with ClickFlare. ClickFlare doesn’t read the status, so every ticked case, including rejected leads, arrives as a conversion with a payout.
Each flow also has a Statistics transmission setup section with separate postback fields, one per conversion step. If you set the postback per flow instead of globally, paste the ClickFlare URL into the approved field only.
9

Check the transaction ID macro

Next to the postback field, Leadbit lists the macros it supports. Check that {id} is there. If you only see {transactionid}, use that in Transaction ID instead and copy the new postback URL into Leadbit. If neither is listed, ask your Leadbit manager which macro holds the lead ID.
10

Add a lander (optional)

If you use your own lander instead of Leadbit’s, its CTA must use the ClickFlare click URL, not the Leadbit link. ClickFlare then adds the click ID when it redirects to the offer. See Paths with landers and offers.
11

Save the campaign and launch

Save the campaign, copy the campaign URL from the Tracking tab and use it in your ads. Before you spend money on traffic, run the checks in Verify the setup.

Which statuses to tick

Leadbit’s {status} macro returns new for a lead that just came in and confirm for a lead the call center approved. Rejected and trash leads have statuses too, but their exact values aren’t published. The global postback has six checkboxes for the cases that fire a postback. Their labels aren’t published, so match them by meaning. Tick only the approved status. ClickFlare then counts only leads Leadbit pays you for, with the right payout. The trade-off is timing: conversions show up hours or days after the click, so judge a campaign on yesterday’s or last week’s numbers.

Why ticking everything breaks your numbers

ClickFlare doesn’t read a status. Every postback counts as a conversion. It decides whether a postback is new or an update by the click ID and the transaction ID:
  • Same click ID, same txid: the later postback replaces the earlier one. The last one received wins.
  • Same click ID, different txid: both count as separate conversions.
So a rejected postback for a lead you were already sent replaces that lead and still counts as a conversion. A lead that only ever gets a rejected postback shows up as a conversion it never was.

Optional: new and approved

You can also tick the new-lead status to see leads as soon as they come in. Know what happens first:
  • Leads that are approved later should be counted once, if {id} stays the same for a lead across statuses. The approval then replaces the new-lead postback. Leadbit doesn’t document this, so compare the two postbacks for one lead in ClickFlare’s Logs → Event Logs.
  • Leads that are never approved stay counted. No later postback replaces them.
  • The payout on a new lead is unknown. Whether Leadbit fills {cost} on a new-lead postback isn’t documented. Check one first.

Why the transaction ID matters

By default ClickFlare keeps one conversion per click ID. If several postbacks arrive with the same click ID and no transaction ID, ClickFlare treats them as the same conversion and keeps only the last one received. The txid parameter tells ClickFlare which postbacks are the same conversion. {id} is most likely Leadbit’s ID for the lead:
  • Two leads from the same click (for example a visitor who orders twice) have different IDs, so ClickFlare counts both.
  • A resent postback for the same lead carries the same ID, so ClickFlare doesn’t count it twice.
Without a transaction ID, two orders from the same click merge into one.

Verify the setup

1

Click through the campaign

Open the ClickFlare campaign URL (with a lander, also click the CTA). In the first request to the Leadbit link, check that it has sub1= followed by a real ClickFlare click ID, not the literal text {cf_click_id}.
2

Check the click in Leadbit

In Leadbit’s statistics, filter by your flow and check that the click shows the ClickFlare click ID in sub1. If sub1 is empty there, no postback can be matched.
3

Check the postback

We found no postback test tool in Leadbit, and on the recommended setup a postback only fires after a real call-center approval. Don’t submit test orders unless your Leadbit manager agrees: COD leads go to a real call center. Instead:
  • Wait for the first approved lead and look for it in ClickFlare. Leadbit postbacks can arrive with a delay.
  • To check the URL itself right away, copy it, replace the macros with a real ClickFlare click ID from your test click, a payout and any test ID, and open it in your browser. This records a test conversion in ClickFlare.
4

Check the conversion in ClickFlare

The conversion should appear on the campaign with the payout from Leadbit. In Logs → Event Logs, check that it arrived with a txid and no literal macros.

Troubleshooting

Work through these in order:
  • The global postback doesn’t cover the flow. If you applied it to new flows only, flows created earlier don’t fire it. Edit the global postback and apply it to existing flows.
  • A flow postback is set. Check the flow’s Statistics transmission setup section for an old URL from another tracker.
  • The approved status isn’t ticked, or the global postback wasn’t saved.
  • sub1 is empty in Leadbit. The offer URL is missing sub1={cf_click_id}, or your lander’s CTA links straight to Leadbit instead of using the ClickFlare click URL.
  • The approval hasn’t happened yet, or the postback is delayed.
  • The payout looks wrong. Check the offer’s currency against the network’s Payout currency.
See Troubleshooting S2S postbacks for the general checks.
More than the approved status is ticked, so new, rejected or trash leads count as conversions. Untick everything except the approved status. Conversions already recorded stay in ClickFlare, so adjust past days by hand.
  • A literal {sub1} means Leadbit had no value for sub1. Check that the click ID is in the link the visitor actually clicks.
  • A literal {id} means the macro isn’t supported on your account. Check the macro list next to the postback field.
  • A literal cf_click_id means the offer URL in ClickFlare has the token without braces. It must be {cf_click_id}.

FAQ

Yes. Leadbit also has sub2 to sub5. Use them in the offer URL, for example sub2={campaign_id}&sub3={trackingField1}, and see them in Leadbit’s statistics. Keep sub1 for the click ID.
Yes. Once ClickFlare records the Leadbit conversion, it can send it to the traffic source through the traffic source’s postback or conversion API integration. With only the approved status ticked, the traffic source optimizes for approved leads, which is usually what you want on COD.

Macro reference

Every network’s values

Dr.Cash

Another COD nutra network

Postback issues

Troubleshoot S2S