if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "36998",
"name": "Powerfly FS 4 Gen 3",
"price": "81749.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}