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
Last revisionBoth sides next revision
admin:online-platform-cms:google-events [2023/12/11 14:10] evaldas-luksysadmin:online-platform-cms:google-events [2024/05/09 06:34] – [Events and their data (GTM):] evaldas-luksys
Line 14: Line 14:
   * **myAccountMenuDepositButtonClick** (//When user clicks deposit button. Different labels are sent for mobile and desktop buttons//)   * **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//)   * **viewContent** (//When the user visits Live/Prematch/Outright single event//)
 +  * **registrationFormOpen** (//When the registration form opens //)
  
 ====== Events and their data (GA): ====== ====== Events and their data (GA): ======
Line 124: Line 125:
  
 CONTENT NAME is event name. CONTENT NAME is event name.
 +</code>
 +
 +**registrationFormOpen**
 +<code>
 +{
 +  action: 'registration_form_open',
 +  category: registration,
 +}
 </code> </code>
  
 ====== Events and their data (GTM): ====== ====== Events and their data (GTM): ======
  
-**registrationInit**+**gtm-registrationInit**
 <code> <code>
 { {
-  event: 'registrationInit',+  event: 'gtm-registrationInit',
   action: 'registration_init',   action: 'registration_init',
   category: 'registration',   category: 'registration',
Line 137: Line 146:
 </code> </code>
  
-**registrationConfirmationKey**+**gtm-registrationConfirmationKey**
 <code> <code>
 { {
-  event: 'registrationConfirmationKey',+  event: 'gtm-registrationConfirmationKey',
   action: 'confirmation_key',   action: 'confirmation_key',
   category: 'registration',   category: 'registration',
Line 146: Line 155:
 </code> </code>
  
-**registrationFinished**+**gtm-registrationFinished**
 <code> <code>
 { {
-  event: 'registrationFinished',+  event: 'gtm-registrationFinished',
   action: 'finished',   action: 'finished',
   category: 'registration',   category: 'registration',
Line 158: Line 167:
 </code> </code>
  
-**login**+**gtm-login**
 <code> <code>
 { {
-  event: 'login',+  event: 'gtm-login',
   action: 'login',   action: 'login',
   category: 'authorization',   category: 'authorization',
 +  userID: USER_ID
 } }
 +
 +USER_ID is current user id
 </code> </code>
  
-**logout**+**gtm-logout**
 <code> <code>
 { {
-  event: 'logout',+  event: 'gtm-logout',
   action: 'logout',   action: 'logout',
   category: 'authorization',   category: 'authorization',
Line 176: Line 188:
 </code> </code>
  
-**slipBuy**+**gtm-slipBuy**
 <code> <code>
 { {
-  event: 'slipBuy',+  event: 'gtm-slipBuy',
   action: SLIP_TYPE,   action: SLIP_TYPE,
   category: 'slip_buy',   category: 'slip_buy',
Line 201: Line 213:
 </code> </code>
  
-**addBetToBettingSlip**+**gtm-addBetToBettingSlip**
 <code> <code>
 { {
-  action: 'addBetToBettingSlip',+  action: 'gtm-addBetToBettingSlip',
   gameModuleName: GAME_MODULE_NAME,   gameModuleName: GAME_MODULE_NAME,
   eventUUIDS: EVENT_UUIDS,   eventUUIDS: EVENT_UUIDS,
Line 218: Line 230:
 </code> </code>
  
-**depositSuccess**+**gtm-depositSuccess**
 <code> <code>
 { {
-  event: 'depositSuccess',+  event: 'gtm-depositSuccess',
   action: METHOD,   action: METHOD,
   category: 'deposit',   category: 'deposit',
   label: USER_ID,   label: USER_ID,
   value: AMOUNT,   value: AMOUNT,
 +  userID: USER_ID,
 +  amount: AMOUNT,
 +  depositsCount: DEPOSIT_COUNT,
 } }
  
Line 231: Line 246:
 USER_ID is current user id USER_ID is current user id
 AMOUNT is user's deposit amount 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> </code>
  
-**withdrawalSuccess**+**gtm-withdrawalSuccess**
 <code> <code>
 { {
-  event: 'withdrawalSuccess',+  event: 'gtm-withdrawalSuccess',
   action: METHOD,   action: METHOD,
   category: 'withdrawal',   category: 'withdrawal',
Line 248: Line 264:
 </code> </code>
  
-**myAccountMenuDepositButtonClick**+**gtm-myAccountMenuDepositButtonClick**
 <code> <code>
 { {
-  event: 'myAccountMenuDepositButtonClick',+  event: 'gtm-myAccountMenuDepositButtonClick',
   action: 'click',   action: 'click',
   event_category: 'deposit',   event_category: 'deposit',
Line 261: Line 277:
 </code> </code>
  
-**viewContent**+**gtm-viewContent**
 <code> <code>
 { {
-   event: 'viewContent',+   event: 'gtm-viewContent',
    action: 'viewContent',    action: 'viewContent',
    label: CONTENT NAME,    label: CONTENT NAME,
Line 273: Line 289:
 CONTENT NAME is event name. CONTENT NAME is event name.
 CONTENT ID is event uuid. CONTENT ID is event uuid.
 +</code>
 +
 +**gtm-registrationFormOpen**
 +<code>
 +{
 +   event: 'gtm-viewContent',
 +   action: 'registration_form_open',
 +   category: registration,
 +}
 </code> </code>
  • admin/online-platform-cms/google-events.txt
  • Last modified: 2024/05/09 06:34
  • by evaldas-luksys