{#// 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.#}
<script>
window.dataLayer = window.dataLayer || [];
dataLayer.push({
'ecommerce': {
'detail': {
'actionField': {'list': 'Wedstrijd Detail'}, // 'detail' actions have an optional list property.
'products': [{
'item_name': '{{ match_title }}', // Name or ID is required.
'item_id': '{{ match_id }}',
'price': '{{ match_price }}',
'item_brand': 'Voetbalretour',
'item_category': ''
}]
}
}
});
</script>