if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "27132",
"name": "Juego de placas de contacto de pedal de 6 grados de ruta Bontrager",
"price": "362.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "32999",
"name": "Juego de placas de contacto de pedal de 9 grados de ruta Bontrager",
"price": "362.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "27134",
"name": "Juego de placas de pedal de contacto MTB Bontrager",
"price": "362.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "23016",
"name": "Bontrager Solstice, Vella, Espresso, & Cortado Shoe SPD Plugs",
"price": "176.0",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44930",
"name": "Bontrager SSR Shoe SPD Plugs",
"price": "176.0",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}