if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "23403",
"name": "Selle Bontrager Commuter Fluid",
"price": "95.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "21588",
"name": "Selle Bontrager Commuter Comp",
"price": "45.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "14011",
"name": "Selle Bontrager Sport",
"price": "39.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "14012",
"name": "Selle Bontrager Sport pour femmes",
"price": "39.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "22644",
"name": "Selle Textile rétro Trek",
"price": "40.0",
"brand": "Trek",
"category": "Bike saddles",
"variant": "brown",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}