if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "36025",
"name": "Casque cycliste Trek Solstice Mips",
"price": "75.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36028",
"name": "Casque cycliste Trek Solstice",
"price": "49.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "30467",
"name": "Casque Bontrager Solstice Mips",
"price": "47.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "30482",
"name": "Casque Bontrager Solstice",
"price": "34.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33678",
"name": "Chaussures vélo route Bontrager Solstice",
"price": "89.0",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34513",
"name": "Gants de cyclisme Bontrager Solstice Gel pour femmes",
"price": "27.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "34507",
"name": "Gants pour cyclistes Bontrager Solstice Gel",
"price": "27.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}