Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "33120",
"name": "Puño Bontrager XR Elite MTB",
"price": "849.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "greendark",
"list": "More Options",
"position": 1
}
,
{
"id": "36985",
"name": "Juego de puños reciclados Bontrager SE Elite",
"price": "599.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "orange",
"list": "More Options",
"position": 2
}
,
{
"id": "33100",
"name": "Set de puños Bontrager XR Trail Comp MTB",
"price": "549.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "orange",
"list": "More Options",
"position": 3
}
,
{
"id": "35888",
"name": "Juego de puños reciclados Bontrager XR Endurance Elite",
"price": "899.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "14211",
"name": "Puño de silicón Bontrager XR",
"price": "579.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 5
}
,
{
"id": "08387",
"name": "Puño Bontrager SSR",
"price": "259.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "black_white",
"list": "More Options",
"position": 6
}
,
{
"id": "30975",
"name": "Puños de una velocidad Trek Kids'",
"price": "185.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 7
}
,
{
"id": "30976",
"name": "Puños para cambios giratorios Trek Kids'",
"price": "185.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "pinkvisibility",
"list": "More Options",
"position": 8
}
,
{
"id": "12278",
"name": "Puños MTB para niños Trek",
"price": "90.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "25481",
"name": "Electra Hand-Stitched Short Grips",
"price": "564.0",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "12639",
"name": "Electra Ergo Long Grip",
"price": "78.67",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "brown",
"list": "More Options",
"position": 11
}
,
{
"id": "12640",
"name": "Electra Finger Groove Grips",
"price": "14.0",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}