if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "36015",
"name": "Pata de Cabra Ajustable de Montura Trasera de Bontrager",
"price": "32.99",
"brand": "Bontrager",
"category": "Bike kickstands",
"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": "23710",
"name": "Juego de luces Bontrager Ion 200 RT/Flare RT",
"price": "204.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41450",
"name": "Juego de Luces Trek Ion 200 RT/Flare RT",
"price": "204.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33594",
"name": "Alforja doble Bontrager Town",
"price": "149.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33593",
"name": "Alforja individual Bontrager Town",
"price": "109.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "22373",
"name": "Multiherramienta Bontrager Comp",
"price": "19.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}