if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "57282",
"name": "ABUS Lock Housing Kit B-DT3 for Bosch Smart System",
"price": "99.0",
"brand": "ABUS",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "31871",
"name": "Trek Powerfly+ Light Rear Cable Guide",
"price": "66.0",
"brand": "Ride+",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37410",
"name": "Electra TX20 Monostay Bolt",
"price": "59.0",
"brand": "Electra",
"category": "E-bike accessories",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37409",
"name": "Electra Tamper Resistant Monostay Bolt",
"price": "59.0",
"brand": "Electra",
"category": "E-bike accessories",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41209",
"name": "Trek-Diamant Allant+/Zouma Motor Mount Plug",
"price": "29.0",
"brand": "Trek-Diamant",
"category": "E-bike accessories",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}