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
}
,
{
"id": "36846",
"name": "Precaliber 24 de 8 velocidades y suspensión",
"price": "599.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36266",
"name": "Precaliber 16",
"price": "399.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36965",
"name": "Precaliber 24 8 velocidades",
"price": "569.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}