Übersicht
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "23110",
"name": "Bontrager Gel Cork Lenkerband",
"price": "9.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 1
}
,
{
"id": "37298",
"name": "Bontrager Perf Line Lenkerband-Set",
"price": "13.5",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 2
}
,
{
"id": "22698",
"name": "Bontrager Double Gel Cork Lenkerband",
"price": "10.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 3
}
,
{
"id": "37297",
"name": "Bontrager Supertack Lenkerband-Set",
"price": "17.5",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "blue",
"list": "More Options",
"position": 4
}
,
{
"id": "47896",
"name": "Trek Perf Line Lenkerbandset",
"price": "26.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "48089",
"name": "Trek Double Gel Cork Lenkerbandset",
"price": "19.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 6
}
,
{
"id": "47893",
"name": "Trek Gel Cork Lenkerbandset",
"price": "17.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 7
}
,
{
"id": "12523",
"name": "Bontrager Supertack Lenkerband",
"price": "9.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "blue",
"list": "More Options",
"position": 8
}
,
{
"id": "23111",
"name": "Bontrager Gel Cork Visibility Lenkerband",
"price": "9.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "yellowvisibility",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}