Übersicht
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "31550",
"name": "E-Bike-Reifen Bontrager LT4 Expert Reflective",
"price": "45.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "More Options",
"position": 1
}
,
{
"id": "31553",
"name": "Bontrager H2 Hard-Case Ultimate Reflective Hybrid-Reifen",
"price": "45.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "More Options",
"position": 2
}
,
{
"id": "28498",
"name": "Bontrager E6 Hard-Case Lite E-Bike-Reifen",
"price": "45.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "More Options",
"position": 3
}
,
{
"id": "31552",
"name": "Bontrager H2 Hard-Case Lite Reflective Hybrid-Reifen",
"price": "35.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "More Options",
"position": 4
}
,
{
"id": "08058",
"name": "Bontrager LT3 Hybrid-Reifen",
"price": "29.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "12712",
"name": "Electra Amsterdam Hybrid Tire",
"price": "25.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black_reflective",
"list": "More Options",
"position": 6
}
,
{
"id": "13072",
"name": "Electra Loft Tire",
"price": "25.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "brown_white",
"list": "More Options",
"position": 7
}
,
{
"id": "12714",
"name": "Electra Townie Original Tire",
"price": "19.5",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}