KMA postback → lidvanto: integration setup
How to set up the KMA (kma.biz) postback URL in the lidvanto tracker: data1 in the flow link, global postback, {status} and {sum} macros, p, a, d and f statuses, testing.
The KMA postback tells your tracker that a visitor from your campaign placed an order, and later whether the call center approved or rejected it. This guide shows how to connect KMA (kma.biz) to the lidvanto tracker: which parameter to add to the flow link, where to paste the postback URL in the KMA dashboard and how the tracker reads KMA statuses, which arrive as a single letter. lidvanto fills in most fields from the network template.
What KMA is#
According to the KMA website, KMA is a CPA network operating since 2013; its homepage lists 1,900+ offers, 104+ GEOs and in-house nutra offers (health and beauty) with no gambling. On its careers page, KMA says it works in nutra only.
Two things matter for the tracker. KMA accepts your tracking values in data1–data5 and returns them in the postback with macros of the same name — you can see this in the KMA postback templates in the RedTrack and AnyTrack integration guides. KMA sends the order status as a single letter: according to AnyTrack, P means pending and A means approved.
What you need#
- a KMA affiliate account and a flow for the offer;
- access to Tracker in lidvanto: affiliate networks, offers and campaigns;
- a tracker campaign that will send traffic to the offer.
Ready-made settings from the catalog#
kma.biz template in the lidvanto affiliate network catalog: the “Add affiliate network” form fills in these values. Vertical: Nutra and e-commerce goods.
Offer link parameters
data1={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={data1}&status={status}&payout={sum}¤cy={currency}
- ID and TOKEN are your affiliate network’s number and secret token: copy the ready link from its card.
What the affiliate network calls the statuses
| Status in lidvanto | Network values |
|---|---|
| Pending | p |
| Confirmed | a |
| Declined | d, f |
Step 1. Create the KMA network from the catalog#
- Open Tracker → Affiliate networks and click Add affiliate network.
- Find kma.biz in the network catalog. The postback macros, status letters and the click ID parameter are filled in automatically — the same values as in the block above.
- Keep Test mode on until you have tested the setup, and click Save.
The fields are described in Connecting a network.
Step 2. Add data1 to the flow link#
The lidvanto template passes the click ID in data1. In the offer card (Tracker → Offers), paste your KMA flow link and append the parameter from the block above:
https://your-kma-flow-link/?data1={click_id}
If the link already has a ?, add the parameter with &. Before redirecting the visitor, the tracker replaces {click_id} with the click ID; KMA stores it in data1 and returns it with the {data1} macro. The other values (data2–data5) stay free for your own data. Then, in the same offer card, connect the offer to the KMA network in the Affiliate networks block. All offer URL macros are listed in Offers.
Step 3. Paste the postback URL into KMA#
- In lidvanto, open the KMA network card and click Copy in the Postback link block. The link already contains the network number and a secret token — don’t publish it.
- In the KMA dashboard, open the global postback — according to the RedTrack guide, it’s under Tools → Global postback. Paste the link and save.
- The global postback works for all offers at once, so one lidvanto link covers all your KMA flows.
Step 4. Check the statuses#
The template maps p to Pending, a to Confirmed, and d and f to Declined. Case doesn’t matter: the tracker treats P and p as the same status. KMA’s public materials don’t explain d and f, so after the first rejections check the postback log: if KMA sent a different letter, add it in the network card, What the affiliate network calls the statuses block. Macros and statuses are explained in Affiliate network postback.
KMA sends the payout with the {sum} macro and the currency with {currency}. The commission counts only once the order is approved: while it’s pending, the payout in lidvanto is zero.
Step 5. Test with a conversion#
- Open your campaign link yourself and place an order on the offer’s landing page.
- Open Statistics → Logs, Postbacks tab: it shows every KMA request and the tracker’s response. A successful response is grey, a rejection is red with the reason in the row.
- An accepted postback appears in Statistics → Conversions as Pending, and after the call center’s call — as Confirmed or Declined.
When everything matches, turn test mode off: if the network already has test orders, duplicate it and uncheck test mode in the copy, as described in Conversions and logs.
Common mistakes#
- No
data1={click_id}in the flow link. KMA has nothing to return, and the postback arrives without a click ID. - The click ID is in another value. If you already pass the click ID in
data2ordata3, change the click ID macro in the network card to{data2}or{data3}— the parameter in the link and the macro in the postback must match. - The offer isn’t connected to the network. The click is found, but the tracker doesn’t know the offer belongs to KMA — the log says the click or offer doesn’t belong to this affiliate network.
- A different currency. If the currency KMA sends differs from Commission currency in the offer, the tracker rejects the postback — the log shows
currency_mismatch. Fix the currency in the offer’s Affiliate networks block. - The link was copied without the token. The tracker rejects requests without the correct token. Use the Copy button rather than copying from the screen: the token is hidden on the page.
FAQ#
Which KMA parameter should carry the click ID?#
The lidvanto template uses data1: data1={click_id} in the flow link and the {data1} macro in the postback. You can use any of data1–data5, but change it in both places.
What do the p, a, d and f statuses in the KMA postback mean?#
p means the order is waiting to be processed, a means approved. The lidvanto template treats d and f as declined. If a different letter shows up in the postback log, add it to the right field of the network card.
Where do I put the tracker postback URL in KMA?#
In the global postback of the KMA dashboard (the tools section). It works for all offers at once, and one lidvanto link fits all your flows.
Why is a KMA conversion stuck in pending?#
The call center hasn’t processed the order yet. When KMA sends a or a rejection code, the status in lidvanto updates by itself — no order ID is needed: there’s one conversion per click, and later postbacks update its status and payout.
Can I test the setup without real traffic?#
Yes: in the network’s test mode, postbacks are accepted and orders are marked as test. Place an order yourself and check the postback log.
Further reading#
- How to set up an S2S postback — how conversions travel from an affiliate network to a tracker.
- lidvanto tracker — campaigns, flows, offers and ROI per funnel.
- All integrations — other networks from the catalog.