Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "35041",
"name": "Zapatos para Montaña Trek RSL",
"price": "599.99",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "45272",
"name": "Zapatos para Montaña Trek Foray",
"price": "269.99",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "25343",
"name": "Zapatos para montaña Bontrager XXX",
"price": "559.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "34130",
"name": "Zapatos para Montaña Bontrager Foray",
"price": "230.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "25342",
"name": "Zapato para Ciclismo de Montaña Bontrager Foray para Damas",
"price": "229.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "purple",
"list": "More Options",
"position": 5
}
,
{
"id": "25341",
"name": "Zapatos para Montaña Bontrager Foray",
"price": "229.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "21729",
"name": "Zapatos de Montaña Bontrager Adorn para damas",
"price": "179.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "grey_teal",
"list": "More Options",
"position": 7
}
,
{
"id": "34129",
"name": "Zapatos para Montaña Bontrager Evoke",
"price": "178.49",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "bluedark_orangevisibility",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}