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