Skip to main content

The click id (cb_aev) in detail

cb_aev is what ties an order back to the creator who drove it. Handle it in two places:
  1. In the browser — the tracking script reads cb_aev from the URL on arrival and remembers it. You don’t do anything here beyond installing the script.
  2. On your server — store cb_aev on the order when the shopper first lands, and send it back as cb_aev when you report the order (Step 3). This is what credits the creator when the browser script couldn’t fire.
Use the same order id on both sides. The pixel’s transaction_id (Step 1) and the server call’s merchant_order_id (Step 3) must be the same id from your system. That’s how the analytics event and the money event line up to one order. If they differ, you get a dashboard row that never turns into a paid order.
If cb_aev is missing (the shopper came directly, not from a creator), the order is still recorded — it just isn’t credited to anyone.
The rule is the affiliate industry standard: the last marketing click within 30 days wins. Once a shopper clicks a creator’s link, every purchase they make in the next 30 days is credited to that creator — including when they come back later on their own to buy. The only thing that takes the credit away is a later click from one of your own paid channels — your Google/Meta ads, another affiliate network, a paid coupon site. A normal organic or direct return (they googled your brand, typed your URL, opened your app, clicked an email) is not a competing click — the creator still gets the credit. Because we only ever see our own creator click, you drive the de-duplication (you can see the shopper’s whole journey; we can’t). Two ways to do it:
  • Preferred — clear cb_aev when your own paid ad wins. If the shopper returns via your own Google/Meta ad (or another network) and buys, clear the saved cb_aev so the order report carries no click id. We never claim it. Do not clear it on organic or direct returns.
  • Cleanup — decline after the fact. If one slips through, POST /conversions/decline during your regular purchase-confirmation review and it drops from your invoice.
A click older than the 30-day window simply doesn’t count — that order is recorded as a normal sale with no commission. You don’t do anything for this.