CPAlead postback → lidvanto: integration setup

How to set up the CPAlead postback in the lidvanto tracker: subid in the offer URL, Postback Configuration, {subid}, {lead_id} and {payout} macros, testing a conversion.

The CPAlead postback sends every conversion on your offers to the tracker, with the click ID, the payout and a unique conversion ID. This guide shows how to connect CPAlead to the lidvanto tracker: what to append to the offer URL, where to turn the postback on in the CPAlead dashboard and how to check that conversions arrive.

What CPAlead is#

According to the CPAlead documentation, CPAlead is a CPA/CPI offer marketplace for publishers, advertisers, offerwall owners and API partners. The postback is set up in one place — Postback Configuration — and receives your conversion notifications. CPAlead accepts only the macros from its own list in the postback URL: the dashboard rejects an unknown macro when you save. There is no status macro on that list.

What you need#

  • a CPAlead publisher account and an offer link;
  • access to Tracker in lidvanto: affiliate networks, offers and campaigns;
  • a tracker campaign that will send the traffic.

Ready-made settings from the catalog#

cpalead.com template in the lidvanto affiliate network catalog: the “Add affiliate network” form fills in these values. Vertical: Various verticals.

Offer link parameters

subid={click_id}

Add them to the offer link: the tracker will substitute the click ID for {click_id}.

Postback link

https://lidvanto.com/traffic/affiliate-postback/ID/?token=TOKEN&click_id={subid}&order_id={lead_id}&payout={payout}
  • ID and TOKEN are your affiliate network’s number and secret token: copy the ready link from its card.
  • There’s no status in the link: the tracker counts every conversion as confirmed.

Step 1. Create the CPAlead network from the catalog#

  1. Open Tracker → Affiliate networks and click Add affiliate network.
  2. Find cpalead.com in the catalog. The postback macros and the click ID parameter are filled in automatically.
  3. Keep Test mode on and click Save.

The form fields are described in Connecting a network.

Step 2. Pass the click ID in subid#

According to the CPAlead documentation, {subid} is your primary click reference that you pass on the tracking URL. In the offer card (Tracker → Offers), paste the CPAlead link and append the parameter from the block above:

https://cpalead-offer-link/?subid={click_id}

If the link already has a ?, add the parameter with &. The tracker substitutes the click ID, and CPAlead returns it in the postback with the {subid} macro. subid2 and subid3 stay free — for example, for the source or the creative. Then connect the offer to the CPAlead network in the offer card’s Affiliate networks block. All offer URL macros are in Offers.

Step 3. Turn the postback on in Postback Configuration#

  1. In lidvanto, click Copy in the network card’s Postback link block. The link already contains the network number and a secret token — don’t publish it.
  2. In the CPAlead dashboard, open Postback Configuration, paste the link, turn on Postback Enabled and click Save.

The lidvanto link uses three CPAlead macros:

  • {subid} — the tracker’s click ID;
  • {lead_id} — the unique conversion ID. CPAlead recommends relying on it to avoid counting a conversion twice, and lidvanto does the same: a repeat with the same ID isn’t counted again;
  • {payout} — the conversion payout.

CPAlead also offers a Postback Password. lidvanto checks its own secret token in the link, so the CPAlead password isn’t required for the tracker.

Step 4. Statuses and currency#

The CPAlead postback has no status, so lidvanto counts every incoming conversion as approved. There’s no currency in the link either: the tracker takes it from Commission currency in the offer’s Affiliate networks block (USD by default) — make sure it matches the payout currency in your CPAlead account. Macros and statuses are explained in Affiliate network postback.

Step 5. Test with a conversion#

  1. Open your campaign link and complete the offer’s target action.
  2. In lidvanto, open Statistics → Logs, Postbacks tab: it shows every CPAlead request and the tracker’s response; rejections are red, with the reason.
  3. The conversion appears in Statistics → Conversions as Confirmed with its payout, and the revenue shows up in the campaign stats.

What to do with test orders afterwards is described in Conversions and logs.

Common mistakes#

  • No subid={click_id} in the offer URL. CPAlead has nothing to return, and the tracker can’t find the click.
  • Postback Enabled is off. The link is saved, but CPAlead doesn’t call it.
  • The offer isn’t connected to the network. The log says the click or offer doesn’t belong to this affiliate network.
  • An extra macro in the link. CPAlead won’t save a link with a macro outside its list. Copy the link from lidvanto without edits.
  • The link was copied without the token. The tracker rejects requests without the correct token. Use the Copy button: the token is hidden on the page.

FAQ#

Where do I set the postback URL in CPAlead?#

In the Postback Configuration section of the dashboard: paste the link, turn on Postback Enabled and save.

Which CPAlead macro carries the click ID?#

{subid} — the value you passed in the subid parameter of the tracking link. {subid2} and {subid3} are available too.

How do I avoid counting a conversion twice?#

Pass {lead_id}: it’s the unique conversion ID. The lidvanto link already has it in the order_id parameter.

Why don’t CPAlead conversions have a pending status?#

The CPAlead postback has no status macro, so the tracker counts the conversion as approved right away.

Do I need the Postback Password?#

Not for lidvanto: the link is protected by the network’s secret token, and the tracker ignores extra parameters in the request.

Further reading#