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": "Kit cadre Émonda SLR Disque",
"price": "4299.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "29864",
"name": "Kit cadre Émonda SLR RSL H1",
"price": "4199.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "28103",
"name": "Ensemble cadre-fourche Émonda SLR H2",
"price": "4199.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}