facebook-pixel-via-gtm-integration

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
facebook-pixel-via-gtm-integration [2023/12/16 11:11] – [Custom variables] evaldas-luksysfacebook-pixel-via-gtm-integration [2024/04/24 11:48] (current) – [Triggers] evaldas-luksys
Line 30: Line 30:
 | Deposits count | depositsCount  | | Deposits count | depositsCount  |
  
-Additionally, we need to create variable, that is a constant.+ 
 +---- 
 + 
 + 
 +Additionally, we need to create a constant variable for the currency.
  
 {{:online:gtm:facebook-pixel:currency_variable.jpg|}} {{:online:gtm:facebook-pixel:currency_variable.jpg|}}
 +
 +This variable will be used to send your currency to FB pixel with some events. Please make sure to replace 'EUR' currency with your own.
 +
 +Supported currencies can be found here: https://developers.facebook.com/docs/marketing-api/currencies
 ===== Triggers ===== ===== Triggers =====
 The triggers we'll be implementing: Dom Ready, Add To Betting Slip, Bets (main wallet), Deposit, FTD, Registration. The triggers we'll be implementing: Dom Ready, Add To Betting Slip, Bets (main wallet), Deposit, FTD, Registration.
Line 39: Line 47:
   * Event names (e.g. depositSuccess, registrationFinished, ...)   * Event names (e.g. depositSuccess, registrationFinished, ...)
   * Correctly added previously created variables and their value comparisons, e.g. FTD trigger.   * Correctly added previously created variables and their value comparisons, e.g. FTD trigger.
 +  * Event names might have slightly changed, so please check for the up to date documentation - https://wiki.advbet.com/admin/online-platform-cms/google-events?s[]=gtm&s[]=events#events-and-their-data-gtm.
  
 Let's implement these triggers according to the screenshots: Let's implement these triggers according to the screenshots:
Line 81: Line 90:
  
 Please make sure to use the same settings for tags when implementing, otherwise the FB pixel might not properly work. Please make sure to use the same settings for tags when implementing, otherwise the FB pixel might not properly work.
 +
 +**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 ====
  • facebook-pixel-via-gtm-integration.1702725093.txt.gz
  • Last modified: 2023/12/16 11:11
  • by evaldas-luksys