Sweepstakes Game Session

Event Key

ootb_sweepstakes_game_session

This event should be sent when a game is closed, summarizing a game session. Overview of game session.

Event KeyEvent NameType
ootb_sweepstakes_game_sessionOOTB Sweepstakes Game SessionSimple event

Event Structure

The mandatory properties (tenant, timestamp, event, and customer) are required for all events and documented in detail on the Mandatory Properties page. Below is the JSON structure for the context-specific properties of the OOTB Sweepstakes Game Session event:

{
  "context": {
    "ootb_session_start_timestamp": "2024-05-27T10:30:00Z",
    "ootb_session_end_timestamp": "2024-05-27T10:32:00Z",
    "ootb_game_code": "game456",
    "ootb_game_name": "Blackjack",
    "ootb_game_category": "Table Games",
    "ootb_start_gc_balance": 500.00,
    "ootb_end_gc_balance": 500.00,
    "ootb_start_sc_balance": 500.00,
    "ootb_end_sc_balance": 500.00,
    "ootb_gc_stakes": 200.00,
    "ootb_sc_stakes": 200.00,
    "ootb_sc_win_amount": 100.00,
    "ootb_gc_used": 50.00,
    "ootb_gc_win_amount": 100.00,
    "ootb_gross_gaming_revenue": 100.00,
    "ootb_number_of_sc_bets": 2,
    "ootb_number_of_gc_bets": 2,
    "ootb_game_session_reference": "game_ses_456",
    "ootb_language": "English",
    "ootb_country": "USA",
    "ootb_platform": "iOS",
    "ootb_launch_location": "BingoLobby",
    "ootb_launch_location_index": 1,
    "ootb_channel": "Mobile",
    "ootb_brand": "brand123",
    "ootb_license": "USA"
  }
}

Parameters

Parameter KeyParameter NameTypeDescriptionMandatory for Opti-XEvents-based Integration required?
ootb_session_start_timestampSession Start TimestampStringISO 8601 datetime of session start.YesOptional
ootb_session_end_timestampSession End TimestampStringISO 8601 datetime of session end.YesMandatory
ootb_game_codeGame CodeStringUnique identifier for the game.YesMandatory
ootb_game_nameGame NameStringName of the game played.NoMandatory
ootb_game_categoryGame CategoryStringGame category (e.g., Slots, Table Games).NoEnrichment- used for out-of-the-box attribute
ootb_start_gc_balanceStart Gold Coins BalanceDecimalPlayer's gold coins balance at the beginning of the session.NoOptional
ootb_start_sc_balanceStart Sweep Coins BalanceDecimalPlayer's sweep coins balance at the beginning of the session.NoOptional
ootb_end_gc_balanceEnd Gold Coins BalanceDecimalGold Coins balance at session end.NoOptional
ootb_end_sc_balanceEnd Sweep Coins BalanceDecimalSweep Coins balance at session end.NoOptional
ootb_gc_stakesGold coins stakesDecimalGold coins bet during session.YesMandatory
ootb_sc_stakesSweep coins stakesDecimalSweep coins bet during session.YesMandatory
ootb_sc_win_amountSweep coins Win AmountDecimalSweep coins won.NoEnrichment- used for out-of-the-box attribute
ootb_gc_usedGold Coins UsedDecimalGold coins amount used.NoEnrichment- used for out-of-the-box attribute
ootb_gc_win_amountGold Coins Win AmountDecimalGold coins amount won.NoEnrichment- used for out-of-the-box attribute
ootb_gross_gaming_revenueGross Gaming RevenueDecimalRevenue from the game session.YesMandatory
ootb_number_of_sc_betsNumber of SC BetsNumberCount of sweep coins bets or game rounds.YesEnrichment- used for out-of-the-box attribute
ootb_number_of_gc_betsNumber of GC BetsNumberCount of gold coins bets or game rounds.YesEnrichment- used for out-of-the-box attribute
ootb_game_session_referenceGame Session ReferenceStringReference ID to link game events.YesOptional
ootb_languageLanguageStringLanguage setting of the player.NoOptional
ootb_countryCountryStringPlayer's country code.NoOptional
ootb_platformPlatformStringPlatform used, e.g., iOS, Android.NoEnrichment- used for out-of-the-box attribute
ootb_launch_locationLaunch LocationStringGame source container (home, featured, etc.).NoOptional
ootb_launch_location_indexLaunch Location IndexNumberIndex within the container.NoOptional
ootb_channelChannelStringDevice type or access channel.NoOptional
ootb_brandBrandStringBrand name or identifier.NoOptional
ootb_licenseLicenseStringJurisdiction of operation or licensing authority.NoOptional

Explanation

  • event: Set to ootb_sweepstakes_game_launch to mark the beginning of a user's engagement with a specific game title.
  • context:
    • ootb_launch_timestamp: Used to calculate the exact start time of the user's engagement.
    • ootb_game_code: The system ID used to aggregate data for specific game performance.
    • ootb_game_name: The display name used for reporting and personalization tokens.
    • ootb_game_category: Allows for segmentation based on game preference (e.g., "Slots Players").
    • ootb_start_gc_balance: Establishes the user's "Social" liquidity baseline before play begins.
    • ootb_start_sc_balance: Establishes the user's "Promotional" liquidity baseline before play begins.
    • ootb_game_session_reference: A unique key linking this event to subsequent session/close events.
    • ootb_language: The language setting of the player during the event.
    • ootb_country: The player's country location during the event.
    • ootb_platform: The platform environment (e.g., iOS, Android) where the event occurred.
    • ootb_launch_location: The UI container/source where the game was initiated (e.g., Homepage, Search).
    • ootb_launch_location_index: The numerical position index within the launch container.
    • ootb_channel: The device type or access channel used.
    • ootb_brand: The specific brand or skin associated with the user/event.
    • ootb_license: The regulatory license under which the operation is occurring.