if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "46707",
"name": "Madone SLR 9 Gen 8",
"price": "12899.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "38551",
"name": "Trek RCS Pro Blendr Stem",
"price": "154.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "62468",
"name": "Trek Checkout SL Main Pivot Axle",
"price": "11.99",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "62374",
"name": "Trek Checkout SL Seatstay Pivot Axle",
"price": "9.99",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "32267",
"name": "Trek Set Screw Cable Guide Fastener",
"price": "8.5",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "62465",
"name": "Trek Checkout SL Top Tube Pivot Axle",
"price": "9.99",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "46152",
"name": "Checkmate SLR 9 AXS",
"price": "11999.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "greendark_greenlight",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "46687",
"name": "Madone SLR 7 Gen 8",
"price": "8999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "58885",
"name": "Supercaliber SLR 9.9 XX Flight Attendant Gen 2",
"price": "14999.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "reddark",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "56165",
"name": "Supercaliber SLR 9.9 XTR Di2 Gen 2",
"price": "11499.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "reddark",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "45432",
"name": "Bontrager Girona Pro TLR Gravel Tire",
"price": "59.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "13899",
"name": "Bontrager Speed Concept Gen 1 Race X Lite Stem High-Near",
"price": "209.99",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "28836",
"name": "Bontrager Speed Concept Gen 1 Race X Lite Stem Mid-Far",
"price": "209.99",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "28837",
"name": "Bontrager Speed Concept Gen 1 Race X Lite Stem Low-Far",
"price": "209.99",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "13898",
"name": "Bontrager Speed Concept Gen 1 Race X Lite Stem Mid-Near",
"price": "209.99",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "28835",
"name": "Bontrager Speed Concept Gen 1 Race X Lite Stem High-Far",
"price": "209.99",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "13896",
"name": "Bontrager Speed Concept Gen 1 Race X Lite Stem Low-Near",
"price": "199.99",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "33886",
"name": "Bontrager MSL-141Q Micro Spline 12-Speed Freehub Body",
"price": "35.99",
"brand": "Bontrager",
"category": "Bike hubs & hub parts",
"variant": "",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "57334",
"name": "Supercaliber SLR 9.8 X0 Flight Attendant Gen 2",
"price": "9999.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "reddark",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "46219",
"name": "Madone SL 6 Gen 8",
"price": "4799.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "47131",
"name": "Domane SL 6 Gen 4",
"price": "4599.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "41348",
"name": "Domane SL 5 Gen 4",
"price": "3199.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "57644",
"name": "Domane SL 7 Gen 4",
"price": "6799.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "57639",
"name": "Domane SL 6 Gen 4",
"price": "5099.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_bronze",
"list": "PRODUCTSEARCH",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}