if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "35487",
"name": "Émonda SLR 7",
"price": "8499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35022",
"name": "Émonda SLR 6 AXS",
"price": "7499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "orange_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32772",
"name": "Émonda SLR Disc frameset",
"price": "4299.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "29864",
"name": "Émonda SLR RSL H1 frameset",
"price": "4199.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "28103",
"name": "Émonda SLR H2 frameset",
"price": "4199.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}