if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "33369",
"name": "Remedy 27.5 Al Frameset",
"price": "2319.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "yellow_red",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "36450",
"name": "Verve 1 Lowstep Gen 4",
"price": "699.99",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "32736",
"name": "Verve 1 Disc Lowstep",
"price": "549.97",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "35218",
"name": "Slash 9.9 XX1 AXS Gen 5",
"price": "7499.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "37065",
"name": "Slash 9.9 XTR Gen 5",
"price": "6999.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "35022",
"name": "Émonda SLR 6 AXS",
"price": "6499.97",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "47073",
"name": "Checkpoint SL 7 AXS Gen 3",
"price": "5699.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "gold_greendark",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "35036",
"name": "Rail 7 Gen 2",
"price": "4299.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "bluedark_black",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "35316",
"name": "Slash 9.8 GX Gen 5",
"price": "4299.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greydark",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "35683",
"name": "Slash C Gen 5 Frameset",
"price": "3719.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark_black",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "35214",
"name": "Remedy 27.5 C Frameset",
"price": "2999.97",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "36974",
"name": "Émonda SL 5",
"price": "2499.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "41513",
"name": "Checkpoint ALR 4",
"price": "1799.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "purplelight",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "47530",
"name": "Checkpoint ALR 3",
"price": "1299.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "40826",
"name": "Dual Sport 3 Gen 5",
"price": "1049.99",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "34649",
"name": "Marlin 8 Gen 2",
"price": "899.93",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "redlight",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "33148",
"name": "Marlin 7 Gen 2",
"price": "749.93",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark_grey",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "37420",
"name": "Madone SLR 9 AXS Gen 7",
"price": "9999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_reddark",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "33140",
"name": "Émonda SLR 9 AXS",
"price": "9999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "35326",
"name": "Top Fuel 9.9 XX1 AXS Gen 3",
"price": "7999.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "reddark_black",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "46220",
"name": "Madone SL 7 Gen 8",
"price": "6499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_purpledark",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "35193",
"name": "Fuel EX 9.8 GX AXS Gen 5",
"price": "4799.93",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey_orange",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "47071",
"name": "Checkpoint SL 5 AXS Gen 3",
"price": "3199.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "black_grey",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "34871",
"name": "Vale Go! 9D EQ",
"price": "3099.93",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "tan",
"list": "PRODUCTSEARCH",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}