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 [2023/12/11 13:42] evaldas-luksysadmin:online-platform-cms:google-events [2023/12/11 14:17] evaldas-luksys
Line 116: Line 116:
 </code> </code>
  
-====== Events and their data (GTAG): ======+**viewContent** 
 +<code> 
 +
 +  action: 'viewContent', 
 +  event_label: CONTENT NAME, 
 +
 + 
 +CONTENT NAME is event name. 
 +</code> 
 + 
 +====== Events and their data (GTM): ======
  
 **registrationInit** **registrationInit**
Line 142: Line 152:
   action: 'finished',   action: 'finished',
   category: 'registration',   category: 'registration',
 +  userID: USER_ID
 } }
 +
 +USER_ID is current user id
 </code> </code>
  
Line 151: Line 164:
   action: 'login',   action: 'login',
   category: 'authorization',   category: 'authorization',
 +  userID: USER_ID
 } }
 +
 +USER_ID is current user id
 </code> </code>
  
Line 213: Line 229:
   label: USER_ID,   label: USER_ID,
   value: AMOUNT,   value: AMOUNT,
 +  userID: USER_ID,
 +  amount: AMOUNT,
 +  depositsCount: DEPOSIT_COUNT,
 } }
  
Line 218: Line 237:
 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>
  
Line 246: Line 266:
  
 LABEL can either be 'desktop-my-account-menu-deposit-button' or 'mobile-my-account-menu-deposit-button' 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> </code>
  • admin/online-platform-cms/google-events.txt
  • Last modified: 2024/05/09 06:34
  • by evaldas-luksys