Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "36036",
"name": "Zapatos de ciclismo Trek RSL Knit Road",
"price": "699.99",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white_greylight",
"list": "More Options",
"position": 1
}
,
{
"id": "35040",
"name": "Zapatos de ciclismo Trek RSL Road",
"price": "599.99",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "More Options",
"position": 2
}
,
{
"id": "34133",
"name": "Zapatos de ciclismo Trek Velocis Road",
"price": "419.99",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "More Options",
"position": 3
}
,
{
"id": "45274",
"name": "Zapatos de Ciclismo de Ruta Trek Circuit",
"price": "259.99",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "25000",
"name": "Zapatos de ciclismo de ruta Bontrager XXX",
"price": "559.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "white",
"list": "More Options",
"position": 5
}
,
{
"id": "34132",
"name": "Zapato de Ciclismo de Ruta Bontrager Circuit",
"price": "220.49",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "21720",
"name": "Zapato de Ciclismo de Ruta Bontrager Sonic para Damas",
"price": "219.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "grey_greenvisibility",
"list": "More Options",
"position": 7
}
,
{
"id": "33678",
"name": "Zapato de Ciclismo de Ruta Bontrager Solstice",
"price": "109.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}