Übersicht
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "22373",
"name": "Bontrager Comp Multi-Tool",
"price": "19.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "30807",
"name": "Bontrager BITS Integriertes Multitool",
"price": "39.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "07799",
"name": "Bontrager Tire Lever Set",
"price": "6.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "red",
"list": "More Options",
"position": 3
}
,
{
"id": "41411",
"name": "Trek Pro BITS Multi-Tool",
"price": "89.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "44751",
"name": "Trek Elite BITS Multi-Tool",
"price": "55.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "21794",
"name": "Bontrager Pro Flat Pack",
"price": "59.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "26602",
"name": "Bontrager Switch Lever Tool",
"price": "22.5",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "36257",
"name": "Unior Multitool EURO17",
"price": "50.0",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "red_orange",
"list": "More Options",
"position": 8
}
,
{
"id": "22651",
"name": "Unior Multitool EURO13",
"price": "45.0",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "red_orange",
"list": "More Options",
"position": 9
}
,
{
"id": "36259",
"name": "Unior Multitool EURO7",
"price": "22.5",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "red_orange",
"list": "More Options",
"position": 10
}
,
{
"id": "36258",
"name": "Unior Multitool EURO6",
"price": "22.5",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "red_orange",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}