if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "36951",
"name": "Trek Starvos WaveCel Fahrradhelm",
"price": "139.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40379",
"name": "Trek Little Dipper Fahrradhelm",
"price": "49.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pink",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "31568",
"name": "Bontrager Starvos WaveCel Fahrradhelm",
"price": "97.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "31556",
"name": "Bontrager Jet WaveCel Children's Fahrradhelm",
"price": "89.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white_bluelight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "31559",
"name": "Bontrager Jet WaveCel Youth Fahrradhelm",
"price": "89.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white_bluelight",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "31205",
"name": "Bontrager Tyro Youth Fahrradhelm",
"price": "59.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "blue_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "42201",
"name": "Trek Tyro Kinderfahrradhelm",
"price": "59.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pinklight_pink",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "30486",
"name": "Bontrager Tyro Kids Fahrradhelm",
"price": "44.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "purple_bluelight",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}