Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
admin:online-platform-cms:google-events [2022/11/03 17:03] – removed - external edit (Unknown date) 127.0.0.1 | admin:online-platform-cms:google-events [2023/12/11 14:17] – evaldas-luksys | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Google Analytics/ | ||
+ | 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/ | ||
+ | |||
+ | ====== Events and their data (GA): ====== | ||
+ | |||
+ | **registrationInit** | ||
+ | < | ||
+ | { | ||
+ | action: ' | ||
+ | event_category: | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | **registrationConfirmationKey** | ||
+ | < | ||
+ | { | ||
+ | action: ' | ||
+ | event_category: | ||
+ | } | ||
+ | </ | ||
+ | **registrationFinished** | ||
+ | < | ||
+ | { | ||
+ | action: ' | ||
+ | event_category: | ||
+ | } | ||
+ | </ | ||
+ | **login** | ||
+ | < | ||
+ | { | ||
+ | action: ' | ||
+ | event_category: | ||
+ | } | ||
+ | </ | ||
+ | **logout** | ||
+ | < | ||
+ | { | ||
+ | action: ' | ||
+ | event_category: | ||
+ | } | ||
+ | </ | ||
+ | **slipBuy** | ||
+ | < | ||
+ | { | ||
+ | action: SLIP_TYPE, | ||
+ | event_category: | ||
+ | event_label: | ||
+ | } | ||
+ | |||
+ | SLIP_TYPE can be: | ||
+ | - ' | ||
+ | - ' | ||
+ | |||
+ | USER_ID can be: | ||
+ | - user id when the user is logged in | ||
+ | - ' | ||
+ | </ | ||
+ | |||
+ | **addBetToBettingSlip** | ||
+ | < | ||
+ | { | ||
+ | action: ' | ||
+ | } | ||
+ | </ | ||
+ | **depositSuccess** | ||
+ | < | ||
+ | { | ||
+ | action: METHOD, | ||
+ | event_category: | ||
+ | event_label: | ||
+ | value: AMOUNT, | ||
+ | } | ||
+ | |||
+ | METHOD is current users selected payment method, e.g. ' | ||
+ | USER_ID is current user id | ||
+ | AMOUNT is user's deposit amount | ||
+ | </ | ||
+ | |||
+ | **withdrawalSuccess** | ||
+ | < | ||
+ | { | ||
+ | action: METHOD, | ||
+ | event_category: | ||
+ | event_label: | ||
+ | value: AMOUNT, | ||
+ | } | ||
+ | |||
+ | METHOD is current users selected payment method, e.g. ' | ||
+ | USER_ID is current user id | ||
+ | AMOUNT is user's withdrawals amount | ||
+ | </ | ||
+ | |||
+ | **myAccountMenuDepositButtonClick** | ||
+ | < | ||
+ | { | ||
+ | action: ' | ||
+ | event_category: | ||
+ | event_label: | ||
+ | value: 1, | ||
+ | } | ||
+ | |||
+ | LABEL can either be ' | ||
+ | </ | ||
+ | |||
+ | **viewContent** | ||
+ | < | ||
+ | { | ||
+ | action: ' | ||
+ | event_label: | ||
+ | } | ||
+ | |||
+ | CONTENT NAME is event name. | ||
+ | </ | ||
+ | |||
+ | ====== Events and their data (GTM): ====== | ||
+ | |||
+ | **registrationInit** | ||
+ | < | ||
+ | { | ||
+ | event: ' | ||
+ | action: ' | ||
+ | category: ' | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | **registrationConfirmationKey** | ||
+ | < | ||
+ | { | ||
+ | event: ' | ||
+ | action: ' | ||
+ | category: ' | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | **registrationFinished** | ||
+ | < | ||
+ | { | ||
+ | event: ' | ||
+ | action: ' | ||
+ | category: ' | ||
+ | userID: USER_ID | ||
+ | } | ||
+ | |||
+ | USER_ID is current user id | ||
+ | </ | ||
+ | |||
+ | **login** | ||
+ | < | ||
+ | { | ||
+ | event: ' | ||
+ | action: ' | ||
+ | category: ' | ||
+ | userID: USER_ID | ||
+ | } | ||
+ | |||
+ | USER_ID is current user id | ||
+ | </ | ||
+ | |||
+ | **logout** | ||
+ | < | ||
+ | { | ||
+ | event: ' | ||
+ | action: ' | ||
+ | category: ' | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | **slipBuy** | ||
+ | < | ||
+ | { | ||
+ | event: ' | ||
+ | action: SLIP_TYPE, | ||
+ | category: ' | ||
+ | label: USER_ID, | ||
+ | eventUUIDS: EVENT_UUIDS, | ||
+ | amount: AMOUNT, | ||
+ | walletType: WALLET_TYPE; | ||
+ | } | ||
+ | |||
+ | SLIP_TYPE can be: | ||
+ | - ' | ||
+ | - ' | ||
+ | |||
+ | USER_ID can be: | ||
+ | - user id when the user is logged in | ||
+ | - ' | ||
+ | |||
+ | 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 - ' | ||
+ | </ | ||
+ | |||
+ | **addBetToBettingSlip** | ||
+ | < | ||
+ | { | ||
+ | action: ' | ||
+ | gameModuleName: | ||
+ | eventUUIDS: EVENT_UUIDS, | ||
+ | market: MARKET, | ||
+ | selection: SELECTED, | ||
+ | } | ||
+ | |||
+ | GAME_MODULE_NAME represents game module from the APP. For instance, ' | ||
+ | EVENT_UUIDS is an array containing event uuids, e.g., ' | ||
+ | MARKET is bet market. | ||
+ | SELECTED is bet selection. | ||
+ | |||
+ | </ | ||
+ | |||
+ | **depositSuccess** | ||
+ | < | ||
+ | { | ||
+ | event: ' | ||
+ | action: METHOD, | ||
+ | category: ' | ||
+ | label: USER_ID, | ||
+ | value: AMOUNT, | ||
+ | userID: USER_ID, | ||
+ | amount: AMOUNT, | ||
+ | depositsCount: | ||
+ | } | ||
+ | |||
+ | METHOD is current users selected payment method, e.g. ' | ||
+ | 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, ...) | ||
+ | </ | ||
+ | |||
+ | **withdrawalSuccess** | ||
+ | < | ||
+ | { | ||
+ | event: ' | ||
+ | action: METHOD, | ||
+ | category: ' | ||
+ | label: USER_ID, | ||
+ | value: AMOUNT, | ||
+ | } | ||
+ | |||
+ | METHOD is current users selected payment method, e.g. ' | ||
+ | USER_ID is current user id | ||
+ | AMOUNT is user's withdrawals amount | ||
+ | </ | ||
+ | |||
+ | **myAccountMenuDepositButtonClick** | ||
+ | < | ||
+ | { | ||
+ | event: ' | ||
+ | action: ' | ||
+ | event_category: | ||
+ | event_label: | ||
+ | value: 1, | ||
+ | } | ||
+ | |||
+ | LABEL can either be ' | ||
+ | </ | ||
+ | |||
+ | **viewContent** | ||
+ | < | ||
+ | { | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | } | ||
+ | |||
+ | CONTENT NAME is event name. | ||
+ | CONTENT ID is event uuid. | ||
+ | </ |