Overzicht
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41734",
"name": "Trek Thermal beenwarmer",
"price": "39.99",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "41733",
"name": "Trek Thermal kniewarmer",
"price": "34.99",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "25032",
"name": "Bontrager Thermal beenwarmer",
"price": "31.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "25030",
"name": "Bontrager Thermal kniewarmer",
"price": "23.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "More Options",
"position": 4
}
,
{
"id": "14772",
"name": "Bontrager Halo Thermal beenwarmers",
"price": "22.5",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "More Options",
"position": 5
}
,
{
"id": "25028",
"name": "Bontrager Thermal armwarmer",
"price": "15.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}