JITreviso

Limonada | eec.promoClick

Mar 20th, 2022 (edited)
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2. window.dataLayer  = window.dataLayer || [];
  3. window.dataLayer.push({
  4.     'event': 'eec.promoClick',                  // name of an event. In this case, always stays as eec.promoClick
  5.     'ecommerce': {                              // ecommerce object. This is the essential part of tracking. New data must always be pushed to this object
  6.         'promoClick': {                         // name of an action. In this case, always stays as promoClick
  7.           'promotions': [                       // list of banners that a user has clicked. usually it contains only one promotion
  8.            {
  9.              'id': 'LIM-392-2022',         // id of a banner        
  10.              'name': 'fall_girls_2022',      // name of a banner
  11.              'creative': 'Home Page Carousel',  // type of a banner
  12.              'position': 'Slide 1'              // position of a banner
  13.             }]
  14.         }
  15.   }
  16. });
  17. </script>
Add Comment
Please, Sign In to add comment