if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "24972",
"name": "Chamarra Impermeable de Ciclismo de Montaña Bontrager Avert",
"price": "269.99",
"brand": "Bontrager",
"category": "Cycling jackets",
"variant": "greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "24707",
"name": "Chamarra de Ciclismo Bontrager Velocis Subzero Softshell",
"price": "254.99",
"brand": "Bontrager",
"category": "Cycling jackets",
"variant": "bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "24709",
"name": "Licras Largas con Tirantes Bontrager Velocis Softshell, para Ciclismo",
"price": "251.99",
"brand": "Bontrager",
"category": "Cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "24826",
"name": "Calcetines de ciclismo Bontrager Race Crew",
"price": "22.99",
"brand": "Bontrager",
"category": "Cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35322",
"name": "Calcetines de ciclismo Bontrager Race Crew",
"price": "19.54",
"brand": "Bontrager",
"category": "Cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}