if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "41237",
"name": "Gorra para Ciclismo Trek UV SunStop",
"price": "599.0",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}