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 an event. In this case, always stays as eec.productImpression
- 'ecommerce': { // ecommerce object. This is the essential part of tracking. New EE data must always be pushed to this object
- 'currencyCode': 'EUR', // the currency which is currently set by a visitor
- 'impressions': [ // type of an ecommerce action. In this case, always stays as impressions
- {
- 'name': 'CONTINENTAL WINTERCONT TS-810S 245/45 R19 102 V', // Name des Produktes. Pflichtfeld
- 'id': '000000000000088160', // ID des Produktes. Pflichtfeld
- 'price': '264.00', // Preis des Produkts
- 'brand': 'CONTINENTAL', // brand/vendor des Produkts
- 'category': 'PKW-Winter', // Kategorie des Produkts
- 'variant': '', // Produktvariante. Wenn es keine Produktvarianten gibt, dann muss es nicht dataLayer.push vorhanden sein.
- 'list': 'PKW-Winter', // Name der Seite auf der, die Produktliste vorhanden ist und der Name der Produktliste.
- 'position': '1' // Nummer der Produktpostion, auf welcher das Produkt in der Produktliste aufegührt wird.
- 'dimensionN': '' // A Product-scoped Custom Dimension for index number N
- 'metricN': '' // A Product-scoped Custom Metric for index number N
- },
- {
- 'name': 'weiteres Produkt',
- 'id': '',
- 'price': '',
- 'brand': '',
- 'category': '',
- 'variant': '',
- 'list': '',
- 'position': '2'
- 'dimensionN': ''
- 'metricN': '' }]
- }
- });
- </script>
Add Comment
Please, Sign In to add comment