Русский

Postbacks

Affiliate postbacks to Facebook Conversions API and TikTok Events API

The network fires a postback, the platform finds the click, maps the status to an event and sends it server-side to your Facebook or TikTok pixel. Every send shows up in the log.

Updated

How a conversion reaches the ad account

  1. Postback The network calls the postback link with the click ID, status and amount.
  2. Queue The postback lands in a Cloudflare queue and is acknowledged only after it is written. It stays in the queue for up to 14 days with up to 100 retries.
  3. Status to event The network status is mapped to a platform event using the team’s aliases: ftd becomes a deposit, reg becomes a registration.
  4. Pixel The pixel is picked by a parameter in the ad link. Without it, the domain’s pixel or the app’s fallback pixel is used.
  5. Send The event goes server-side to Facebook Conversions API or TikTok Events API, and the platform’s response is logged.

Installs reach the ad account without any postback: the platform records the install itself and sends it as Lead to Facebook and Download to TikTok.

Network statuses and ad account events

Networks name events differently: ftd, first_dep, sale, dep_confirmed. The platform maps them to its own events and then to Facebook and TikTok event names. Defaults:

Default status mapping
EventNetwork statusesFacebookTikTok
Installrecorded by the platformLeadDownload
Registrationreg, reg_confirmed, registration, reg_status, lead, register, signup, CompleteRegistrationCompleteRegistrationCompleteRegistration
Depositftd, first_dep, first_deposit, first_dep_confirmed, dep, deposit, dep_confirmed, dep_status, sale, PurchasePurchaseCompletePayment
Redepositrebill, redep, rdAddToCartnot sent

The team lead adds custom statuses on the “Team” page, under settings in “Postback aliases”. Pixel event names are changed in “Platform conversions” next to it. Both apply to every campaign of the team. A status missing from the aliases is not sent to the ad account.

The deposit amount from the postback goes into the event in USD. Along with the event, Facebook gets the fbclid, IP, user agent and hashed country; TikTok gets the ttclid, IP, user agent and country. The ad account uses them to match the conversion to the click.

Postback secret against fraud

Turn on “Postback fraud protection” in the app settings. The app gets a secret, and the network passes it in the postback. A postback without the secret or with someone else’s secret is rejected, so nobody can forge a deposit knowing only the click ID.

Change the secret with “Rotate”. The old one stops working immediately, so update the link in the network dashboard first.

Send log and resend

In “Analytics” → “Conversions”, the “To pixels” tab lists every send to Facebook and TikTok: event, amount, pixel, app, HTTP status and the platform’s response, click details and the request body. Filter by app, pixel, event and status: 2xx delivered, 4xx rejected, 5xx error.

“Resend” sends the stored body again and updates the status. On a pixel page, “Retry failed” repeats all of that pixel’s sends that ended in a 5xx. On the first send the platform makes up to 3 attempts with a 10-second timeout.

A resend really goes to the ad account, and the event may be counted twice. Resend only what did not get through.

What is supported

  • Events go only to Facebook Conversions API and TikTok Events API.
  • A pixel stores the Pixel ID and the Conversions API token. You enter the token once when creating the pixel under “Pixels”.
  • Redeposits are not sent to TikTok by default, since no event is set for them.
  • Facebook matches conversions worse without an fbclid. Put the app link into the ad account as is, and Facebook adds the fbclid itself.

FAQ

Which events go to Facebook?

By default the install goes as Lead, the reg as CompleteRegistration, the deposit as Purchase with the amount in USD and the redeposit as AddToCart. Names can be changed in team settings.

My network sends its own status, like approved. What do I do?

The team lead adds it to “Postback aliases” under the right event, for example deposit. After that those postbacks reach the ad account.

Can I resend a conversion?

Yes, with “Resend” in the “Conversions” log or “Retry failed” on the pixel page. The event goes to the ad account again.

Why do I need a postback secret?

Without it, anyone who knows a click ID can send a forged deposit. With protection on, the platform accepts only postbacks carrying the app’s secret.

Read next

Build your first app

Log in with Telegram, pay only for installs.

Create an app