if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "35019",
"name": "Manubrio y poste de manubrio Bontrager RSL MTB",
"price": "8499.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "24153",
"name": "Manubrio MTB Bontrager Line Pro Carbon 35",
"price": "4499.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "13432",
"name": "Manubrio Bontrager Kovee Pro Carbon 35 MTB",
"price": "3629.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "greydark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "22469",
"name": "Manubrio MTB Bontrager Kovee XXX Carbon 35",
"price": "4499.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "grey",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}