if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "44960",
"name": "Sacoche arrière Trek",
"price": "75.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "22738",
"name": "Sacoche arrière Bontrager MIK Utility",
"price": "111.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33172",
"name": "sacoche arrière MIK Commuter",
"price": "109.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "24465",
"name": "Sacoche arrière Bontrager City",
"price": "101.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33777",
"name": "Sacoche arrière Electra, charbon",
"price": "116.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "greydark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40322",
"name": "Sacoche arrière Electra Fern",
"price": "116.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "greendark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35100",
"name": "Bontrager-Electra MIK Stick",
"price": "13.0",
"brand": "Basil",
"category": "Bike bags",
"variant": "grey",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}