if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "37096",
"name": "Trek Velocis Dual Foam Unisex-Fahrradhandschuh",
"price": "45.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37097",
"name": "Trek Circuit Twin Gel Unisex Fahrradhandschuh",
"price": "35.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37099",
"name": "Trek Solstice Gel Unisex-Fahrradhandschuh",
"price": "29.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34504",
"name": "Bontrager Velocis Dual Foam Fahrradhandschuh",
"price": "39.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34505",
"name": "Bontrager Circuit Twin Gel Fahrradhandschuh",
"price": "32.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34507",
"name": "Bontrager Solstice Gel Fahrradhandschuh",
"price": "27.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}