if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "47274",
"name": "District+ 4 Coaster Lowstep",
"price": "3025.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "42220",
"name": "Trek Silque SLR IsoSpeed Downtube Cover",
"price": "10.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "purple",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "33983",
"name": "Trek 2021-2023 Powerfly FS Upper Rocker Link",
"price": "319.99",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "tan",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "40516",
"name": "Verve+ 2 Lowstep Gen 3",
"price": "2500.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "37992",
"name": "Trek Rail 29 Matte Finish Rocker Link",
"price": "319.99",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "28479",
"name": "Trek 2020-2021 Top Fuel 29 Carbon Chainstays",
"price": "519.99",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "42219",
"name": "Trek Silque SLR IsoSpeed Headtube Cover",
"price": "19.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "purple",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "47071",
"name": "Checkpoint SL 5 AXS Gen 3",
"price": "2900.0",
"brand": "Trek",
"category": "Checkpoint",
"variant": "black_grey",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "29562",
"name": "Trek 2020 Fuel EX 29 Aluminum Chainstay",
"price": "519.99",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "14815",
"name": "Trek Silque SLR IsoSpeed Seat Tube Cover",
"price": "12.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black_green",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "32236",
"name": "Trek 2020 Domane SLR Downtube Storage Cover",
"price": "59.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "33044",
"name": "Madone SLR Gen 6 Frame Set",
"price": "4700.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_reddark",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "17476",
"name": "Kickster",
"price": "165.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "48110",
"name": "Trek BackRack MIK Bike Rack",
"price": "44.99",
"brand": "Trek",
"category": "Bike racks",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "42226",
"name": "Trek 2018-2021 Boone IsoSpeed Headtube Cover",
"price": "39.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "48432",
"name": "Trek Checkpoint SL Gen 3 Downtube Storage Door",
"price": "39.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "bluedark_gold",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "46152",
"name": "Checkmate SLR 9 AXS",
"price": "8950.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "greendark_greenlight",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "42227",
"name": "Trek 2018-2021 Boone IsoSpeed Downtube Cover",
"price": "39.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "56305",
"name": "Fuel EX Alloy Frame Set Gen 7",
"price": "2875.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark_teal",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "47137",
"name": "Bontrager Rotary Head Seatpost 7 x 7 mm Saddle Clamp Ears",
"price": "13.99",
"brand": "Bontrager",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "34009",
"name": "Trek 2021 Domane SL Downtube Storage Cover",
"price": "59.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "34006",
"name": "Trek 2021 Domane SL 700c Rigid Fork",
"price": "419.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_white",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "33976",
"name": "Trek 2021 Fuel EX 29 Carbon Chainstay",
"price": "519.99",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "49445",
"name": "Trek 2025 Rail+ Carbon Gen 5 Chainstay",
"price": "749.99",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "black_greydark",
"list": "PRODUCTSEARCH",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}