if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "37327",
"name": "Trek Bike People Unisex T-Shirt",
"price": "9.93",
"brand": "Trek",
"category": "T-Shirts",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "41856",
"name": "Trek Emonda SLR 700 Rigid Fork",
"price": "554.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "47888",
"name": "Trek Checkmate SLR 700c Rigid Fork",
"price": "554.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "greendark_greenlight",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "30970",
"name": "Trek 2020-2021 Rail 29 Carbon Battery Cover",
"price": "119.99",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "red_black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "25631",
"name": "Trek Madone SLR Gen 6 Blendr Mono Base",
"price": "15.99",
"brand": "Trek",
"category": "Blendr integration",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "47147",
"name": "Trek Adventure Frame Bag",
"price": "129.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "41409",
"name": "Trek Line Elite Flat Pedal Set",
"price": "59.99",
"brand": "Trek",
"category": "Bike pedals",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "30478",
"name": "Trek Madone SL Painted Headset Cover",
"price": "54.99",
"brand": "Trek",
"category": "Bike headsets",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "40263",
"name": "Trek Full Suspension 17x28x6mm Heavy Contact Sealed Bearing",
"price": "14.99",
"brand": "Trek",
"category": "Bearings",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "40255",
"name": "Trek Full Suspension 17x30x7mm Heavy Contact Sealed Bearing",
"price": "12.99",
"brand": "Trek",
"category": "Bearings",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "40259",
"name": "Trek Full Suspension 12x28x8mm Heavy Contact Sealed Bearing",
"price": "2.93",
"brand": "Trek",
"category": "Bearings",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "40254",
"name": "Trek Full Suspension 25x37x7mm Heavy Contact Sealed Bearing",
"price": "2.93",
"brand": "Trek",
"category": "Bearings",
"variant": "grey_black",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "40258",
"name": "Trek Full Suspension 8x16x5mm Heavy Contact Sealed Bearing",
"price": "1.93",
"brand": "Trek",
"category": "Bearings",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "24583",
"name": "Trek eMTB Bosch Battery Cover",
"price": "119.99",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "greenlight_black",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "27751",
"name": "Trek 2018 Emonda SL 6 700c Disc Rigid Fork",
"price": "384.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_black",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "49691",
"name": "Trek Right Stacked Unisex Hoodie",
"price": "31.93",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greenlight",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "34802",
"name": "Trek 2021 Madone SLR 700c Rigid Fork",
"price": "614.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "reddark_black",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "41359",
"name": "Trek 2023 Madone SL7 700c Rigid Fork",
"price": "614.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "greydark_black",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "46194",
"name": "Trek Slash Gen 6 Carbon Seatstay",
"price": "723.99",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "46196",
"name": "Trek Slash Gen 6 Rocker Link - Carbon Models",
"price": "332.99",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "31317",
"name": "Trek Madone SLR 700c Rigid Fork",
"price": "494.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "31285",
"name": "Trek Allant+ 8 Battery Cover",
"price": "119.99",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "greydark_greenvisibility",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "48044",
"name": "Trek FX 2 700c Disc Rigid Fork",
"price": "177.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "38054",
"name": "Trek 2022 Boone IsoSpeed Cover",
"price": "37.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}