HomeBlog › Postback (S2S) Tracking Setup for iGaming Affiliates

Postback (S2S) Tracking Setup for iGaming Affiliates

IE By iGaming Expert Hub Editorial· Updated 2026-09-21·8 min read

Key takeaways

Postback or server-to-server (S2S) tracking is how a casino affiliate program reports conversions directly from its servers to yours. When your referred player registers or makes a first-time deposit (FTD), the platform calls a URL on your tracking domain carrying the click ID you originally passed in, so every conversion is matched to its source click without cookies or pixels. Here is how to set it up correctly and debug it when conversions go missing.

How S2S postback tracking works, step by step

The whole system rests on one identifier making a round trip:

Because steps 3 and 4 happen entirely between servers, S2S tracking is unaffected by Safari's ITP, ad blockers, or third-party cookie deprecation, which is why it displaced pixel tracking as the iGaming standard.

Postback vs pixel tracking: why iGaming standardized on S2S

AspectPixel (client-side)Postback (S2S)
Fires fromPlayer's browser on a thank-you pageOperator's server on the actual event
Blocked by ad blockers / ITPFrequentlyNo
Can report deposits days after signupNo, player must revisit a tagged pageYes, event-driven
Data leakage to third partiesPossible via page scriptsContained to the two servers
Setup complexityLowModerate: macros must match exactly

The deposit-timing row is decisive for casino affiliates: an FTD often happens hours or days after registration, when no pixel could ever fire. Only a server-side event can capture it.

Setting up your postback URL and macros

Every tracker (Keitaro, Voluum, Binom, RedTrack, Bemob and similar) exposes a postback endpoint that looks something like:

https://track.yourdomain.com/postback?clickid={clickid}&status={status}&payout={payout}

You register this URL in the affiliate program dashboard, replacing your tracker's placeholder macros with the program's macros. This is where most setups break: each platform names its tokens differently.

Data fieldCommon program-side macro namesMaps to (tracker side)
Click ID{clickid}, {subid}, {aff_sub}, {var1}Your tracker's click identifier
Event type{status}, {goal}, {event}Conversion type: reg, FTD, deposit, qualified
Payout / value{payout}, {sum}, {amount}Commission or deposit amount
Transaction ID{txid}, {conversion_id}Deduplication key

Two rules prevent 90% of failures. First, the parameter you send out on the click must be the same parameter the program returns; if you pass your click ID in aff_sub but map the postback to subid, every conversion arrives orphaned. Second, URL-encode nothing manually; let the platforms substitute raw values, because double-encoded click IDs will not match.

Which events to request

Ask your affiliate manager to enable separate postbacks for registration, first deposit, and (if offered) subsequent deposits or a 'qualified player' event. Distinct events let you compute reg-to-FTD rates per traffic source, which is the single most useful optimization metric in casino traffic. If you run CPA deals, the qualification event, not the raw FTD, is what actually pays, so track both and watch the gap. Our CPA vs revenue share guide explains how qualification thresholds change which event matters.

Testing before you spend: the dry-run checklist

Deduplication, delays, and the other silent conversion killers

Once live, missing or inflated numbers almost always trace to one of these:

Compliance and data handling notes for regulated markets

Postbacks should carry identifiers and amounts, never personal data. In regulated markets you should refuse any setup that pushes player names or emails through tracking URLs: it is unnecessary for attribution and creates privacy liability on both sides under laws like Canada's federal privacy statute, PIPEDA, which is overseen by the Office of the Privacy Commissioner of Canada. Keep your tracking domains clean, disclose affiliate relationships on your pages, and remember that in Ontario your operator partners' marketing standards effectively extend to your funnels. When choosing which programs are worth this setup effort, our program reviews note which platforms offer real-time postbacks and per-event logs, and our program terms red flags guide covers the contractual side of the same relationship.

A minimal working configuration, summarized

Outbound link: https://operator.com/promo?btag=1234_{clickid}. Registered postbacks: one for registration, one for FTD, one for deposits, each carrying {clickid}, an event label, a transaction ID, and an amount. Tracker mapping: click ID to click ID, event label to conversion goal, transaction ID as dedup key on deposits only. Test conversion fired and confirmed in both logs before the first dollar of paid traffic. That is the entire system; everything else is naming differences between platforms.

Advanced setups: multi-program routing, sub-IDs and reporting hygiene

Once the basic postback loop works, the value comes from what you layer on top of it. Sub-ID discipline is the first layer: beyond the click ID, most programs accept two to five additional sub parameters, and serious affiliates standardize a schema across every program they work with, for example sub1 for traffic source, sub2 for creative or page, sub3 for keyword or placement. When those values ride out on the click and echo back on the postback, your tracker can answer the questions that actually drive optimization: which article converts registrations into depositors, which source produces FTDs that never redeposit, which placement's players qualify for CPA and which stall at registration. Without the schema, you have conversion totals; with it, you have a business.

The second layer is cross-program normalization. Every platform names events differently: one program's 'qualified' is another's 'CPA triggered' and a third's 'goal 3'. Map them all to a single internal taxonomy in your tracker (reg, ftd, deposit, qualified) on day one, because six months from now you will want to compare programs head-to-head, and renaming historical conversion data retroactively is somewhere between painful and impossible. While you are at it, store the payout value the postback reports, but reconcile it monthly against the program dashboard and the actual payment received: postback-reported revenue is an operational signal, not an accounting record, and drift between the three numbers is your early-warning system for shaved conversions or changed terms.

Third, monitor the pipe itself. Postbacks fail silently: a program migrates platforms, an SSL certificate expires, a macro gets renamed in a dashboard redesign, and your conversions simply stop arriving while clicks continue. Two cheap alarms catch nearly everything: an automated daily check that flags any program with clicks above a threshold and zero conversions over 48 hours, and a weekly comparison of tracker-recorded conversions against each program dashboard, with any gap above a few percent investigated immediately. Affiliates who run these two checks recover missing revenue in days; affiliates who do not typically discover the breakage at month-end, past many programs' claim windows for retroactive crediting. The infrastructure is boring, which is exactly why the affiliates who maintain it well end up with the cleanest data and, over time, the strongest negotiating positions.

19+. This article covers marketing infrastructure and does not encourage gambling; play involves risk and outcomes are never guaranteed. If gambling is affecting you or someone you know, ConnexOntario offers free, confidential support at 1-866-531-2600.

Frequently asked questions

What is a postback URL in affiliate marketing?

It is an endpoint on your tracking server that the affiliate program's platform calls when a conversion happens. The call carries your original click ID plus event details, letting your tracker attribute the conversion to the exact click, campaign, and source.

What is the difference between S2S postback and pixel tracking?

A pixel fires in the player's browser and can be blocked by ad blockers or privacy features, and it cannot capture deposits made days later. A postback fires server-to-server on the actual event, so it is unaffected by browsers and captures delayed conversions.

Why are my FTD conversions not showing in my tracker?

The usual causes are a macro mismatch (the program returns the click ID in a different parameter than you mapped), batch-delayed postbacks, truncated click IDs, over-aggressive deduplication, or a firewall blocking the program's server calls. Check the program's postback log first.

Should I deduplicate postback conversions?

Deduplicate registrations by click ID, but deduplicate deposit events by transaction ID instead. Deduping deposits by click ID silently discards every redeposit after the first, understating your revenue share performance.

Can postbacks send player personal data?

They should not. Attribution only needs click IDs, event labels, transaction IDs, and amounts. Passing names or emails through tracking URLs creates privacy-law exposure (for example under PIPEDA in Canada) with no attribution benefit, so decline any such setup.

Authoritative referenceBeGambleAware — responsible gambling

Compare independently vetted sites.

See reviews

18+ only. Gambling can be addictive — please play responsibly and only bet what you can afford to lose. If gambling is affecting you or someone you know, contact a local support service. This content is informational and never a guarantee of winnings.

Written and reviewed by the iGaming Expert Hub editorial team. Facts checked against primary sources; see the reference above.

← All articles