if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "49168",
"name": "Madone SLR 8 AXS Gen 8",
"price": "9499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "47303",
"name": "Supercaliber SLR 9.8 X0 AXS T-Type Gen 2",
"price": "8499.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark_grey",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "41550",
"name": "Fuel EXe 8 GX AXS T-Type",
"price": "6899.98",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "tealdark",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "41554",
"name": "Fuel EXe 8 XT",
"price": "6099.98",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "tan",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "37023",
"name": "Farley 9",
"price": "3999.99",
"brand": "Trek",
"category": "Fat bikes",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "46143",
"name": "Top Fuel 8 Gen 4",
"price": "3999.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "35207",
"name": "Cruiser Go! Step-Thru",
"price": "1199.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "orangelight",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "35206",
"name": "Cruiser Go! Step-Over",
"price": "1199.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "41854",
"name": "Rail 9.9 CXR Gen 4",
"price": "13299.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "47319",
"name": "Supercaliber SLR 9.9 XX AXS Gen 2",
"price": "11999.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark_grey",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "41725",
"name": "Supercaliber SLR 9.9 XX AXS Gen 2",
"price": "11699.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "41728",
"name": "Supercaliber SLR 9.9 X0 AXS Gen 2",
"price": "8999.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black_grey",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "46161",
"name": "Top Fuel 9.8 XT Gen 4",
"price": "6249.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "purpledark",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "37020",
"name": "Farley 9.6",
"price": "3699.99",
"brand": "Trek",
"category": "Fat bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "46142",
"name": "Top Fuel 5 Gen 4",
"price": "2699.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "47938",
"name": "Townie Go! 7D EQ Step-Thru",
"price": "1799.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "yellowvisibility",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "47937",
"name": "Townie Go! 7D EQ Step-Over",
"price": "1799.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "35273",
"name": "Townie Go! 7D Step-Thru",
"price": "1599.98",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "yellowvisibility",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "35272",
"name": "Townie Go! 7D Step-Over",
"price": "1599.98",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "44369",
"name": "Madone SL Disc Gen 7 Frameset",
"price": "3799.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "reddark",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "36149",
"name": "Domane SL 5 Gen 4",
"price": "2499.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "37304",
"name": "Domane RSL Gen 4 Frameset",
"price": "4199.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "46766",
"name": "Madone SL Gen 8 Frameset",
"price": "2999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "46775",
"name": "Madone SLR Gen 8 Frameset",
"price": "4999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "PRODUCTSEARCH",
"position": 24
}
,
{
"id": "37982",
"name": "Marlin Gen 3 Frameset",
"price": "499.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 25
}
,
{
"id": "41689",
"name": "Slash 9.9 XX AXS T-Type Gen 6",
"price": "11499.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 26
}
,
{
"id": "47281",
"name": "Slash 9.9 XX AXS T-Type Gen 6",
"price": "11499.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 27
}
,
{
"id": "41821",
"name": "Slash 9.9 XTR Gen 6",
"price": "9599.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 28
}
,
{
"id": "47280",
"name": "Slash 9.9 X0 AXS T-Type Gen 6",
"price": "9399.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 29
}
,
{
"id": "41681",
"name": "Slash 9.9 X0 AXS T-Type Gen 6",
"price": "9399.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 30
}
,
{
"id": "41684",
"name": "Slash 9.8 GX AXS T-Type Gen 6",
"price": "7999.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 31
}
,
{
"id": "41814",
"name": "Slash 9.8 XT Gen 6",
"price": "7399.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 32
}
,
{
"id": "47279",
"name": "Slash 9.8 XT Gen 6",
"price": "6499.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 33
}
,
{
"id": "41669",
"name": "Slash 9 GX AXS T-Type Gen 6",
"price": "5799.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 34
}
,
{
"id": "41668",
"name": "Slash 8 Gen 6",
"price": "4399.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 35
}
]
}
});
} else {
console.log("dataLayer");
}