if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "37109",
"name": "Trek Kids' Unisex-Fahrradhandschuhe",
"price": "22.0",
"brand": "Trek",
"category": "Kids' bike gloves",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37110",
"name": "Trek Evoke Youth Unisex Mountainbike-Handschuh",
"price": "20.0",
"brand": "Trek",
"category": "Kids' bike gloves",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "22489",
"name": "Bontrager Kids' Bike Glove",
"price": "9.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}