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": {
        "game_close_timestamp": "2024-05-27T10:30:00Z",
        "game_code": "game456",
        "game_name": "Blackjack",
        "game_category": "Table Games",
        "end_balance": 20.00,
        "stakes": 200.00,
        "real_win_amount": 100.00,
        "bonus_used": 50.00,
        "bonus_win_amount": 100.00,
        "ggr": 100.00,
        "no_of_bets": 2,
        "game_session_ref": "game_ses_456",
        "language": "English",
        "Country": "USA",
        "platform": "iOS",
        "launch_location": "BingoLobby",
        "launch_location_index": 1,
        "channel": "Mobile",
        "brand": "",
        "license": "USA"
    }
}

 

Parameters

Parameter KeyParameter NameTypeDescription
game_close_timestampGame Close TimestampStringISO 8601 datetime of closing a casino game.
game_codeGame CodeStringGame unique identifier/Game ID.
game_nameGame NameStringThe name of the game.
game_categoryGame CategoryStringThe category of the game (e.g., Slots, Roulette, Table, etc.).
end_balanceEnd BalanceDecimalThe monetary value of a player’s balance after closing the game.
stakesStakesDecimalMonetary real value that was wagered (real bet amount).
real_win_amountReal Win AmountDecimalMonetary real value that was won.
bonus_usedBonus UsedDecimalTotal bonus amount that was wagered/used in the game.
bonus_win_amountBonus Win AmountDecimalTotal bonus amount that was won.
gross_gaming_revenueGross Gaming RevenueDecimalTotal revenue (GGR).
number_of_betsNumber of BetsNumberTotal number of bets/games played in a game.
game_session_referenceGame Session ReferenceStringReference to the game session event (optional).
languageLanguageStringThe language of the player.
countryCountryStringThe country of the player.
platformPlatformStringThe platform used (e.g., iOS, Android).
launch_locationLaunch LocationStringThe container where the game was launched from (e.g., home, recently played, new game). Optional.
launch_location_indexLaunch Location IndexNumberIndex of where in the container the game was launched from (optional).
channelChannelStringThe channel through which an event was initiated (e.g., Mobile, Desktop, Tablet).
brandBrandStringBrand ID/Name.
licenseLicenseStringWhere they’re licensed to operate.