====== Google Analytics/Google Tag Manager events ====== Currently website sends these events to GA/GTM platforms: * **registrationInit** (//When user clicks Send Code button//) * **registrationConfirmationKey** (//When user enters confirmation key and clicks Verify button//) * **registrationFinished** (//When user clicks Create Account button//) * **login** (//When user logs in//) * **logout** (//when user logs out//) * **slipBuy** (//When user buys slip//) * **addBetToBettingSlip** (//After adding bet to betting slip //) * **depositSuccess** (//When user makes a successful deposit//) * **withdrawalSuccess** (//When user makes a successful withdrawal//) * **myAccountMenuDepositButtonClick** (//When user clicks deposit button. Different labels are sent for mobile and desktop buttons//) * **viewContent** (//When the user visits Live/Prematch/Outright single event//) ====== Events and their data (GA): ====== **registrationInit** { action: 'registration_init', event_category: 'registration', } **registrationConfirmationKey** { action: 'confirmation_key', event_category: 'registration', } **registrationFinished** { action: 'finished', event_category: 'registration', } **login** { action: 'login', event_category: 'authorization', } **logout** { action: 'logout', event_category: 'authorization', } **slipBuy** { action: SLIP_TYPE, event_category: 'slip_buy', event_label: USER_ID, } SLIP_TYPE can be: - 'fastbet' (when user is logged out) - 'bet' (when user is logged in) USER_ID can be: - user id when the user is logged in - 'null' when the user is logged out **addBetToBettingSlip** { action: 'addBetToBettingSlip', } **depositSuccess** { action: METHOD, event_category: 'deposit', event_label: USER_ID, value: AMOUNT, } METHOD is current users selected payment method, e.g. 'manual', 'retail', 'mlipa' and etc.. USER_ID is current user id AMOUNT is user's deposit amount **withdrawalSuccess** { action: METHOD, event_category: 'withdrawal', event_label: USER_ID, value: AMOUNT, } METHOD is current users selected payment method, e.g. 'manual', 'retail', 'mlipa' and etc.. USER_ID is current user id AMOUNT is user's withdrawals amount **myAccountMenuDepositButtonClick** { action: 'click', event_category: 'deposit', event_label: LABEL, value: 1, } LABEL can either be 'desktop-my-account-menu-deposit-button' or 'mobile-my-account-menu-deposit-button' **viewContent** { action: 'viewContent', event_label: CONTENT NAME, } CONTENT NAME is event name. ====== Events and their data (GTM): ====== **gtm-registrationInit** { event: 'gtm-registrationInit', action: 'registration_init', category: 'registration', } **gtm-registrationConfirmationKey** { event: 'gtm-registrationConfirmationKey', action: 'confirmation_key', category: 'registration', } **gtm-registrationFinished** { event: 'gtm-registrationFinished', action: 'finished', category: 'registration', userID: USER_ID } USER_ID is current user id **gtm-login** { event: 'gtm-login', action: 'login', category: 'authorization', userID: USER_ID } USER_ID is current user id **gtm-logout** { event: 'gtm-logout', action: 'logout', category: 'authorization', } **gtm-slipBuy** { event: 'gtm-slipBuy', action: SLIP_TYPE, category: 'slip_buy', label: USER_ID, eventUUIDS: EVENT_UUIDS, amount: AMOUNT, walletType: WALLET_TYPE; } SLIP_TYPE can be: - 'fastbet' (when user is logged out) - 'bet' (when user is logged in) USER_ID can be: - user id when the user is logged in - 'null' when the user is logged out EVENT_UUIDS is an array of event uuids, e.g. b78a17bc-17e9-52f8-b8d0-7db8ccdeda9d. AMOUNT is total betting slip amount. WALLET_TYPE is wallet type used when purchasing a slip - 'main', 'promo' or 'bonus' **gtm-addBetToBettingSlip** { action: 'gtm-addBetToBettingSlip', gameModuleName: GAME_MODULE_NAME, eventUUIDS: EVENT_UUIDS, market: MARKET, selection: SELECTED, } GAME_MODULE_NAME represents game module from the APP. For instance, 'prematch', 'keno', 'horses', etc... EVENT_UUIDS is an array containing event uuids, e.g., '3ce479b2-31aa-56e5-945d-5e3da9d3d0e7'. MARKET is bet market. SELECTED is bet selection. **gtm-depositSuccess** { event: 'gtm-depositSuccess', action: METHOD, category: 'deposit', label: USER_ID, value: AMOUNT, userID: USER_ID, amount: AMOUNT, depositsCount: DEPOSIT_COUNT, } METHOD is current users selected payment method, e.g. 'manual', 'retail', 'mlipa' and etc.. USER_ID is current user id AMOUNT is user's deposit amount DEPOSIT_COUNT is the number of initiated deposit, e.g. 1, 2, 3, ... (meaning 1st deposit, 2nd deposit, ...) **gtm-withdrawalSuccess** { event: 'gtm-withdrawalSuccess', action: METHOD, category: 'withdrawal', label: USER_ID, value: AMOUNT, } METHOD is current users selected payment method, e.g. 'manual', 'retail', 'mlipa' and etc.. USER_ID is current user id AMOUNT is user's withdrawals amount **gtm-myAccountMenuDepositButtonClick** { event: 'gtm-myAccountMenuDepositButtonClick', action: 'click', event_category: 'deposit', event_label: LABEL, value: 1, } LABEL can either be 'desktop-my-account-menu-deposit-button' or 'mobile-my-account-menu-deposit-button' **gtm-viewContent** { event: 'gtm-viewContent', action: 'viewContent', label: CONTENT NAME, eventUUIDS: [CONTENT ID], contentName: CONTENT NAME, } CONTENT NAME is event name. CONTENT ID is event uuid.