admin:online-platform-cms:google-events

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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.1admin:online-platform-cms:google-events [2023/12/11 14:17] evaldas-luksys
Line 1: Line 1:
 +====== 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**
 +<code>
 +{
 +  action: 'registration_init',
 +  event_category: 'registration',
 +}
 +</code>
 +
 +**registrationConfirmationKey**
 +<code>
 +{
 +  action: 'confirmation_key',
 +  event_category: 'registration',
 +}
 +</code>
 +**registrationFinished**
 +<code>
 +{
 +  action: 'finished',
 +  event_category: 'registration',
 +}
 +</code>
 +**login**
 +<code>
 +{
 +  action: 'login',
 +  event_category: 'authorization',
 +}
 +</code>
 +**logout**
 +<code>
 +{
 +  action: 'logout',
 +  event_category: 'authorization',
 +}
 +</code>
 +**slipBuy**
 +<code>
 +{
 +  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
 +</code>
 +
 +**addBetToBettingSlip**
 +<code>
 +{
 +  action: 'addBetToBettingSlip',
 +}
 +</code>
 +**depositSuccess**
 +<code>
 +{
 +  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
 +</code>
 +
 +**withdrawalSuccess**
 +<code>
 +{
 +  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
 +</code>
 +
 +**myAccountMenuDepositButtonClick**
 +<code>
 +{
 +  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'
 +</code>
 +
 +**viewContent**
 +<code>
 +{
 +  action: 'viewContent',
 +  event_label: CONTENT NAME,
 +}
 +
 +CONTENT NAME is event name.
 +</code>
 +
 +====== Events and their data (GTM): ======
 +
 +**registrationInit**
 +<code>
 +{
 +  event: 'registrationInit',
 +  action: 'registration_init',
 +  category: 'registration',
 +}
 +</code>
 +
 +**registrationConfirmationKey**
 +<code>
 +{
 +  event: 'registrationConfirmationKey',
 +  action: 'confirmation_key',
 +  category: 'registration',
 +}
 +</code>
 +
 +**registrationFinished**
 +<code>
 +{
 +  event: 'registrationFinished',
 +  action: 'finished',
 +  category: 'registration',
 +  userID: USER_ID
 +}
 +
 +USER_ID is current user id
 +</code>
 +
 +**login**
 +<code>
 +{
 +  event: 'login',
 +  action: 'login',
 +  category: 'authorization',
 +  userID: USER_ID
 +}
 +
 +USER_ID is current user id
 +</code>
 +
 +**logout**
 +<code>
 +{
 +  event: 'logout',
 +  action: 'logout',
 +  category: 'authorization',
 +}
 +</code>
 +
 +**slipBuy**
 +<code>
 +{
 +  event: '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'
 +</code>
 +
 +**addBetToBettingSlip**
 +<code>
 +{
 +  action: '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.
 +
 +</code>
 +
 +**depositSuccess**
 +<code>
 +{
 +  event: '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, ...)
 +</code>
 +
 +**withdrawalSuccess**
 +<code>
 +{
 +  event: '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
 +</code>
 +
 +**myAccountMenuDepositButtonClick**
 +<code>
 +{
 +  event: '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'
 +</code>
 +
 +**viewContent**
 +<code>
 +{
 +   event: 'viewContent',
 +   action: 'viewContent',
 +   label: CONTENT NAME,
 +   eventUUIDS: [CONTENT ID],
 +   contentName: CONTENT NAME,
 +}
 +
 +CONTENT NAME is event name.
 +CONTENT ID is event uuid.
 +</code>
  • admin/online-platform-cms/google-events.txt
  • Last modified: 2024/05/09 06:34
  • by evaldas-luksys