Back to overview
Lesson 6 of 6

S2S Integration and Technical Tracking Setup

8 min read

Server-to-server (S2S) postback tracking is the production standard for iGaming affiliate programs. It eliminates browser dependency, works regardless of ad blockers or cookie restrictions, and produces accurate conversion data at scale. Setting it up correctly -- and testing it before launch -- prevents the attribution errors that cause the most affiliate disputes.

Why S2S Outperforms Cookie Tracking in iGaming

Cookie tracking depends on the player's browser preserving a cookie from click to registration. In iGaming, this fails more often than in most industries. Players research on mobile, deposit on desktop. They use private browsing for gaming. They delete cookies between sessions. Safari's Intelligent Tracking Prevention limits cookie lifespans to 7 days even when you set a 30-day window. S2S bypasses all of this by communicating directly between servers.

FactorCookie TrackingS2S Postback
Browser dependencyHigh -- cookie must persistNone
Ad blocker impactMedium -- some blockers strip cookiesNone
Safari ITP impactHigh -- 7-day limit on third-party cookiesNone
Cross-device trackingPoorNot possible (still needs device ID)
Setup complexityLowMedium
Accuracy at scaleModerateHigh
Audit trail qualityLimitedFull server log

How S2S Postbacks Work in iGaming

When a player clicks an affiliate link, the affiliate's tracking system generates a unique click ID and passes it to the operator's landing page as a URL parameter (e.g., `?clickid=abc123`). The operator stores this click ID server-side, tied to the player's session. When the player deposits, the operator's platform sends an HTTP request to the affiliate's postback URL, passing back the click ID, commission amount, and transaction ID. The affiliate's system matches the click ID to the original click and records the conversion.

For multi-network iGaming programs, each affiliate network has its own postback URL format and parameter naming conventions. A casino running three affiliate networks simultaneously needs three separately configured postback endpoints, each receiving the correct conversion event with the correct parameter names.

Multi-Brand Tracking Configuration

Operators with multiple casino or sportsbook brands under a single affiliate program need a tracking architecture that distinguishes which brand a player registered with, while still crediting the correct affiliate. The affiliate tracking platform routes postbacks with a brand identifier parameter. Affiliates see consolidated metrics with brand breakdowns, and managers can filter by brand to compare performance.

  • Single postback URL with brand_id parameter: one endpoint handles all brands, differentiated by a parameter the operator sends.
  • Brand-specific postback URLs: each brand has a unique endpoint. Simpler for the affiliate platform, more maintenance for the operator.
  • Consolidated affiliate view: affiliates see combined FTDs and commissions across all brands they promote.
  • Manager brand filtering: the operator dashboard can break any report down by brand while keeping the affiliate-level view clean.

Testing and Validating Before Launch

Never go live with S2S tracking without a full end-to-end test. The testing process involves generating test clicks with known click IDs, completing test registrations and deposits in a staging environment, and verifying that the postback fires correctly and the conversion appears in both the operator's dashboard and the affiliate's platform.

Run a 48-hour parallel test where both cookie tracking and S2S are active simultaneously. Compare FTD counts between the two methods. A gap of more than 5--10% between cookie-reported and S2S-reported conversions indicates a configuration error -- most commonly, the click ID is not being stored correctly when players navigate between pages before registering.

Duplicate postback fires are a common production error. If a deposit event triggers two postback calls -- due to a platform retry on timeout -- the affiliate receives double commission credit. Implement idempotency checks: if the same transaction ID arrives twice, discard the second call. Build this into your postback handler before processing the first live traffic.

Key Takeaways

  • S2S postback tracking eliminates browser dependencies (ad blockers, Safari ITP, cookie deletion) -- it is the production standard for iGaming affiliate programs.
  • When a player clicks an affiliate link, the click ID passes server-side and matches to the deposit event when the player converts -- no browser needed.
  • Multi-brand programs need a tracking architecture that routes postbacks with a brand identifier, giving affiliates a consolidated view and managers brand-level filtering.
  • Always run a 48-hour parallel test comparing cookie and S2S conversion counts before decommissioning cookie tracking.
  • Implement idempotency checks on your postback handler to prevent duplicate commission credits when postback retries occur.