if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "30212",
"name": "Zapatos de ciclismo de ruta Bontrager Ballista Knit",
"price": "489.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "25341",
"name": "Zapatos para Montaña Bontrager Foray",
"price": "229.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "14775",
"name": "Cubierto para Zapato de Ciclismo Bontrager S1 Softshell",
"price": "89.99",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "25032",
"name": "Calentadores de piernas térmicos para ciclismo Bontrager",
"price": "72.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}