if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "58244",
"name": "Madone SL Frameset Gen 8",
"price": "2299.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "32688",
"name": "Émonda SL Disc Frameset",
"price": "2169.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37299",
"name": "Émonda ALR Disc Frameset",
"price": "1449.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "23644",
"name": "Émonda ALR Disc Frameset",
"price": "1299.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "48297",
"name": "Komplet z okvirjem Émonda ALR Disc",
"price": "1139.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "23613",
"name": "Émonda ALR Frameset",
"price": "1029.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "30189",
"name": "Émonda SL Frameset",
"price": "1029.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}