if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "37569",
"name": "Electra Townie 135 x 12mm Derailleur Hanger",
"price": "438.0",
"brand": "Electra",
"category": "Bike hangers & dropouts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "32172",
"name": "Bosch Gen 3 (Mini ISIS) Crankset",
"price": "419.0",
"brand": "Trek-Diamant",
"category": "E-bike drivetrain parts",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "45327",
"name": "microSHIFT SL-M6285-R 8-Speed Shifter",
"price": "417.0",
"brand": "microSHIFT",
"category": "Bike shifters",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37871",
"name": "SunRun FW-7I 7-Speed Freewheel",
"price": "390.0",
"brand": "SunRun",
"category": "Bike cassettes & freewheels",
"variant": "brown",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37872",
"name": "SunRun FW-6I 6-Speed Freewheel",
"price": "365.0",
"brand": "SunRun",
"category": "Bike cassettes & freewheels",
"variant": "brown",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "31275",
"name": "Protector de desviador Trek Allant+/Diamant Zouma Supreme+",
"price": "348.0",
"brand": "Trek-Diamant",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "32684",
"name": " VP Components Square Taper Bottom Bracket",
"price": "313.0",
"brand": "VP Components",
"category": "Bike bottom brackets",
"variant": "greylight",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "44990",
"name": "FSA ML558 Bosch Gen 3 ISIS Crank Arm Bolts - Set of 2",
"price": "264.0",
"brand": "FSA",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "44499",
"name": "VP Components VP-536 Nylon Polymer Bearing Pedal Set",
"price": "202.0",
"brand": "VP Components",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36832",
"name": "Trek-Diamant Prowheel Crank Preload Bolt",
"price": "158.0",
"brand": "Prowheel",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "26060",
"name": "VP Components FP-B701 Old-Style Nut-Type Bottom Bracket",
"price": "152.0",
"brand": "VP Components",
"category": "Bike bottom brackets",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "46122",
"name": "Prowheel Chainring Bolt Kit",
"price": "22.0",
"brand": "Trek-Diamant",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}