if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "33673",
"name": "Bontrager Elite Combo Folding Lock",
"price": "109.99",
"brand": "Bontrager",
"category": "Bike locks",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "22568",
"name": "Candado en U Bontrager Elite con Llave y Cable de 4'",
"price": "89.99",
"brand": "Bontrager",
"category": "Bike locks",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "22567",
"name": "Candado en U Bontrager Elite Mini con llave",
"price": "67.99",
"brand": "Bontrager",
"category": "Bike locks",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "22562",
"name": "Candado de Cable Bontrager Comp con combinación",
"price": "53.99",
"brand": "Bontrager",
"category": "Bike locks",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "22563",
"name": "Candado de Cable Bontrager Comp con llave",
"price": "49.99",
"brand": "Bontrager",
"category": "Bike locks",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "26779",
"name": "Trek RIB Bosch Powertube Lock by ABUS",
"price": "29.99",
"brand": "ABUS",
"category": "Bike locks",
"variant": "greylight",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}