if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "47530",
"name": "Checkpoint ALR 3",
"price": "1299.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47073",
"name": "Checkpoint SL 7 AXS 3e gén.",
"price": "6499.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "bronze_grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47072",
"name": "Checkpoint SL 6 AXS 3e gén.",
"price": "4599.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "blue_bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47071",
"name": "Checkpoint SL 5 AXS 3e gén.",
"price": "3999.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "46765",
"name": "Kit cadre Checkpoint SL 3e gén.",
"price": "2699.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "bronze_grey",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}