Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "25255",
"name": "Cámara de bicicleta de válvula Schrader estándar Bontrager",
"price": "12.99",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "25254",
"name": "Cámara de bicicleta de válvula Presta estándar Bontrager",
"price": "12.99",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "00910",
"name": "Cámara de Bicicleta autosellante Bontrager con válvula Presta",
"price": "22.99",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "25261",
"name": "Cámara de bicicleta de válvula Schrader autosellable Bontrager",
"price": "16.99",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}