Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- window.dataLayer = window.dataLayer || [];
- window.dataLayer.push({
- event: 'add_to_cart', // name of the event. In this case, it always must be view_item
- ecommerce: {
- items: [{
- item_name: 'Mesquida Mora - Sincronia Negre 2019', // insert a product name
- item_id: '7967292883170', // insert an actual product ID
- price: '38.80', // insert an actual product price.
- item_brand: 'Whoowine',
- item_category: 'Wijnfles', // overkoepelende wijncategorie
- item_category2: 'Rood', // wijnsoort
- item_category3: 'Spanje', // wijnland
- quantity: '1' // always '1'
- }]
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement