if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "32692",
"name": "Cuadro Checkpoint ALR",
"price": "",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "tealdark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "23644",
"name": "Cuadro Émonda ALR Disc",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35084",
"name": "Cuadro Madone SL Disc Gen 6",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "28712",
"name": "Cuadro Domane SL Disc Gen 3",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}