if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "23644",
"name": "Quadro Émonda ALR Disc",
"price": "1249.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "26914",
"name": "Quadro 1120",
"price": "929.0",
"brand": "Trek",
"category": "1120",
"variant": "greydark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "28693",
"name": "Quadro Procaliber AL",
"price": "769.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34200",
"name": "Quadro 520 Disc",
"price": "669.0",
"brand": "Trek",
"category": "520",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "28470",
"name": "Quadro X-Caliber",
"price": "449.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35866",
"name": "Quadro Marlin Gen 2",
"price": "344.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark_blue",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}