Übersicht
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "45034",
"name": "Trek Voda Ice 28oz Water Bottle",
"price": "29.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "yellowvisibility",
"list": "More Options",
"position": 1
}
,
{
"id": "46175",
"name": "Trek RSL Aero Trinkflasche und Flaschenhalter",
"price": "109.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_grey",
"list": "More Options",
"position": 2
}
,
{
"id": "46167",
"name": "Trek RSL Aero Trinkflasche",
"price": "29.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "bluedark_red",
"list": "More Options",
"position": 3
}
,
{
"id": "46149",
"name": "Trek Fly 750ml Wasserflasche",
"price": "10.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "grey_white",
"list": "More Options",
"position": 4
}
,
{
"id": "46148",
"name": "Trek Fly 550ml Wasserflasche",
"price": "9.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "grey_white",
"list": "More Options",
"position": 5
}
,
{
"id": "46150",
"name": "Trek Elite 400ml Aufbewahrungsflasche",
"price": "9.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "grey_white",
"list": "More Options",
"position": 6
}
,
{
"id": "46120",
"name": "Lidl-Trek Team 550ml Wasserflasche",
"price": "9.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "bluelight_yellowlight",
"list": "More Options",
"position": 7
}
,
{
"id": "45045",
"name": "Trek 24oz Water Bottle",
"price": "5.95",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_black",
"list": "More Options",
"position": 8
}
,
{
"id": "41559",
"name": "Trek Speed Concept SLR BTA 26oz Water Bottle Kit",
"price": "160.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "47106",
"name": "Trek Speed Concept SLR BTA 26oz. Water Bottle",
"price": "45.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "38005",
"name": "Trek 2022 Speed Concept SLR Downtube 26oz Water Bottle",
"price": "40.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}