if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "35036",
"name": "Rail 7 Gen 2",
"price": "3999.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "bluedark_black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "41986",
"name": "Rail 9.9 X0 AXS T-Type Gen 4",
"price": "11299.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "41661",
"name": "Powerfly FS 9 Equipped Gen 3",
"price": "6499.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greydark_red",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "46692",
"name": "Checkmate SLR 7 AXS",
"price": "8299.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "greendark_greenlight",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "49169",
"name": "Checkmate SLR 8 AXS",
"price": "8299.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "greendark_greenlight",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "41666",
"name": "Rail 9.8 GX AXS T-Type Gen 4",
"price": "8199.97",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "35678",
"name": "Rail 9.9 XX1 AXS Gen 3",
"price": "6999.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_yellow",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "35676",
"name": "Rail 9.9 XTR Gen 3",
"price": "6299.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_yellow",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "35680",
"name": "Rail 9.8 GX AXS Gen 3",
"price": "5499.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey_black",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "37026",
"name": "Rail 9.7 Gen 4",
"price": "5199.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "reddark",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "35672",
"name": "Rail 9.8 XT Gen 3",
"price": "4399.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_yellow",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "35682",
"name": "Rail 9.8 GX Gen 3",
"price": "4399.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_yellow",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "40816",
"name": "FX 2 Mid-step Gen 4",
"price": "799.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "37029",
"name": "Rail 9.8 GX AXS Gen 4",
"price": "6999.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "40929",
"name": "Wahoo 26 Path",
"price": "599.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "blue",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "40928",
"name": "Wahoo 24 Path",
"price": "549.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "46152",
"name": "Checkmate SLR 9 AXS",
"price": "11999.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "greendark_greenlight",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "37358",
"name": "Domane SLR 9 AXS Gen 4",
"price": "9999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "46688",
"name": "Madone SLR 7 AXS Gen 8",
"price": "9499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "46687",
"name": "Madone SLR 7 Gen 8",
"price": "8999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "49168",
"name": "Madone SLR 8 AXS Gen 8",
"price": "9499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "37640",
"name": "Fetch+ 2",
"price": "4499.97",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "44369",
"name": "Madone SL Disc Gen 7 Frameset",
"price": "3799.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "reddark",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "40815",
"name": "FX 2 Gen 4",
"price": "799.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 24
}
,
{
"id": "46151",
"name": "Madone SLR 9 AXS Gen 8",
"price": "13499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "PRODUCTSEARCH",
"position": 25
}
,
{
"id": "46707",
"name": "Madone SLR 9 Gen 8",
"price": "12999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "PRODUCTSEARCH",
"position": 26
}
,
{
"id": "41013",
"name": "Wahoo 24 Trail",
"price": "699.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "green",
"list": "PRODUCTSEARCH",
"position": 27
}
,
{
"id": "41014",
"name": "Wahoo 20 Trail",
"price": "649.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "greenvisibility",
"list": "PRODUCTSEARCH",
"position": 28
}
,
{
"id": "35004",
"name": "FX 2 Disc Mid-step Gen 3",
"price": "649.93",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 29
}
,
{
"id": "36846",
"name": "Precaliber 24 8-speed Suspension",
"price": "469.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "greydark",
"list": "PRODUCTSEARCH",
"position": 30
}
,
{
"id": "36270",
"name": "Precaliber 20",
"price": "329.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 31
}
,
{
"id": "37303",
"name": "Domane SLR Gen 4 Frameset",
"price": "4199.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "PRODUCTSEARCH",
"position": 32
}
,
{
"id": "35003",
"name": "FX 2 Disc Gen 3",
"price": "649.93",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 33
}
,
{
"id": "36268",
"name": "Precaliber 20 7-speed",
"price": "399.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 34
}
,
{
"id": "46220",
"name": "Madone SL 7 Gen 8",
"price": "6499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_purpledark",
"list": "PRODUCTSEARCH",
"position": 35
}
,
{
"id": "46219",
"name": "Madone SL 6 Gen 8",
"price": "5499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 36
}
,
{
"id": "46221",
"name": "Madone SL 6 AXS Gen 8",
"price": "5999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 37
}
]
}
});
} else {
console.log("dataLayer");
}