if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "36969",
"name": "Marlin 8 Gen 3",
"price": "1079.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34649",
"name": "Marlin 8 Gen 2",
"price": "1019.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36967",
"name": "Marlin 7 Gen 3",
"price": "1007.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "tealdark_bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33148",
"name": "Marlin 7 Gen 2",
"price": "958.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark_grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36966",
"name": "Marlin 6 Gen 3",
"price": "888.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "teal",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36454",
"name": "Verve 2 Lowstep Gen 4",
"price": "762.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "green",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35003",
"name": "FX 2 Disc Gen 3",
"price": "713.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "34587",
"name": "Marlin 5 Gen 2",
"price": "647.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greenvisibility_teal",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36450",
"name": "Verve 1 Lowstep Gen 4",
"price": "629.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36965",
"name": "Precaliber 24 8 velocidades",
"price": "569.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "36271",
"name": "Precaliber 20 con rueda libre",
"price": "479.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "30485",
"name": "Casco para Bicicleta Bontrager Tyro para Niños",
"price": "69.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "purple_bluelight",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "31204",
"name": "Casco para Bicicleta Bontrager Tyro Juvenil",
"price": "69.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "pinkvisibility_black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "30488",
"name": "Casco para Bicicleta Bontrager Little Dipper para Niños",
"price": "55.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "blue_greenvisibility",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "22489",
"name": "Guante de ciclismo para niños de Bontrager",
"price": "25.99",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "pinkdark",
"list": "CATEGORY",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}