if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "30425",
"name": "Allant+ 9S",
"price": "5499.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "30255",
"name": "Allant+ 8S",
"price": "4149.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "29418",
"name": "Zouma Supreme+ GOR",
"price": "6699.0",
"brand": "Diamant",
"category": "Diamant e-bikes",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35077",
"name": "Allant+ 9.9S",
"price": "5319.3",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}