if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "36949",
"name": "Casco para Ciclismo de Montaña Rally WaveCel de Trek",
"price": "209.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black_greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"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": 2
}
,
{
"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": 3
}
,
{
"id": "30483",
"name": "Casco para Bicicleta Bontrager Solstice",
"price": "78.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}