if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "32429",
"name": "Trek Madone SLR Seatpost Reflector Mounting Bolt",
"price": "45.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "27526",
"name": "Trek Carbon Frame Dropper Seatpost Router Plug",
"price": "37.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "31329",
"name": "Bontrager Line Elite Dropper Seatpost Cartridge Mounting Bolt",
"price": "46.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40621",
"name": "TranzX JD-YSP28 Dropper Seatpost With Suspension",
"price": "4879.0",
"brand": "TranzX",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41242",
"name": "Trek-Diamant Ergotec PM-705N 70-90kg Suspension Seatpost",
"price": "3950.0",
"brand": "Trek-Diamant",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41473",
"name": "Promax 27.2mm 2-Bolt Seatpost",
"price": "511.0",
"brand": "Lee Chi",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "67688",
"name": "Lee Chi 36.4mm Quick Release Seatpost Clamp",
"price": "139.0",
"brand": "Lee Chi",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "12827",
"name": "Electra Replacement Aluminum Seatpost",
"price": "114.0",
"brand": "Lee Chi",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}