Перейти до основного вмісту

Канонічні події

Translator note: machine-translated baseline. Needs human review by a native UK speaker. EN source is canonical.

Коли ви мапите події вашої платформи на канонічні імена casinocrm.io, кожен reporting / segmentation / journey шлях працює автоматично. Використовуйте префікс custom_* для platform-specific подій, які не відповідають канонічній таксономії.

Identity / session

ПодіяОбов'язкові properties
signup
login
logout
session_start
session_end
page_viewpath
clicktarget

KYC

ПодіяОбов'язкові properties
kyc_submittedlevel, documents?
kyc_approvedlevel, expires_at?
kyc_rejectedlevel, reason
kyc_expiredlevel
kyc_level_upgradedfrom_level, to_level

Responsible gaming

ПодіяОбов'язкові properties
self_exclusion_setuntil?, reason?
self_exclusion_liftedreason
deposit_limit_setkind (daily/weekly/monthly), amount, currency
deposit_limit_reachedkind, attempted_amount, currency
loss_limit_set / loss_limit_reachedтой самий shape
session_limit_warning / session_limit_exceededminutes_used
reality_checktriggered_at, acknowledged?
cooldown_enteredduration_minutes

Гроші in/out

ПодіяОбов'язкові properties
deposit_initiatedamount, currency, transaction_id, payment_method (required)
deposit_confirmedamount, currency, transaction_id, payment_method (required)
deposit_failedtransaction_id, reason
withdrawal_requestedamount, currency, transaction_id
withdrawal_confirmedamount, currency, transaction_id
withdrawal_failedtransaction_id, reason

amount — у найменшій одиниці валюти (cents / sat) — див. Multi-currency. casinocrm.io збагатить про amount_base + base_currency + fx_rate_locked під час ingestion.

Wagering — casino

ПодіяОбов'язкові properties
bet_placedamount, currency, bet_id, game_id, game_category
bet_settledamount, payout, currency, bet_id, game_id, game_category, outcome
bet_won(опційно — bet_settled є канонічною settlement подією)
bet_lost(опційно)

game_categoryslots | live | table | crash | dice | sports | other (все інше колапсуємо до other).

outcomewon | lost.

Wagering — sportsbook

Двофазовий lifecycle: ставку placed, потім settled АБО voided АБО cashout (гравець early-settle).

ПодіяОбов'язкові properties
sport_bet_placedamount, currency, bet_id, sport, bet_type, odds, event_ref
sport_bet_settledamount, payout, currency, bet_id, outcome
sport_bet_voidedbet_id, reason
sport_cashoutamount, payout, currency, bet_id

sportfootball | basketball | tennis | hockey | mma | … (operator-defined, але тримайтесь поширених значень для cross-tenant аналітики).

bet_typesingle | accumulator | system.

event_ref — ідентифікатор матчу (id вашої платформи; не потрібно мапити на щось у casinocrm.io).

Бонуси

casinocrm.io трекає bonus state через webhooks (див. Bonus flow), не ці події. bonus_* події призначені для player-side сигналів (гравець claim-нув / bonus completed видимий гравцю) — окремо від platform-side state machine.

ПодіяОбов'язкові properties
bonus_claimedbonus_id
bonus_wageredbonus_id, amount, currency
bonus_completedbonus_id
bonus_expiredbonus_id

Custom події

Все, що не в канонічному списку, МАЄ мати префікс custom_:

{
"event": "custom_slot_jackpot_won",
"external_id": "...",
"properties": { "amount": 50000, "game_id": "starburst", "tier": "minor" }
}

casinocrm.io приймає custom події, але не вимагає схему. Використовуйте їх у сегментах (event aggregation: custom_slot_jackpot_won → count > 0).