if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "41409",
"name": "Juego de Pedales Planos Trek Línea Elite",
"price": "1499.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35809",
"name": "Juego de pedales planos Bontrager Line Comp",
"price": "599.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "orange",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41410",
"name": "Juego de Pedales Planos Trek Line Pro",
"price": "2799.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "orange",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "10435",
"name": "Trek Hybrid Pedal Set",
"price": "464.0",
"brand": "VP Components",
"category": "Bike pedals",
"variant": "greylight_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "45142",
"name": "Trek Line Pro/Elite Pedal Axle Rebuild Kit",
"price": "464.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "32568",
"name": "VP Components VP-536 Nylon Pedal Set",
"price": "464.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "teal",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "45143",
"name": "Trek Line Pro Pedal Pin Kit",
"price": "334.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "45144",
"name": "Trek Line Elite Pedal Pin Kit",
"price": "250.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "30971",
"name": "Trek Kids' Platform Large Pedal Set",
"price": "232.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "orange",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "30977",
"name": "Trek Kids' Platform Small Pedal Set",
"price": "232.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "10861",
"name": "Trek Kids Dialed Pedal Set",
"price": "218.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "white",
"list": "CATEGORY",
"position": 11
}
,
{
"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": 12
}
,
{
"id": "14345",
"name": "Bontrager Line Pro Pedal Axle Rebuild Kit",
"price": "534.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "grey",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "26735",
"name": "Bontrager Line Pro Pedal Pin Kit",
"price": "348.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "grey",
"list": "CATEGORY",
"position": 14
}
]
}
});
} else {
console.log("dataLayer");
}