if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "23032",
"name": "Trek Checkpoint Carbon Armor",
"price": "1168.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "12338",
"name": "Guardacadena Trek 3S",
"price": "529.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37727",
"name": "Trek Checkpoint SL & SLR Downtube Armor",
"price": "352.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37599",
"name": "Trek Checkpoint SL & SLR Gen 2 Chainstay Armor",
"price": "242.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33297",
"name": "Trek Checkpoint SL Chainstay Strike Guard",
"price": "220.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "greylight",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "28423",
"name": "Trek Boone CX Chainstay Armor",
"price": "116.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}