Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "41406",
"name": "Pedales de contacto Trek Kovee Elite Juego",
"price": "2299.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "41407",
"name": "Pedal de contacto Trek Line Elite Juego",
"price": "2499.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "41408",
"name": "Pedal de contacto Trek Kovee Pro Juego",
"price": "2899.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "41405",
"name": "Pedales de contacto Trek Line Comp Juego",
"price": "1999.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "41404",
"name": "Pedal de contacto Trek Kovee Comp Juego",
"price": "1599.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "22371",
"name": "Juego de Pedales de Ruta Bontrager Comp",
"price": "1799.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "27134",
"name": "Juego de placas de pedal de contacto MTB Bontrager",
"price": "362.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"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": "More Options",
"position": 8
}
,
{
"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": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}