if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "35785",
"name": "FX Sport 4",
"price": "1399.93",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "41649",
"name": "Top Fuel 9.9 XTR Gen 3",
"price": "9549.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "reddark",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "41328",
"name": "Fuel EX 8 GX AXS T-Type Gen 6",
"price": "3999.97",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "tealdark",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "36977",
"name": "Émonda SL 6 Pro Di2",
"price": "3999.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "41321",
"name": "Fuel EX 7 Gen 6",
"price": "3699.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange_black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "47223",
"name": "Procaliber 9.5 Gen 3",
"price": "2499.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "33066",
"name": "Fuel EX AL Gen 5 Frameset",
"price": "2319.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "reddark_black",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "47243",
"name": "FX Sport 4",
"price": "1799.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red_black",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "40822",
"name": "FX Sport 4",
"price": "1799.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "32737",
"name": "Verve 1 Disc",
"price": "549.97",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "35814",
"name": "Checkpoint ALR 5 Driftless",
"price": "2299.93",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "reddark",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "41650",
"name": "Top Fuel 9.9 X0 AXS T-Type Gen 3",
"price": "7499.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "41354",
"name": "Émonda SL 7",
"price": "5499.97",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "37058",
"name": "Slash 9.8 GX AXS Gen 5",
"price": "5299.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "yellow",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "37479",
"name": "Service Electric",
"price": "4799.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "35217",
"name": "Slash 9.8 GX AXS Gen 5",
"price": "4799.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "47072",
"name": "Checkpoint SL 6 AXS Gen 3",
"price": "3999.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "41655",
"name": "Boone 5",
"price": "3999.99",
"brand": "Trek",
"category": "Cyclocross bikes",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "37960",
"name": "Slash C Gen 5 Frameset",
"price": "3899.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark_black",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "42273",
"name": "Top Fuel C Gen 3 Frameset",
"price": "3799.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "green",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "35648",
"name": "Top Fuel C Gen 3 Frameset",
"price": "3799.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark_blue",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "41642",
"name": "Procaliber 9.6",
"price": "3099.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "blue",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "35070",
"name": "Top Fuel 7 Gen 3",
"price": "2699.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "38642",
"name": "Remedy AL Frameset",
"price": "2399.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "yellow_red",
"list": "PRODUCTSEARCH",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}