facebook-pixel-and-fresh8

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-and-fresh8 [2022/12/09 09:32] – [Subscribe] evaldas-luksysfacebook-pixel-and-fresh8 [2024/04/11 12:09] (current) – [Triggers] evaldas-luksys
Line 13: Line 13:
 ====== Custom variables ====== ====== Custom variables ======
  
-In some code snippets we use <code>{{variable name}}</code>These variables represent data sent from our app. For instance, when user adds bet to betting slip, **addBetToBettingSlip** event is sent with some data, e.g. event UUID, market and etc... So each <code>{{variable}}</code> created represents single piece of data, which then can be used in Tags.+In some code snippets we use <code>{{variable name}}</code>These variables represent data sent from our app. For instance, when user adds bet to betting slip, **gtm-addBetToBettingSlip** event is sent with some data, e.g. event UUID, market and etc... So each <code>{{variable}}</code> created represents single piece of data, which then can be used in Tags.
  
 For custom variable list please read Custom variables section. For custom variable list please read Custom variables section.
Line 144: Line 144:
  
 {{:online:meta-pixel-fresh8:fb_pixel_slip_buy_tag.jpg|}} {{:online:meta-pixel-fresh8:fb_pixel_slip_buy_tag.jpg|}}
 +
 +Please replace currency with your own.
  
 <code> <code>
Line 159: Line 161:
         content_type: 'product',         content_type: 'product',
         content_ids: data,         content_ids: data,
-        currency: {{Currency}},+        currency: 'EUR',
         value: {{Amount}}         value: {{Amount}}
         });         });
Line 231: Line 233:
 {{:online:meta-pixel-fresh8:custom_variable_market.jpg|}} {{:online:meta-pixel-fresh8:custom_variable_market.jpg|}}
  
-==== {{Currency}} ==== 
-{{:online:meta-pixel-fresh8:custom_variable_currency.jpg|}} 
  
 ==== {{user ID}} ==== ==== {{user ID}} ====
Line 239: Line 239:
 ==== {{Amount}} ==== ==== {{Amount}} ====
 {{:online:meta-pixel-fresh8:custom_variable_amount.jpg|}} {{: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
  
  
 ====== Triggers ====== ====== 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
 ==== Pageview ==== ==== Pageview ====
  
  • facebook-pixel-and-fresh8.1670578336.txt.gz
  • Last modified: 2022/12/09 09:32
  • by evaldas-luksys