Übersicht
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "41674",
"name": "Trek Blendr Satteltasche",
"price": "65.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "44844",
"name": "Trek Blendr Saddle Bag Mount",
"price": "17.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "35560",
"name": "Bontrager Adventure Satteltasche",
"price": "145.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "14411",
"name": "Bontrager Elite Seat Pack",
"price": "25.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "14396",
"name": "Bontrager Comp Seat Pack",
"price": "19.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "25934",
"name": "Bontrager Quick Cleat Verschlussgruppe",
"price": "6.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "40277",
"name": "Electra Classic Faux Leather Tool Bag",
"price": "55.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "35898",
"name": "Electra Ziggy Satteltasche",
"price": "28.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "brown_blue",
"list": "More Options",
"position": 8
}
,
{
"id": "40316",
"name": "Electra Fern Satteltasche",
"price": "28.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "greendark",
"list": "More Options",
"position": 9
}
,
{
"id": "33775",
"name": "Electra Heather Charcoal Satteltasche",
"price": "28.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "greydark",
"list": "More Options",
"position": 10
}
,
{
"id": "35899",
"name": "Electra Miami Satteltasche",
"price": "28.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "teal_pinkdark",
"list": "More Options",
"position": 11
}
,
{
"id": "33774",
"name": "Electra Leopard Saddle Bag",
"price": "17.5",
"brand": "Electra",
"category": "Bike bags",
"variant": "white_purplelight",
"list": "More Options",
"position": 12
}
,
{
"id": "33773",
"name": "Electra Doodle Saddle Bag",
"price": "17.5",
"brand": "Electra",
"category": "Bike bags",
"variant": "white_greylight",
"list": "More Options",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}