if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "25359",
"name": "Casco para Bici de Montaña Bontrager Blaze WaveCel",
"price": "329.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "31564",
"name": "Casco para Bici de Montaña Bontrager Rally WaveCel",
"price": "212.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "greendark_orange",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "30483",
"name": "Casco para Bicicleta Bontrager Solstice",
"price": "78.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}