Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "45313",
"name": "Manubrio Bontrager Aero Pro Road",
"price": "849.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black_grey",
"list": "More Options",
"position": 1
}
,
{
"id": "48049",
"name": "Manubrio/Poste de Manubrio integrados Trek Aero RSL Road",
"price": "379.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black_grey",
"list": "More Options",
"position": 2
}
,
{
"id": "32195",
"name": "Manubrio de ruta Bontrager Pro IsoCore VR-SF",
"price": "469.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "32190",
"name": "Manubrio de ruta Bontrager Elite IsoZone VR-CF",
"price": "149.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "23235",
"name": "Manubrio de Ruta Bontrager Comp VR-S",
"price": "99.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}