{#// 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: null });
dataLayer.push({
event: 'view_item',
ecommerce: {
currency: 'EUR',
value: '1',
items: [
{
item_id: "{{ vacancy.id }}",
item_name: "{{ vacancy.title }}",
affiliation: "{{ site_company_name }}",
item_category: "{{ category ? category.value : '' }}",
item_brand: "{{ exposed_company_name_from_vacancy(vacancy) }}",
price: "0.00",
item_quantity: 1
}
],
}
});
</script>