Glossary · Advertising

Postback URL

A web address that one server calls to report a conversion to another, server to server, with the click id from the original ad click. No browser, pixel or cookie is involved.

In plain words

When someone clicks an ad or affiliate link, the network adds a click id to the landing URL. Your site keeps that id. When the person buys, your server calls the network's postback URL with the click id and details such as the event name, value and order id. The network matches the click id to the click and credits the conversion. Because the call goes from server to server, ad blockers and browser cookie limits do not stop it. Affiliate networks and native ad platforms such as Taboola and Outbrain use postbacks; Meta, Google and TikTok use their own server APIs, which work on the same idea with more data.

Other names for a postback URL

Server-to-server (S2S) tracking, S2S pixel, server postback and callback URL all mean the same thing. Conversion APIs (Meta's Conversions API, TikTok's Events API) are close relatives: also server to server, but sent as authenticated requests with hashed customer data, not only a click id.

Why postback URLs matter

  • Conversions are reported even when the browser blocks tracking scripts or deletes cookies.
  • The network credits the right partner or campaign, which matters when partners are paid per sale.
  • No customer data has to leave your server: the click id is enough to match.

How a postback works

  1. The click

    The visitor clicks an ad or affiliate link. The network's tracking server records the click and adds a click id to the landing URL.

  2. Your site stores the click id

    On the landing page, the click id is saved first-party (in a cookie on your domain or with the cart), so it is still there at checkout.

  3. The conversion

    The visitor buys. Your server, or the tool that sends your conversions, looks up the stored click id.

  4. The postback call

    Your server calls the postback URL with the click id and the conversion details.

  5. The match

    The network finds the click by its id and credits the conversion to the campaign or partner.

Who and what is involved

PartyRole
Advertiser (your shop)Stores the click id and reports conversions.
Network or ad platformIssues the click id, receives the postback and credits the campaign or partner.
Affiliate or publisherSends the traffic and is paid per conversion.
Tracking platformOptional: software on either side that records clicks and sends or receives postbacks.

Networks usually let you set a postback for every conversion in the account (global) or one per offer or campaign, with its own event and payout.

The click id: the key that connects both sides

Without the click id there is no match. Each network names it differently (Taboola passes tblci on the landing URL and expects it back as click-id; Outbrain uses its own ob_click_id macro). The most common reason a postback fails is that the id was lost on the way: a redirect that drops the query string, a checkout on another domain, or a visit that started before the id was stored.

Conversion details and context

Besides the click id, a postback can carry the event name (purchase, lead, add to cart), the value and currency, the quantity and the order id. The order id prevents double counting when the same conversion is reported twice. Some networks also accept a status, so a refunded order can be reversed.

A postback call (fictional network, example values)
https://network.example/postback?click-id=CLICK_ID&name=purchase&revenue=89.00&currency=EUR&orderid=1001

GET or POST

Most postbacks are simple GET requests with the data in the query string, as above. Some networks accept POST requests with the data in the body, which suits larger payloads. Use what the network documents, and URL-encode every value.

Sending all data or only what the network asks

Some networks take whatever your system sends to one URL; others give you a template with placeholders (macros) for each value, and your system fills them in. Templates are stricter but make it clear what the network receives.

Tracking links

The link the visitor clicks also matters. A network's main tracking link carries the partner and offer ids and redirects to your page; deep links send the visitor to a specific product; short links hide the parameters but must keep them on the redirect. Test each type: if the click id does not reach your landing page, no postback can match.

How to check that a postback works

  1. Click a test ad or link and check that the click id is in the landing URL and stored.
  2. Place a test order and check that your system made the call and got a success response.
  3. Check the network's report for the test conversion. Some networks, Taboola among them, return no validation, so a successful call does not prove the conversion was counted.
  4. Keep a log of every call with its response, so missed conversions can be found and sent again.

In ROASaurus

See Postback URL in ROASaurusMarketing › Channels & campaigns › Attribution
  1. ROASaurus stores click ids and UTM tags first-party when a visitor lands, and reports orders to Taboola and Outbrain with their server-to-server postback, keyed on the platform's click id.
  2. Data quality › Deliveries lists each event per platform with its status (queued, sent, skipped, failed) and the reason; an order without that platform's click id is skipped.
  3. Marketing › Channels & campaigns › Attribution credits the same orders to channels and campaigns under 12 attribution models; Profit › Orders › Journeys shows the clicks before each order.
The ROASaurus Mac app showing Attribution: orders, revenue, ad spend and ROAS per channel under the chosen model. Fictional demo store, simulated data.
The ROASaurus iPhone app showing Attribution: orders, revenue, ad spend and ROAS per channel under the chosen model. Fictional demo store, simulated data.
Marketing › Attribution: orders, revenue and ROAS per channel under the chosen attribution model. Fictional demo store, simulated data.

Start freeOpen the live demo14-day trial of every feature, no credit card.

Read more

Sources

  1. The S2S postback URL (Taboola developers)
  2. Server-to-server integrations (Outbrain)

Related terms

Click id

A code an ad platform adds to the link of an ad, such as fbclid for Meta or gclid for Google. It lets the platform tie a later purchase to the click.

Server-side tracking

Sending purchases to an ad platform from a server instead of from the visitor's browser. ROASaurus sends each paid order from your shop's own order data, so ad blockers cannot stop it.

Conversions API

The way an ad platform accepts conversions sent from a server. Meta calls it the Conversions API, TikTok the Events API; most platforms have one.

Deduplication

Counting a purchase once when it is reported twice, by the browser pixel and by the server.

Attribution model

The rule that shares out the credit: all to the last click, all to the first, spread over every click, or calculated from the data.

First-party data

Data collected on your own domain, by you. Browsers and ad blockers treat it more kindly than scripts loaded from someone else's domain.

FAQ

Questions, answered

More answers in the FAQ and the help center.

What is a postback URL?

An address on a network's server that your server calls when a conversion happens, passing the click id from the original click and details such as the value. The network uses it to credit the conversion without relying on the browser.

How do I create a postback URL?

You usually do not create it yourself: the network gives you its postback URL with placeholders for the click id and other values. Your job is to store the click id when the visitor lands and fill in the values when the order is paid.

What is the difference between a postback and a pixel?

A pixel runs in the visitor's browser and can be blocked or lose its cookie. A postback is a call from your server to the network, so it does not depend on the browser, but it does depend on the click id you stored.

Why are my postback conversions missing?

Most often the click id was lost: a redirect dropped it, the checkout ran on another domain, or it was never stored. Also check the event name and currency the network expects, and whether the call returned an error.

Is a postback URL safe for customer privacy?

A plain postback sends only the click id and conversion details, no name or email. It is still tracking, so it falls under your consent and privacy rules like any other ad measurement.

Every sale, traced to the ad that earned it

Server-side tracking, profit and lifetime value in one app. Free plan, no credit card.