if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "27821",
"name": "Luz Delantera para Bicicleta Bontrager Ion Elite R",
"price": "184.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "14259",
"name": "Juego de Luces para Bicicleta Bontrager Ion 100 R/Flare R City",
"price": "114.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "23710",
"name": "Juego de luces Bontrager Ion 200 RT/Flare RT",
"price": "204.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "22450",
"name": "Luz delantera para bici Bontrager Ion 450 R",
"price": "104.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "23709",
"name": "Luz Delantera para Bicicleta Bontrager Ion 200 RT",
"price": "104.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "12535",
"name": "Luz Delantera para Bicicleta Bontrager Ion 120",
"price": "45.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}