Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- window.dataLayer = window.dataLayer || [];
- window.dataLayer.push({
- event: 'view_promotion',
- ecommerce: {
- items: [{
- promotion_id: 'MLB_3829', // promotion ID
- promotion_name: 'MLB_SUMMIT_SUMMER', // name of the promo campaign
- creative_name: '50_percent_off', // main message of the banner
- creative_slot: 'sidebar1', // slot of the banner (there are multiple items in the same location, e.g. slider)
- location_id: 'sidebar' // location of the banner
- },{
- promotion_id: 'CHES_3824',
- promotion_name: 'CHES_SUMMER22',
- creative_name: '20_percent_off',
- creative_slot: 'sidebar2',
- location_id: 'sidebar'
- }]
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement