Übersicht
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "36245",
"name": "Bontrager Speed Concept Mid-Far Stem",
"price": "11.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "36244",
"name": "Bontrager Speed Concept Mid-Near Stem",
"price": "11.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "36246",
"name": "Bontrager Speed Concept High-Near Stem",
"price": "11.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "36247",
"name": "Bontrager Speed Concept High-Far Stem",
"price": "11.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "11558",
"name": "Bontrager Speed Concept Low-Near Stem",
"price": "9.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "36243",
"name": "Bontrager Speed Concept Low-Far Stem",
"price": "9.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "41180",
"name": "Trek Speed Concept Stem Faceplate Bolt",
"price": "1.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "25917",
"name": "Bontrager Speed Concept Gen 1 Stem Pinch Bolt M5 x 17mm",
"price": "",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "42018",
"name": "Bontrager Speed Concept Blendr Duo-Sockel und Computerhalterung",
"price": "119.99",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "42017",
"name": "Bontrager Speed Concept Blendr Mono-Sockel und Computerhalterung",
"price": "109.99",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}