if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "28225",
"name": "Trek Super Commuter Bosch Motor Armor",
"price": "1168.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "31288",
"name": "Trek 2020 Allant+ 9.9/Diamant Zouma Skidplate",
"price": "1160.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "31818",
"name": "Trek 2020 Allant+/Diamant Zouma Supreme+ Skidplate",
"price": "1160.0",
"brand": "Trek-Diamant",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "31271",
"name": "Trek Allant+ 9.9/Diamant Zouma Supreme+ Chainstay Guard",
"price": "242.0",
"brand": "Trek-Diamant",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "31982",
"name": "Trek-Diamant City Chainguard Bracket",
"price": "81.0",
"brand": "Trek-Diamant",
"category": "Bike frame protection",
"variant": "greylight",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "31528",
"name": "Motor Armor Placa de deslizamiento Trek Allant+ y Diamant Zouma+",
"price": "23.0",
"brand": "Trek-Diamant",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}