Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- window.dataLayer = window.dataLayer || [];
- window.dataLayer.push({
- 'event': 'eec.productImpression', // Name of the event. In this case, always stays as 'eec.productImpression'.
- 'ecommerce': { // The Ecommerce object. This is the essential part of the tracking. New EEC data must always be pushed using this object.
- 'currencyCode': 'RSD', // The currency which is set by the visitor.
- 'impressions': [{
- 'name': 'Electrolux Mašina za sušenje veša EDP 2074PDW', // The name of the product that is displayed. Always include it.
- 'id': '000000000001101970', // The ID (SKU) of the product. Always include it.
- 'price': '104,154.00', // The price of the product.
- 'brand': 'Electrolux', // The brand name of the product.
- 'category': 'Kućni aparati / Bela Tehnika / Veš Mašine / Mašine za sušenje veša', // Category of the product.
- 'variant': '{{product variant}}', // The product variant. If there are no variants, always send Base Product.
- 'list': '{{product list}}', // The list name where the impression was viewed.
- 'position': '1' // The position of the item in the list (e.g. was it the first item in the list, the second, the third, etc.).
- },
- {
- 'name': 'HOTPOINT ARISTON Mašina za pranje i sušenje veša AQD 1071D 69 EU A',
- 'id': '000000000001103549',
- 'price': '108,527.00',
- 'brand': 'Hotpoint Ariston',
- 'category': 'Kućni aparati / Bela Tehnika / Veš Mašine / Mašine za sušenje veša',
- 'variant': '{{product variant}}',
- 'list': '{{Product List}}',
- 'position': '2'
- }]
- }
- });
- </script>
Add Comment
Please, Sign In to add comment