if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "41409",
"name": "Juego de Pedales Planos Trek Línea Elite",
"price": "74.99",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35809",
"name": "Juego de pedales planos Bontrager Line Comp",
"price": "49.99",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "22372",
"name": "Juego de Pedales de Traslados Diarios Bontrager",
"price": "89.99",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "23423",
"name": "Juego de pedales Bontrager Line Elite MTB",
"price": "62.99",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35291",
"name": "Juego de pedales Bontrager City",
"price": "39.99",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}