if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "48435",
"name": "Zapatos de ciclismo Trek Velocis Road",
"price": "7699.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "52234",
"name": "Asiento de Bicicleta Aeolus Elite AirLoom Trek",
"price": "3799.0",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "45105",
"name": "Casco para Ciclismo de Montaña Rally WaveCel de Trek",
"price": "3599.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "tan_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35040",
"name": "Zapatos de ciclismo Trek RSL Road",
"price": "11999.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white_greylight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "24238",
"name": "Bomba de Suelo Bontrager TLR Flash Charger de Bontrager",
"price": "4699.0",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41410",
"name": "Juego de Pedales Planos Trek Line Pro",
"price": "2799.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "orange",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "46175",
"name": "Ánfora Aero y Porta Ánfora Aerodinámicos RSL Trek",
"price": "2699.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_grey",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}