Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
sportradar-gtm [2023/10/06 12:06] – evaldas-luksys | sportradar-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:// | + | Please note, javascript code snippets in the screenshots were added just for display purposes. The correct code snippets can be found here: https:// |
- | + | ||
- | Please note, javascript code snippets in the screenshots were added just for display purposes. The correct code snippets can be found here: https:// | + | |
When copying the code snippets: | When copying the code snippets: | ||
- | 1. Lets copy the snippets, including with < | ||
- | 2. For every copied snippet (except Init tag snippet), let's add < | ||
- | <code><script | + | 1. Lets copy the snippets, including |
+ | |||
+ | 2. For every copied snippet (except Init tag snippet), let's add additional code to final script: | ||
+ | |||
+ | {{ online:gtm:sportradar:code-snippet-additional-code.jpg }} | ||
+ | |||
+ | Where the original code snippet looked like this: | ||
+ | |||
+ | < | ||
srtmCommands.push({ | srtmCommands.push({ | ||
| | ||
Line 15: | Line 19: | ||
userId: {{user ID}} }, | userId: {{user ID}} }, | ||
}); | }); | ||
- | | ||
- | document.getElementById(" | ||
</ | </ | ||
- | These were additionally added to the original script: | + | This will make our code a bit tidier. |
- | {{ online: | + | |
====== Custom variables ====== | ====== Custom variables ====== | ||
Line 29: | Line 30: | ||
====== Triggers ====== | ====== Triggers ====== | ||
- | Some of the Tags are using triggers. Trigger | + | Triggers |
For trigger list please read triggers section. | For trigger list please read triggers section. | ||
Line 35: | 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: | {{ online: | ||
+ | |||
+ | ==== Registration start tag ==== | ||
+ | {{ online: | ||
+ | |||
+ | ==== Registration finish tag ==== | ||
+ | {{ online: | ||
+ | |||
+ | ==== Login tag ==== | ||
+ | {{ online: | ||
+ | |||
+ | ==== First time deposit tag ==== | ||
+ | {{ online: | ||
+ | |||
+ | ==== Recurring Deposit ==== | ||
+ | {{ online: | ||
+ | |||
+ | ====== 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:// | ||
+ | |||
+ | ==== Registration start ==== | ||
+ | {{: | ||
+ | |||
+ | ==== Registration finished ==== | ||
+ | {{: | ||
+ | |||
+ | ==== Login ==== | ||
+ | {{: | ||
+ | |||
+ | ==== First deposit ==== | ||
+ | {{: | ||
+ | |||
+ | ==== Subsequent deposit ==== | ||
+ | {{: | ||
+ | |||
+ | |||
+ | ====== Custom variables ====== | ||
+ | |||
+ | ==== {{user ID}} ==== | ||
+ | {{: | ||
+ | |||
+ | ==== {{Amount}} ==== | ||
+ | {{: | ||
+ | |||
+ | ==== {{depositsCount}} ==== | ||
+ | {{: | ||
+ | |||
+ | |||
+ | ==== More information about other possible data layer variables can be found here ==== | ||
+ | https:// | ||
+ | |||