Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "44520",
"name": "Asiento para Bici Trek Aeolus RSL",
"price": "",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "27101",
"name": "Asiento de bicicleta Bontrager Aeolus Comp",
"price": "",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "27093",
"name": "Asiento de bicicleta Bontrager Aeolus Pro",
"price": "",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "27094",
"name": "Asiento de bicicleta Bontrager Aeolus Elite",
"price": "",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}