Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "40249",
"name": "Casco Trek Circuit Wavecel",
"price": "239.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "red_black",
"list": "More Options",
"position": 1
}
,
{
"id": "36952",
"name": "Casco Trek para Ciclismo Starvos WaveCel",
"price": "169.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 2
}
,
{
"id": "34591",
"name": "Casco para Bici de Carrera Bontrager Circuit WaveCel",
"price": "212.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 3
}
,
{
"id": "25365",
"name": "Casco para Bici de Carrera Bontrager XXX WaveCel",
"price": "389.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white",
"list": "More Options",
"position": 4
}
,
{
"id": "31567",
"name": "Casco para Bicicleta Bontrager Starvos WaveCel",
"price": "149.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white",
"list": "More Options",
"position": 5
}
,
{
"id": "25359",
"name": "Casco para Bici de Montaña Bontrager Blaze WaveCel",
"price": "329.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black_greydark",
"list": "More Options",
"position": 6
}
,
{
"id": "31564",
"name": "Casco para Bici de Montaña Bontrager Rally WaveCel",
"price": "212.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "greendark_orange",
"list": "More Options",
"position": 7
}
,
{
"id": "36949",
"name": "Casco para Ciclismo de Montaña Rally WaveCel de Trek",
"price": "209.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black_greendark",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}