if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "25028",
"name": "Bontrager Thermal Fahrradarmling",
"price": "20.0",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "30967",
"name": "Bontrager Race Crew Thermal Wool Fahrradsocke",
"price": "16.0",
"brand": "Bontrager",
"category": "Cycling socks",
"variant": "greydark_red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "22822",
"name": "Bontrager Classic Radmütze",
"price": "13.0",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "pinkdark_black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}