Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
facebook-pixel-via-gtm-integration [2023/12/16 10:04] – [First Deposit] evaldas-luksys | facebook-pixel-via-gtm-integration [2024/04/24 11:48] (current) – [Triggers] evaldas-luksys | ||
---|---|---|---|
Line 31: | Line 31: | ||
+ | ---- | ||
+ | |||
+ | |||
+ | Additionally, | ||
+ | |||
+ | {{: | ||
+ | |||
+ | This variable will be used to send your currency to FB pixel with some events. Please make sure to replace ' | ||
+ | |||
+ | Supported currencies can be found here: https:// | ||
===== Triggers ===== | ===== Triggers ===== | ||
The triggers we'll be implementing: | The triggers we'll be implementing: | ||
Line 37: | Line 47: | ||
* Event names (e.g. depositSuccess, | * Event names (e.g. depositSuccess, | ||
* Correctly added previously created variables and their value comparisons, | * Correctly added previously created variables and their value comparisons, | ||
+ | * Event names might have slightly changed, so please check for the up to date documentation - https:// | ||
Let's implement these triggers according to the screenshots: | Let's implement these triggers according to the screenshots: | ||
Line 79: | Line 90: | ||
Please make sure to use the same settings for tags when implementing, | Please make sure to use the same settings for tags when implementing, | ||
+ | |||
+ | **When adding scripts to tags, please do not use ones from the screenshots as they might not be correct. Please copy the correct code snippets from the below screenshots (code blocks).** | ||
==== Install FB Pixel ==== | ==== Install FB Pixel ==== | ||
Line 155: | Line 168: | ||
< | < | ||
fbq(" | fbq(" | ||
- | currency: | + | currency: |
external_id: | external_id: | ||
value: {{Amount}} | value: {{Amount}} | ||
Line 161: | Line 174: | ||
</ | </ | ||
</ | </ | ||
- | |||
- | **Do not forget to update currency field if it's different!!!** | ||
==== 2nd Deposit ==== | ==== 2nd Deposit ==== | ||
Line 174: | Line 185: | ||
fbq(" | fbq(" | ||
value: {{Amount}}, | value: {{Amount}}, | ||
- | currency: | + | currency: |
external_id: | external_id: | ||
}); | }); | ||
Line 189: | Line 200: | ||
< | < | ||
fbq(" | fbq(" | ||
- | currency: | + | currency: |
value: 0, | value: 0, | ||
external_id: | external_id: |