if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "41450",
"name": "Juego de Luces Trek Ion 200 RT/Flare RT",
"price": "204.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"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": "41443",
"name": "Juego de Luces para Bicis Urbanas Trek Ion 100 R/Flare R",
"price": "114.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}