Game Close
Event Key
ootb_game_close
Marking the closure or completion of a specific game.
| Event Key | Event Name | Type |
|---|---|---|
| ootb_game_close | OOTB Game Close | Simple 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 Key | Parameter Name | Type | Description | Mandatory for Opti-X? |
|---|---|---|---|---|
ootb_game_close_timestamp | Game Close Timestamp | String | ISO 8601 datetime of closing a casino game. | Yes |
ootb_game_code | Game Code | String | Game unique identifier/Game ID. | Yes |
ootb_game_name | Game Name | String | The name of the game. | No |
ootb_game_category | Game Category | String | The category of the game (e.g., Slots, Roulette, Table, etc.). | No |
ootb_end_balance | End Balance | Decimal | The monetary value of a player’s balance after closing the game. | No |
ootb_stakes | Stakes | Decimal | Monetary real value that was wagered (real bet amount). | No |
ootb_real_win_amount | Real Win Amount | Decimal | Monetary real value that was won. | No |
ootb_bonus_used | Bonus Used | Decimal | Total bonus amount that was wagered/used in the game. | No |
ootb_bonus_win_amount | Bonus Win Amount | Decimal | Total bonus amount that was won. | No |
ootb_gross_gaming_revenue | Gross Gaming Revenue | Decimal | Total revenue (GGR). | No |
ootb_number_of_bets | Number of Bets | Number | Total number of bets/games played in a game. | No |
ootb_game_session_reference | Game Session Reference | String | Reference to the game session event (optional). | No |
ootb_language | Language | String | The language of the player. | No |
ootb_country | Country | String | The country of the player. | No |
ootb_platform | Platform | String | The platform used (e.g., iOS, Android). | No |
ootb_launch_location | Launch Location | String | The container where the game was launched from (e.g., home, recently played, new game). Optional. | No |
ootb_launch_location_index | Launch Location Index | Number | Index of where in the container the game was launched from (optional). | No |
ootb_channel | Channel | String | The channel through which an event was initiated (e.g., Mobile, Desktop, Tablet). | No |
ootb_brand | Brand | String | Brand ID/Name. | No |
ootb_license | License | String | Where they’re licensed to operate. | No |
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, andootb_license: Provide additional context regarding the player's environment.ootb_launch_locationandootb_launch_location_index: Optionally indicate from where and at what position the game was launched.
Updated 3 months ago
