if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "37961",
"name": "Slash AL Gen 5 Frameset",
"price": "2599.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "tealdark_bluedark",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "33037",
"name": "Domane AL 2 Rim",
"price": "999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_black",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "37059",
"name": "Domane SLR 7 Gen 4",
"price": "7499.97",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "36413",
"name": "Slash 9.9 XX1 AXS Flight Attendant Gen 5",
"price": "7499.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "37344",
"name": "Domane SLR 6 Gen 4",
"price": "6999.97",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "37069",
"name": "Powerfly FS 9 Equipped Gen 3",
"price": "6499.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greydark_black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "41661",
"name": "Powerfly FS 9 Equipped Gen 3",
"price": "6499.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greydark_red",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "41561",
"name": "Rail 8 GX AXS T-Type Gen 3",
"price": "6499.97",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "46221",
"name": "Madone SL 6 AXS Gen 8",
"price": "5999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "36792",
"name": "Rail 7 Gen 3",
"price": "4999.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "purpledark",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "33359",
"name": "Fuel EX C Gen 5 Frameset",
"price": "3719.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "34872",
"name": "Vale Go! 9D EQ S",
"price": "3299.93",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "tan",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "33304",
"name": "1120",
"price": "2399.93",
"brand": "Trek",
"category": "1120",
"variant": "bluedark",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "37357",
"name": "Domane SLR 9 Gen 4",
"price": "12199.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "orange_black",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "49167",
"name": "Domane SLR 8 AXS Gen 4",
"price": "9699.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "orange_black",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "35296",
"name": "Checkpoint SLR 9 AXS",
"price": "8999.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "white_green",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "41899",
"name": "Domane SLR 7 AXS Gen 4",
"price": "8999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "41349",
"name": "Checkpoint SLR 7 AXS",
"price": "8699.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "yellowlight_bluedark",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "36711",
"name": "Domane+ SLR 7",
"price": "8499.97",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "46692",
"name": "Checkmate SLR 7 AXS",
"price": "8299.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "greendark_greenlight",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "49169",
"name": "Checkmate SLR 8 AXS",
"price": "8299.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "greendark_greenlight",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "36701",
"name": "Domane+ SLR 6 Pro",
"price": "7499.97",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "black_grey",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "46164",
"name": "Domane+ SLR 6",
"price": "6999.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "black_grey",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "46219",
"name": "Madone SL 6 Gen 8",
"price": "5499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}