Übersicht
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "41406",
"name": "Trek Kovee Elite Klickpedal-Set",
"price": "109.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "41407",
"name": "Trek Line Elite Klickpedal-Set",
"price": "129.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "41408",
"name": "Trek Kovee Pro Klickpedal-Set",
"price": "129.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "41405",
"name": "Trek Line Comp Klickpedal-Set",
"price": "99.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "41404",
"name": "Trek Kovee Comp Klickpedal-Set",
"price": "79.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "30862",
"name": "Bontrager Elite Road Pedalset",
"price": "119.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "22371",
"name": "Bontrager Comp Rennradpedal-Set",
"price": "89.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "22370",
"name": "Bontrager Comp MTB-Pedalset",
"price": "48.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "27132",
"name": "Bontrager Rennrad Klickpedal 6 Grad Cleatset",
"price": "17.5",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "red",
"list": "More Options",
"position": 9
}
,
{
"id": "32999",
"name": "Bontrager Rennrad Klickpedal 9 Grad Cleatset",
"price": "17.5",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "grey",
"list": "More Options",
"position": 10
}
,
{
"id": "45251",
"name": "Trek SPD Pedal Rebuild Kit",
"price": "27.5",
"brand": "Trek",
"category": "Bike pedals",
"variant": "grey",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}