if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "52234",
"name": "Asiento de Bicicleta Aeolus Elite AirLoom Trek",
"price": "249.99",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "69236",
"name": "Porta Ánfora Reciclado Elite Trek",
"price": "32.99",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "27290",
"name": "Agente sellante para neumáticos TLR Bontrager",
"price": "6.99",
"brand": "Bontrager",
"category": "Bike tires",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41445",
"name": "Luz Delantera para Bici Ion Elite R de Trek",
"price": "139.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34588",
"name": "Casco Velocis para Bici de Carrera de Trek con Protección Mips",
"price": "379.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "44797",
"name": "Luz de Bici Trasera Trek CarBack Radar",
"price": "289.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "49717",
"name": "Bomba Eléctrica Air Rush de Trek",
"price": "149.99",
"brand": "Trek",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "26815",
"name": "Soporte de luz Bontrager Blendr Universal",
"price": "27.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "22246",
"name": "Soporte de luz Blendr Ion para carretera",
"price": "27.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "24663",
"name": "Soporte para accesorio de asiento Bontrager Blendr",
"price": "8.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black_grey",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}