if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "34847",
"name": "Licras Cortas con Tirantes Santini Trek Factory Racing XC Team Replica para Hombres",
"price": "195.49",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark_bluelight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34846",
"name": "Jersey de Ciclismo Santini Trek Factory Racing XC Team Replica para Hombres",
"price": "157.24",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_bluelight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25343",
"name": "Zapatos para montaña Bontrager XXX",
"price": "503.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "25365",
"name": "Casco para Bici de Carrera Bontrager XXX WaveCel",
"price": "389.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "14897",
"name": "Casco para Bici de Carrera Bontrager Velocis Mips",
"price": "279.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "25362",
"name": "Casco de Ciclismo Bontrager Specter WaveCel",
"price": "191.69",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}