if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "25032",
"name": "Bontrager Thermal Cycling Leg Warmer",
"price": "42.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "25030",
"name": "Bontrager Thermal Cycling Knee Warmer",
"price": "31.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "14772",
"name": "Bontrager Halo Thermal Cycling Leg Warmer",
"price": "22.5",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "25028",
"name": "Bontrager Thermal Cycling Arm Warmer",
"price": "20.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}