if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "17003",
"name": "Loft 7i Step-Thru",
"price": "599.99",
"brand": "Electra",
"category": "Loft",
"variant": "green",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "16810",
"name": "Loft 7D Step-Thru",
"price": "499.99",
"brand": "Electra",
"category": "Loft",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "16717",
"name": "Loft 7D Step-Over",
"price": "499.99",
"brand": "Electra",
"category": "Loft",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "36980",
"name": "Madone SL 7 AXS Gen 6",
"price": "5999.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "41513",
"name": "Checkpoint ALR 4",
"price": "1799.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "purplelight",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "47530",
"name": "Checkpoint ALR 3",
"price": "1299.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "46692",
"name": "Checkmate SLR 7 AXS",
"price": "8299.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "greendark_greenlight",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "49169",
"name": "Checkmate SLR 8 AXS",
"price": "8299.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "greendark_greenlight",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "40816",
"name": "FX 2 Mid-step Gen 4",
"price": "799.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "36979",
"name": "Madone SL 7 Gen 6",
"price": "5499.93",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "36145",
"name": "Domane+ AL 5",
"price": "3499.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "40929",
"name": "Wahoo 26 Path",
"price": "599.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "blue",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "40928",
"name": "Wahoo 24 Path",
"price": "549.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "33148",
"name": "Marlin 7 Gen 2",
"price": "749.93",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark_grey",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "40815",
"name": "FX 2 Gen 4",
"price": "799.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "37640",
"name": "Fetch+ 2",
"price": "4999.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "41670",
"name": "Supercaliber SL 9.6 Gen 2",
"price": "4199.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "purpledark",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "41217",
"name": "Marlin 7 Gen 3",
"price": "1299.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "40962",
"name": "Marlin 6 Gen 3",
"price": "949.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "40773",
"name": "Marlin 5 Gen 3",
"price": "739.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "purple_black",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "35004",
"name": "FX 2 Disc Mid-step Gen 3",
"price": "749.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "41013",
"name": "Wahoo 24 Trail",
"price": "699.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "green",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "41014",
"name": "Wahoo 20 Trail",
"price": "649.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "greenvisibility",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "36967",
"name": "Marlin 7 Gen 3",
"price": "899.93",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluelight",
"list": "PRODUCTSEARCH",
"position": 24
}
,
{
"id": "36966",
"name": "Marlin 6 Gen 3",
"price": "849.93",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "blue_bluedark",
"list": "PRODUCTSEARCH",
"position": 25
}
,
{
"id": "37982",
"name": "Marlin Gen 3 Frameset",
"price": "499.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 26
}
,
{
"id": "36744",
"name": "Domane+ SLR 9 AXS",
"price": "9999.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 27
}
,
{
"id": "34649",
"name": "Marlin 8 Gen 2",
"price": "899.93",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "redlight",
"list": "PRODUCTSEARCH",
"position": 28
}
,
{
"id": "36846",
"name": "Precaliber 24 8-speed Suspension",
"price": "469.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "greydark",
"list": "PRODUCTSEARCH",
"position": 29
}
,
{
"id": "36270",
"name": "Precaliber 20",
"price": "329.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 30
}
,
{
"id": "35003",
"name": "FX 2 Disc Gen 3",
"price": "749.99",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 31
}
,
{
"id": "36965",
"name": "Precaliber 24 8-speed",
"price": "439.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 32
}
,
{
"id": "36268",
"name": "Precaliber 20 7-speed",
"price": "399.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 33
}
,
{
"id": "47094",
"name": "Slash+ 9.7 SLX/XT",
"price": "7999.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 34
}
]
}
});
} else {
console.log("dataLayer");
}