if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "40496",
"name": "Verve 1 Equipped",
"price": "749.0",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40497",
"name": "Verve 1 Equipped Lowstep",
"price": "749.0",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47270",
"name": "Verve 3 Equipped",
"price": "1099.0",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47271",
"name": "Verve 3 Equipped Lowstep",
"price": "1099.0",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40499",
"name": "Verve 2 Equipped Lowstep",
"price": "899.0",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40498",
"name": "Verve 2 Equipped",
"price": "899.0",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "blue",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}