if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "36065",
"name": "Trek Circuit Windshell Cycling Vest",
"price": "2299.0",
"brand": "Trek",
"category": "Cycling vests",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "24973",
"name": "Chaleco Rompevientos de Ciclismo Bontrager Circuit para Damas",
"price": "2299.0",
"brand": "Bontrager",
"category": "Cycling vests",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}