if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "44797",
"name": "Luz de Bici Trasera Trek CarBack Radar",
"price": "259.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41448",
"name": "Luces traseras para bici Trek Flare RT",
"price": "104.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"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": 3
}
,
{
"id": "14241",
"name": "Luz Trasera para Bicicleta Bontrager Flare R City",
"price": "69.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44445",
"name": "Luz Trasera para Bici Trek Flare R Metro",
"price": "29.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"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": 6
}
,
{
"id": "41441",
"name": "Luz Trasera de Bici Flare R de Trek",
"price": "69.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}