if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "33744",
"name": "Rahmenset Farley AL",
"price": "1249.0",
"brand": "Trek",
"category": "Fat bikes",
"variant": "bluedark_tealdark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35668",
"name": "Checkpoint ALR Gen 2 Rahmenset",
"price": "1199.0",
"brand": "Trek",
"category": "Checkpoint",
"variant": "reddark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "30189",
"name": "Rahmenset Émonda SL",
"price": "999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "23613",
"name": "Rahmenset Émonda ALR",
"price": "999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "26914",
"name": "1120 Rahmenset",
"price": "929.0",
"brand": "Trek",
"category": "1120",
"variant": "greydark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35870",
"name": "Rahmenset Roscoe",
"price": "849.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}