if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "23276",
"name": "Adaptador Bontrager Insta-Mount",
"price": "162.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "13113",
"name": "Soporte para teléfono Bontrager Insta-Mount para poste de manubrio/manubrio",
"price": "549.0",
"brand": "Bontrager",
"category": "Phone & tablet accessories",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "23027",
"name": "CycleOps Sweat Guard with Phone Holder",
"price": "799.0",
"brand": "CycleOps",
"category": "Phone & tablet accessories",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "12319",
"name": "Sensor digital DuoTrap S Bontrager",
"price": "1799.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "11323",
"name": "Sensor Combo digital Bontrager Interchange",
"price": "1699.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}