Game Close

Event Key

ootb_game_close

Marking the closure or completion of a specific game.

Event KeyEvent NameType
ootb_game_closeOOTB Game CloseSimple 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 Game Close Event:

{
    "context": {
        "ootb_game_close_timestamp": "2024-05-27T10:30:00Z",
        "ootb_game_code": "game456",
        "ootb_game_name": "Blackjack",
        "ootb_game_category": "Table Games",
        "ootb_end_balance": 20.00,
        "ootb_stakes": 200.00,
        "ootb_real_win_amount": 100.00,
        "ootb_bonus_used": 50.00,
        "ootb_bonus_win_amount": 100.00,
        "ootb_gross_gaming_revenue": 100.00,
        "ootb_number_of_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": "",
        "ootb_license": "USA"
    }
}

 

Parameters

Parameter KeyParameter NameTypeDescription
ootb_game_close_timestampGame Close TimestampStringISO 8601 datetime of closing a casino game.
ootb_game_codeGame CodeStringGame unique identifier/Game ID.
ootb_game_nameGame NameStringThe name of the game.
ootb_game_categoryGame CategoryStringThe category of the game (e.g., Slots, Roulette, Table, etc.).
ootb_end_balanceEnd BalanceDecimalThe monetary value of a player’s balance after closing the game.
ootb_stakesStakesDecimalMonetary real value that was wagered (real bet amount).
ootb_real_win_amountReal Win AmountDecimalMonetary real value that was won.
ootb_bonus_usedBonus UsedDecimalTotal bonus amount that was wagered/used in the game.
ootb_bonus_win_amountBonus Win AmountDecimalTotal bonus amount that was won.
ootb_gross_gaming_revenueGross Gaming RevenueDecimalTotal revenue (GGR).
ootb_number_of_betsNumber of BetsNumberTotal number of bets/games played in a game.
ootb_game_session_referenceGame Session ReferenceStringReference to the game session event (optional).
ootb_languageLanguageStringThe language of the player.
ootb_countryCountryStringThe country of the player.
ootb_platformPlatformStringThe platform used (e.g., iOS, Android).
ootb_launch_locationLaunch LocationStringThe container where the game was launched from (e.g., home, recently played, new game). Optional.
ootb_launch_location_indexLaunch Location IndexNumberIndex of where in the container the game was launched from (optional).
ootb_channelChannelStringThe channel through which an event was initiated (e.g., Mobile, Desktop, Tablet).
ootb_brandBrandStringBrand ID/Name.
ootb_licenseLicenseStringWhere they’re licensed to operate.

Explanation

  • event: The event name is set to ootb_game_close, reflecting the closure or completion of a game.

  • context:

    • ootb_game_close_timestamp: Records the date and time the game was closed.
    • ootb_game_code: Uniquely identifies the game.
    • ootb_game_name: Specifies the name of the game.
    • ootb_game_category: Indicates the category of the game (e.g., Slots, Roulette, Table, etc.).
    • ootb_end_balance: Indicates the player's balance after the game has been closed.
    • ootb_stakes: The amount wagered during the game.
    • ootb_real_win_amount: The real monetary amount won during the game.
    • ootb_bonus_used: The bonus amount that was wagered or used.
    • ootb_bonus_win_amount: The bonus amount that was won.
    • ootb_gross_gaming_revenue: Total revenue generated from the game session.
    • ootb_number_of_bets: Total number of bets or games played.
    • ootb_game_session_reference: Optionally provides a reference to the game session event.
    • ootb_language, ootb_country, ootb_platform, ootb_channel, ootb_brand, and ootb_license: Provide additional context regarding the player's environment.
    • ootb_launch_location and ootb_launch_location_index: Optionally indicate from where and at what position the game was launched.