Übersicht
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "35019",
"name": "Bontrager RSL MTB Lenker-Vorbau",
"price": "439.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "24153",
"name": "Bontrager Line Pro Carbon 35 MTB-Lenker",
"price": "189.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "13432",
"name": "Bontrager Kovee Pro Carbon 35 MTB-Lenker",
"price": "189.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "greydark",
"list": "More Options",
"position": 3
}
,
{
"id": "14700",
"name": "Bontrager Kovee Elite 35 MTB-Lenker",
"price": "69.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "22469",
"name": "Bontrager Kovee XXX Carbon 35 MTB-Lenker",
"price": "249.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "grey",
"list": "More Options",
"position": 5
}
,
{
"id": "24528",
"name": "Bontrager Comp 31.8 MTB-Lenker",
"price": "45.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "09191",
"name": "Bontrager Crivitz MTB-Lenker",
"price": "95.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "24154",
"name": "Bontrager Line 35 MTB-Lenker",
"price": "69.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "35283",
"name": "Bontrager Approved 31.8 Low-Rise Matte Alloy MTB Handlebar",
"price": "27.5",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}