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": "CATEGORY",
"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": "CATEGORY",
"position": 2
}
,
{
"id": "24975",
"name": "Trek Madone SLR Road Handlebar",
"price": "499.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "32195",
"name": "Manubrio de ruta Bontrager Pro IsoCore VR-SF",
"price": "469.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "32190",
"name": "Manubrio de ruta Bontrager Elite IsoZone VR-CF",
"price": "149.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "23235",
"name": "Manubrio de Ruta Bontrager Comp VR-S",
"price": "99.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}