if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "37509",
"name": "Gants cycliste Santini Équipe Trek-Segafredo pour hommes",
"price": "22.0",
"brand": "Santini",
"category": "Fingerless cycling gloves",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "22489",
"name": "Gants cyclistes Bontrager Enfant",
"price": "9.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}