if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "12057",
"name": "Trek Shock Mount Bearings",
"price": "69.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "yellow",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "38013",
"name": "Trek 12mm Flanged IsoSpeed Bushing",
"price": "119.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "26814",
"name": "Trek Madone SLR IsoSpeed Bushing",
"price": "99.0",
"brand": "Trek",
"category": "Bearings",
"variant": "tan",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "27673",
"name": "Cojinete de pivote de eje principal Trek Tophat",
"price": "139.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "yellow",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "31951",
"name": "Bontrager Aeolus Disc CeramicSpeed Coated Hub Kit",
"price": "23432.0",
"brand": "CeramicSpeed",
"category": "Bike hubs & hub parts",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "31950",
"name": "Bontrager Aeolus Disc CeramicSpeed Standard Hub Kit",
"price": "15776.0",
"brand": "CeramicSpeed",
"category": "Bike hubs & hub parts",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "27085",
"name": "Cane Creek HD-Series Headset Bearing",
"price": "639.0",
"brand": "Cane Creek",
"category": "Bearings",
"variant": "greylight",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "44145",
"name": "FSA MR226 36 x 45 Lower Headset Bearing",
"price": "579.0",
"brand": "Trek-Diamant",
"category": "Bike headsets",
"variant": "greylight",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "78704",
"name": "FSA SL 1.5˝ Headset Bearing",
"price": "429.0",
"brand": "FSA",
"category": "Bike headsets",
"variant": "redlight",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "30895",
"name": "Cane Creek ZN40-Series Headset Bearing",
"price": "239.0",
"brand": "Cane Creek",
"category": "Bearings",
"variant": "greylight",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "28913",
"name": "FSA Oversized Headset Bearing",
"price": "189.0",
"brand": "FSA",
"category": "Bearings",
"variant": "greylight",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}