Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
admin:online-platform-cms:google-events [2023/12/11 13:07] – evaldas-luksys | admin:online-platform-cms:google-events [2024/05/09 06:34] (current) – [Events and their data (GTM):] evaldas-luksys | ||
---|---|---|---|
Line 13: | Line 13: | ||
* **withdrawalSuccess** (//When user makes a successful withdrawal// | * **withdrawalSuccess** (//When user makes a successful withdrawal// | ||
* **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/ | ||
+ | * **registrationFormOpen** (//When the registration form opens //) | ||
====== Events and their data (GA): ====== | ====== Events and their data (GA): ====== | ||
Line 19: | Line 21: | ||
< | < | ||
{ | { | ||
- | // Data sent to GA | ||
action: ' | action: ' | ||
event_category: | event_category: | ||
- | | ||
- | // Data sent to GTM | ||
- | event: ' | ||
- | action: ' | ||
- | category: ' | ||
} | } | ||
</ | </ | ||
Line 33: | Line 29: | ||
< | < | ||
{ | { | ||
- | // Data sent to GA | ||
action: ' | action: ' | ||
event_category: | event_category: | ||
- | | ||
- | // Data sent to GTM | ||
- | event: ' | ||
- | action: ' | ||
- | category: ' | ||
} | } | ||
</ | </ | ||
Line 46: | Line 36: | ||
< | < | ||
{ | { | ||
- | // Data sent to GA | ||
action: ' | action: ' | ||
event_category: | event_category: | ||
- | | ||
- | // Data sent to GTM | ||
- | event: ' | ||
- | action: ' | ||
- | category: ' | ||
} | } | ||
</ | </ | ||
Line 59: | Line 43: | ||
< | < | ||
{ | { | ||
- | // Data sent to GA | ||
action: ' | action: ' | ||
event_category: | event_category: | ||
- | | ||
- | // Data sent to GTM | ||
- | event: ' | ||
- | action: ' | ||
- | category: ' | ||
} | } | ||
</ | </ | ||
Line 72: | Line 50: | ||
< | < | ||
{ | { | ||
- | // Data sent to GA | ||
action: ' | action: ' | ||
event_category: | event_category: | ||
- | | ||
- | // Data sent to GTM | ||
- | event: ' | ||
- | action: ' | ||
- | category: ' | ||
} | } | ||
</ | </ | ||
Line 85: | Line 57: | ||
< | < | ||
{ | { | ||
- | // Data sent to GA | ||
action: SLIP_TYPE, | action: SLIP_TYPE, | ||
event_category: | event_category: | ||
event_label: | event_label: | ||
- | | + | } |
- | // Data sent to GTM | + | |
- | event: ' | + | SLIP_TYPE can be: |
+ | - ' | ||
+ | - ' | ||
+ | |||
+ | USER_ID can be: | ||
+ | - user id when the user is logged in | ||
+ | - ' | ||
+ | </ | ||
+ | |||
+ | **addBetToBettingSlip** | ||
+ | < | ||
+ | { | ||
+ | | ||
+ | } | ||
+ | </code> | ||
+ | **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 | ||
+ | </code> | ||
+ | |||
+ | **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. | ||
+ | </ | ||
+ | |||
+ | **registrationFormOpen** | ||
+ | < | ||
+ | { | ||
+ | action: ' | ||
+ | category: registration, | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | ====== Events and their data (GTM): ====== | ||
+ | |||
+ | **gtm-registrationInit** | ||
+ | < | ||
+ | { | ||
+ | event: ' | ||
+ | action: ' | ||
+ | category: ' | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | **gtm-registrationConfirmationKey** | ||
+ | < | ||
+ | { | ||
+ | event: ' | ||
+ | action: ' | ||
+ | category: ' | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | **gtm-registrationFinished** | ||
+ | < | ||
+ | { | ||
+ | event: ' | ||
+ | action: ' | ||
+ | category: ' | ||
+ | userID: USER_ID | ||
+ | } | ||
+ | |||
+ | USER_ID is current user id | ||
+ | </ | ||
+ | |||
+ | **gtm-login** | ||
+ | < | ||
+ | { | ||
+ | event: ' | ||
+ | action: ' | ||
+ | category: ' | ||
+ | userID: USER_ID | ||
+ | } | ||
+ | |||
+ | USER_ID is current user id | ||
+ | </ | ||
+ | |||
+ | **gtm-logout** | ||
+ | < | ||
+ | { | ||
+ | event: ' | ||
+ | action: ' | ||
+ | category: ' | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | **gtm-slipBuy** | ||
+ | < | ||
+ | { | ||
+ | event: 'gtm-slipBuy', | ||
action: SLIP_TYPE, | action: SLIP_TYPE, | ||
category: ' | category: ' | ||
Line 113: | Line 213: | ||
</ | </ | ||
- | **addBetToBettingSlip** | + | **gtm-addBetToBettingSlip** |
< | < | ||
{ | { | ||
- | | + | action: 'gtm-addBetToBettingSlip', |
- | action: ' | + | |
- | + | ||
- | // Data sent to GTM | + | |
- | | + | |
gameModuleName: | gameModuleName: | ||
eventUUIDS: EVENT_UUIDS, | eventUUIDS: EVENT_UUIDS, | ||
Line 133: | Line 229: | ||
</ | </ | ||
- | **depositSuccess** | + | |
+ | **gtm-depositSuccess** | ||
< | < | ||
{ | { | ||
- | | + | event: 'gtm-depositSuccess', |
- | action: METHOD, | + | |
- | event_category: | + | |
- | event_label: | + | |
- | value: AMOUNT, | + | |
- | + | ||
- | // Data sent to GTM | + | |
- | | + | |
action: METHOD, | action: METHOD, | ||
category: ' | category: ' | ||
label: USER_ID, | label: USER_ID, | ||
value: AMOUNT, | value: AMOUNT, | ||
+ | userID: USER_ID, | ||
+ | amount: AMOUNT, | ||
+ | depositsCount: | ||
} | } | ||
Line 153: | 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, ...) | ||
</ | </ | ||
- | **withdrawalSuccess** | + | |
+ | **gtm-withdrawalSuccess** | ||
< | < | ||
{ | { | ||
- | | + | event: 'gtm-withdrawalSuccess', |
- | action: METHOD, | + | |
- | event_category: | + | |
- | event_label: | + | |
- | value: AMOUNT, | + | |
- | + | ||
- | // Data sent to GTM | + | |
- | | + | |
action: METHOD, | action: METHOD, | ||
category: ' | category: ' | ||
Line 176: | Line 264: | ||
</ | </ | ||
- | **myAccountMenuDepositButtonClick** | + | **gtm-myAccountMenuDepositButtonClick** |
< | < | ||
{ | { | ||
- | | + | event: 'gtm-myAccountMenuDepositButtonClick', |
- | action: ' | + | |
- | event_category: | + | |
- | event_label: | + | |
- | value: 1, | + | |
- | + | ||
- | // Data sent to GTM | + | |
- | | + | |
action: ' | action: ' | ||
event_category: | event_category: | ||
Line 194: | Line 275: | ||
LABEL can either be ' | LABEL can either be ' | ||
+ | </ | ||
+ | |||
+ | **gtm-viewContent** | ||
+ | < | ||
+ | { | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | } | ||
+ | |||
+ | CONTENT NAME is event name. | ||
+ | CONTENT ID is event uuid. | ||
+ | </ | ||
+ | |||
+ | **gtm-registrationFormOpen** | ||
+ | < | ||
+ | { | ||
+ | | ||
+ | | ||
+ | | ||
+ | } | ||
</ | </ |