if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "41021",
"name": "Allant+ 7 Lowstep 2e gén.",
"price": "3999.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41022",
"name": "Allant+ 7 Mid-step 2e gén.",
"price": "3999.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41029",
"name": "Allant+ 7 2e gén.",
"price": "3999.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37603",
"name": "Allant+ 9 Lowstep",
"price": "4999.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36936",
"name": "Allant+ 9",
"price": "4999.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36933",
"name": "Allant+ 7 Stagger",
"price": "3299.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36931",
"name": "Allant+ 7",
"price": "3299.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}