if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "41883",
"name": "FSA eMTB Bosch Gen4 Compatible 36 Tooth Chainring",
"price": "49.99",
"brand": "FSA",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "12598",
"name": "Electra Bicycle Cover",
"price": "42.0",
"brand": "Electra",
"category": "Bike storage",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32728",
"name": "Placa de Adaptación Bontrager/Electra MIK para bolsas de ciclismo",
"price": "34.99",
"brand": "Bontrager-Electra",
"category": "Bike racks",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "00126",
"name": "Espejo Mirrycle Mountain",
"price": "26.59",
"brand": "Mirrycle",
"category": "Bike mirrors",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}