if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "14602",
"name": "Correa Bontrager ANT+/BLE suave de Ritmo Cardíaco",
"price": "1799.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "21492",
"name": "Bontrager Softstrap Heart Rate Belt",
"price": "765.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}