if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "30191",
"name": "Cuadro Madone SLR Gen 6 BB90 Freno de llanta",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "29529",
"name": "Cuadro Madone SL",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33044",
"name": "Cuadro Madone SLR Gen 6",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_reddark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "46775",
"name": "Cuadro Madone SLR Gen 8",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "30192",
"name": "Cuadro Domane SLR Gen 2 Rin",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37307",
"name": "Cuadro Madone SLR Gen 7",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}