Übersicht
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "41416",
"name": "Trek EcoTack Lenkerband",
"price": "35.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "23110",
"name": "Bontrager Gel Cork Lenkerband",
"price": "10.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 2
}
,
{
"id": "37298",
"name": "Bontrager Perf Line Lenkerband-Set",
"price": "15.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 3
}
,
{
"id": "22698",
"name": "Bontrager Double Gel Cork Lenkerband",
"price": "11.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 4
}
,
{
"id": "37297",
"name": "Bontrager Supertack Lenkerband-Set",
"price": "20.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "blue",
"list": "More Options",
"position": 5
}
,
{
"id": "47896",
"name": "Trek Perf Line Lenkerbandset",
"price": "29.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "48089",
"name": "Trek Double Gel Cork Lenkerbandset",
"price": "22.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 7
}
,
{
"id": "47893",
"name": "Trek Gel Cork Lenkerbandset",
"price": "19.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 8
}
,
{
"id": "22854",
"name": "Bontrager Gel Cork Graphic Lenkerband",
"price": "15.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white_black",
"list": "More Options",
"position": 9
}
,
{
"id": "12523",
"name": "Bontrager Supertack Lenkerband",
"price": "11.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "blue",
"list": "More Options",
"position": 10
}
,
{
"id": "23111",
"name": "Bontrager Gel Cork Visibility Lenkerband",
"price": "10.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "yellowvisibility",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}