Advertisement
emanuel1109

select_promotion

Mar 16th, 2022
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. window.dataLayer = window.dataLayer || [];
  2. window.dataLayer.push({
  3.   event: 'select_promotion',
  4.   ecommerce: {
  5.     items: [{
  6.       promotion_id: 'bfcm',                 // promotion ID
  7.       promotion_name: 'black_friday',       // name of the promo campaign
  8.       creative_name: '50_percent_off',      // main message of the banner
  9.       creative_slot: 'sidebar1',            // slot of the banner (there are multiple items in the same location, e.g. slider)
  10.       location_id: 'sidebar'                // location of the banner
  11.     }]
  12.   }
  13. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement