if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "14834",
"name": "Rueda de Ruta Bontrager Aeolus Pro 3 TLR",
"price": "13599.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black_grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "22312",
"name": "Rueda de ruta Bontrager Paradigm TLR",
"price": "3699.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black_grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "12956",
"name": "DT Swiss RWS Thru-axle",
"price": "165.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "31426",
"name": "Corbata Bontrager TLR",
"price": "17.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}