EEC 商品詳細:Triblend Android T-shirt

// Measure a view of product details. This example assumes the detail view occurs on pageload,
// and also tracks a standard pageview of the details page.
dataLayer.push({
‘ecommerce’: {
‘detail’: {
‘products’: [{
‘name’: ‘Triblend Android T-Shirt’, // Name or ID is required.
‘id’: ‘12345’,
‘price’: ‘15.25’,
‘brand’: ‘Google’,
‘category’: ‘Apparel’,
‘variant’: ‘Gray’,
‘option’ : ‘optionaA’,
‘coupon’ : ‘couponA’,
}]
}
}
});