What Is a Postback URL?

A postback URL reports a conversion server to server, without cookies or pixels. Both directions, the macros it carries and why it is the reliable option.

A postback URL is an address one tracking system calls on another, server to server, to say that something happened. In affiliate marketing it is how a conversion is reported without relying on the visitor's browser, cookies or a pixel on a thank-you page.

Two directions

There are two postbacks in a typical offer, and people often mean either one.

  • Advertiser to network. When a click is tracked, Offer Capsule produces a trackback token for it. The advertiser keeps the token, and when the sale or signup completes, their server calls the conversion endpoint with the encrypted offer id, the token and, optionally, an order id and amount. See conversion tracking.
  • Network to affiliate. The affiliate gives the network a URL on their own tracker. Offer Capsule calls it when one of their conversions is recorded, approved or reversed, so their tracker knows within seconds. See affiliate postbacks.

What goes in the URL

The affiliate's postback URL is a template. Values in braces are filled in when it fires:

  • {click_id} and {offer_id}: the click and the offer.
  • {order_id} and {order_amount}: the advertiser's reference and the sale value.
  • {payout}, {revenue} and {status}: the frozen amounts and the lifecycle status.
  • {sub1} and up, or {segment:Name}: the affiliate's own sub ids.

Every value is URL-encoded, and a token that does not resolve becomes empty instead of being sent as literal braces.

Why server to server is the reliable option

  • Nothing depends on the visitor's browser still being open or a script being allowed to run.
  • The order id makes a disputed conversion traceable in the advertiser's own system.
  • Offer Capsule queues outgoing postbacks and retries a failed call with backoff, then marks it dead with the last error once the attempts run out, so a tracker that was briefly down still hears about the conversion.

When an advertiser cannot post server to server, a JavaScript or image pixel on the confirmation page records the same conversion, with the same lifecycle behind it.

Frequently asked questions

What is the difference between a postback and a pixel?
A pixel fires from the visitor's browser on the confirmation page. A postback is called from a server, so it does not depend on the browser at all.
Can one affiliate use different postbacks for different offers?
Yes. A global URL fires for every offer they run, and a per-offer URL can be added for one offer. Each can be switched off on its own.
Do test conversions fire postbacks?
No. A test conversion is stored so the integration can be checked, but it never bills, never fires a postback and is left out of reports.

Related: what affiliate tracking software does. See it working: book a demo.