Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "25255",
"name": "Cámara de bicicleta de válvula Schrader estándar Bontrager",
"price": "149.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "00930",
"name": "Cámara de bicicleta Bontrager de látex ligera con válvula Presta",
"price": "365.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "12252",
"name": "Cámara para bicicleta Bontrager fat y + válvula Presta",
"price": "299.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "00910",
"name": "Cámara de Bicicleta autosellante Bontrager con válvula Presta",
"price": "279.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "25261",
"name": "Cámara de bicicleta de válvula Schrader autosellable Bontrager",
"price": "279.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "25263",
"name": "Cámara para bicicleta Bontrager fat y + válvula Schrader",
"price": "265.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}