Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- window.dataLayer = window.dataLayer || [];
- window.dataLayer.push({
- event: 'add_shipping_info', // name of the event. In this case, it always must be add_shipping_info
- ecommerce: {
- shipping_tier: 'Antwerpen', // Cardoen supermarket
- items: [{ // an array where all currently viewed products must be included
- item_name: 'Volkswagen Golf VIII TSI life 110', // insert an actual product name
- item_id: '221509', // insert an actual product ID
- price: '100.00', // insert an actual product price. Number or a string. Don't include currency code
- item_brand: 'Volkswagen', // insert an actual product price
- item_category: 'New', // category of a product (new versus second hand)
- item_category2: 'Cardoen', // origin of the car (Cardoen/ Aramis)
- item_category3: '€ 10.000 - € 15.000', // price range of the car
- item_category4: 'SUV', // type of car
- item_variant: 'Diesel', // fuel of the car
- index: 1, // insert product's position in that list
- quantity: '1' // product quantity
- }]
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement