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: 'summer_93id', // promotion ID
- promotion_name: 'cyber_monday', // name of the promo campaign
- creative_name: '15%_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: 'summer_129id',
- promotion_name: 'cyber_monday',
- creative_name: '5%_off',
- creative_slot: 'cupón_popUp',
- location_id: 'cupón'
- }]
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement