if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "36271",
"name": "Precaliber 20 con rueda libre",
"price": "479.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}