if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "34130",
"name": "Zapatos para Montaña Bontrager Foray",
"price": "230.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"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": "34132",
"name": "Zapato de Ciclismo de Ruta Bontrager Circuit",
"price": "220.49",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "21719",
"name": "Zapato de Ciclismo de Ruta Bontrager Circuit",
"price": "219.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "25362",
"name": "Casco de Ciclismo Bontrager Specter WaveCel",
"price": "212.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}