if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "26374",
"name": "Fourche Electra Townie Original 7D, homme, 26"",
"price": "65.0",
"brand": "Electra",
"category": "Bike forks",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "26372",
"name": "Fourche Electra Townie Original 7D, femme, 24"",
"price": "65.0",
"brand": "Electra",
"category": "Bike forks",
"variant": "bluelight_greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25649",
"name": "Electra Sprocket 20in. Forks",
"price": "65.0",
"brand": "Electra",
"category": "Bike forks",
"variant": "orangelight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37581",
"name": "Electra Bali Cruiser Go! Fourche",
"price": "65.0",
"brand": "Electra",
"category": "Bike forks",
"variant": "tan",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33600",
"name": "Trek Allant+ & Diamant Zouma+ 2020 Rigid Fork Crown Washer",
"price": "27.5",
"brand": "Trek-Diamant",
"category": "Bike forks",
"variant": "grey",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}