...
Push Product details' data when user clicks a product, includes the additional data: orderType (SALE, RESERVATION), datetime for dated product (performance dateTime, timeslot)
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<script> dataLayer.push({ 'event':'ee-productClick' 'ecommerce': { 'click': { 'actionField': { 'list': 'Product list name' }, 'products': [{ 'id':'ABC123', // Product ID 'name':'Product Name', // Product name 'date':'15/04/2021 - 15:30' // Date time of timeslot, performance, match 'brand':'Product Brand', // Product Family Type / Topic of the product (if set) 'position':0 // Position of a product in a given Section (landing page) or Product type (Landing page list view or Normal view) 'variant':'SALE' // Product is to be SOLD or RESERVED }] } } }); </script> |
5. Promotion click
...