Overzicht
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41742",
"name": "Trek waterdichte overschoenen",
"price": "49.99",
"brand": "Trek",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "41740",
"name": "Trek Windshell teenstukken",
"price": "19.99",
"brand": "Trek",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "48909",
"name": "Rapha winteroverschoenen",
"price": "75.0",
"brand": "Rapha",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "48908",
"name": "Rapha Wet Weather overschoenen",
"price": "63.0",
"brand": "Rapha",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "25046",
"name": "Bontrager waterdichte overschoen",
"price": "39.99",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "14775",
"name": "Bontrager Halo S1 Softshell overschoenen",
"price": "39.99",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}