sportradar-gtm

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
sportradar-gtm [2023/10/06 12:09] evaldas-luksyssportradar-gtm [2024/04/11 12:09] (current) – [Triggers] evaldas-luksys
Line 1: Line 1:
 **Bare in mind, all integration is done via Google Tag Manager.** **Bare in mind, all integration is done via Google Tag Manager.**
  
-This integration is based and can be found here: https://marketing-cloud.sportradar.com/support/solutions/articles/77000538662-tracking-specifications. +Please note, javascript code snippets in the screenshots were added just for display purposes. The correct code snippets can be found here: https://marketing-cloud.sportradar.com/support/solutions/articles/77000538662-tracking-specifications
- +
-Please note, javascript code snippets in the screenshots were added just for display purposes. The correct code snippets can be found here: https://marketing-cloud.sportradar.com/support/solutions/articles/77000538662-tracking-specifications.+
  
 When copying the code snippets: When copying the code snippets:
  
-1. Lets copy the snippets, including with <script> tags+1. Lets copy the snippets, including <script> tags
  
 2. For every copied snippet (except Init tag snippet), let's add additional code to final script: 2. For every copied snippet (except Init tag snippet), let's add additional code to final script:
Line 22: Line 20:
 }); });
 </script></code> </script></code>
 +
 +This will make our code a bit tidier.
  
 ====== Custom variables ====== ====== Custom variables ======
Line 30: Line 30:
  
 ====== Triggers ====== ====== Triggers ======
-Some of the Tags are using triggersTrigger is basically and event sent from our app. We need to create a trigger for each event, and then those triggers are assigned to Tags.+Triggers are assigned to our TagsTags are then executed whenever the assigned trigger is fired. When creating the trigger, we need to assign it to some event, that'sent from our app. So e.g. user logins and our app sends <code>login</code> event. We then can create a trigger, that catches this event. Once the trigger catches the event, the tag that's using this trigger will execute a code block.
  
 For trigger list please read triggers section. For trigger list please read triggers section.
Line 36: Line 36:
 ====== GTM Tags ====== ====== GTM Tags ======
  
-===== Init tag example =====+==== Init tag example ====
 Do not forget to add your own Unique Cliend ID in the code snippet!! Do not forget to add your own Unique Cliend ID in the code snippet!!
 {{ online:gtm:sportradar:sportradar-gtm-init-tag.jpg }} {{ online:gtm:sportradar:sportradar-gtm-init-tag.jpg }}
 +
 +==== Registration start tag ====
 +{{ online:gtm:sportradar:sportradar-gtm-registration-start.jpg }}
 +
 +==== Registration finish tag ====
 +{{ online:gtm:sportradar:sportradar-gtm-registration-finished.jpg }}
 +
 +==== Login tag ====
 +{{ online:gtm:sportradar:sportradar-gtm-login.jpg }}
 +
 +==== First time deposit tag ====
 +{{ online:gtm:sportradar:sportradar-gtm-first-time-deposit.jpg }}
 +
 +==== Recurring Deposit ====
 +{{ online:gtm:sportradar:sportradar-gtm-reccurring-deposit.jpg }}
 +
 +====== Triggers ======
 +
 +Bare in mind, that event names in the screenshots might be out of date. For up to date event names please visit this page: https://wiki.advbet.com/admin/online-platform-cms/google-events?s[]=google&s[]=tag&s[]=manager#events-and-their-data-gtm
 +
 +==== Registration start ====
 +{{:online:meta-pixel-fresh8:registration_init_trigger.jpg}}
 +
 +==== Registration finished ====
 +{{:online:meta-pixel-fresh8:registration_finished_trigger.jpg}}
 +
 +==== Login ====
 +{{:online:meta-pixel-fresh8:login_trigger.jpg|}}
 +
 +==== First deposit ====
 +{{:online:meta-pixel-fresh8:first_deposit_success_trigger.jpg}}
 +
 +==== Subsequent deposit ====
 +{{:online:meta-pixel-fresh8:subsequent_deposit_success_trigger.jpg|}}
 +
 +
 +====== Custom variables ======
 +
 +==== {{user ID}} ====
 +{{:online:meta-pixel-fresh8:custom_variable_user_id.jpg|}}
 +
 +==== {{Amount}} ====
 +{{:online:meta-pixel-fresh8:custom_variable_amount.jpg|}}
 +
 +==== {{depositsCount}} ====
 +{{:online:meta-pixel-fresh8:custom_variable_deposits_count.jpg|}}
 +
 +
 +==== More information about other possible data layer variables can be found here ====
 +https://wiki.advbet.com/admin/online-platform-cms/google-events#events-and-their-data
 +
  
  
  • sportradar-gtm.1696594165.txt.gz
  • Last modified: 2023/10/06 12:09
  • by evaldas-luksys