Übersicht
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "13657",
"name": "Trek Madone 9 Aero Brake Pad Holders",
"price": "27.5",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "30734",
"name": "Trek Madone 9 Series Brake Stop with Num Holder",
"price": "20.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "26460",
"name": "Trek Madone SLR Front Brake Cable Stop",
"price": "17.5",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "22441",
"name": "Trek Brems-/Di2-Hüllenanschlag Rennrad",
"price": "15.0",
"brand": "Trek",
"category": "Electronic drivetrain",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "30731",
"name": "Trek Madone 9 Series Brake Stop",
"price": "13.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "25854",
"name": "Trek Speed Concept Aerobar Front Brake Housing Stop",
"price": "13.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "28507",
"name": "Electra Coaster Brake Arm Clamps",
"price": "11.0",
"brand": "Electra",
"category": "Bike brakes, pads, & levers",
"variant": "greylight",
"list": "More Options",
"position": 7
}
,
{
"id": "01552",
"name": "Bontrager 90-Degree V-Brake Noodle Cable Guide",
"price": "3.0",
"brand": "Bontrager",
"category": "Bike brakes, pads, & levers",
"variant": "greylight",
"list": "More Options",
"position": 8
}
,
{
"id": "25798",
"name": "Bontrager V-Brake-Faltenbalg",
"price": "1.0",
"brand": "Bontrager",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}