Skip to main content

What is Event Tracking?

Event tracking is how your platform communicates with Atlas. Every meaningful player action — placing a bet, making a deposit, creating an account — is an event that you send to Atlas in real-time. Atlas processes these events to power your analytics, risk management, compliance monitoring, and behavioral insights.

Event Domains

Atlas organizes events into four domains, each with a dedicated endpoint:

Users

register · updatePlayer lifecycle events: account creation and profile changes.

Transactions

deposit · withdrawFinancial events: money in and money out.

Casino

open · win · loseCasino game events: slots, table games, live casino rounds.

Sports

open · win · lose · cashoutSports betting lifecycle from placement to settlement.

Generic vs Domain Events

You have two options for sending events: Use domain events whenever possible. They give you pre-built analytics, risk scoring, and compliance monitoring out of the box.

How Events Flow

Response Model

Every successful event ingestion returns 202 Accepted — meaning the event was received and published to Kafka. Processing is asynchronous.
202 Accepted means the event reached Kafka, not that it was fully processed. Keep your domain IDs (bet_id, transaction_id, user_id) in logs for easier traceability.

Batch vs Single Events

For high-volume scenarios, always use batch endpoints: → See the Batch Ingestion Guide for patterns and examples.

Required Fields

All domain events share these required fields:

Timestamps

Always include event timestamps in the domain payload (registered_at, transaction_dt, bet_dt). Atlas uses them for:
  • Accurate time-series analytics
  • Correct ordering of events
  • Compliance audit trails
Use ISO 8601 format in UTC, e.g. "2026-03-11T14:30:00Z".
If your system generates events in bulk (e.g., settling bets after a game), use the actual event time in fields like bet_dt / transaction_dt / registered_at rather than current time. This ensures analytics reflect reality, not ingestion time.