if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "33086",
"name": "Domane AL 5 Gen 3",
"price": "2199.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "orange_grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33083",
"name": "Domane AL 2 Gen 3",
"price": "1079.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "purple_black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}