if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "47243",
"name": "FX Sport SL 4",
"price": "1500.0",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "57379",
"name": "Procaliber 9.6 Gen 3",
"price": "2200.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "green",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "46765",
"name": "Checkpoint SL Gen 3 Frame Set",
"price": "2425.0",
"brand": "Trek",
"category": "Checkpoint",
"variant": "bronze_grey",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "35076",
"name": "Checkpoint SL Frame Set",
"price": "2500.0",
"brand": "Trek",
"category": "Checkpoint",
"variant": "blue_grey",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "37802",
"name": "Bontrager Pro Blendr Alloy Computer Mount",
"price": "19.99",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "45591",
"name": "Trek M5x0.8 Socket Head Cap Screws",
"price": "4.99",
"brand": "Trek-Electra",
"category": "Bike headsets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "47306",
"name": "Trek 2024 Slash Alloy Frame Chainstay Plug",
"price": "3.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "31869",
"name": "Trek Madone 6 Top Tube Cable Stop Bolt",
"price": "2.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "29086",
"name": "Bontrager Line Pro 30 TLR Boost 27.5 MTB Wheel",
"price": "479.99",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "37180",
"name": "Bontrager Kovee Pro 30 TLR Boost 29 MTB Wheel",
"price": "599.99",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "41023",
"name": "Allant+ 6",
"price": "3425.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "10282",
"name": "Trek Carbon Road Frame Chainstay Strike Plate",
"price": "4.99",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "10885",
"name": "Trek Pavement Suspension Seatpost",
"price": "29.99",
"brand": "Lee Chi",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "41024",
"name": "Allant+ 6 Lowstep",
"price": "3425.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "31956",
"name": "Bosch Gen 3 Mini ISIS Crankset",
"price": "84.99",
"brand": "Trek-Diamant",
"category": "E-bike drivetrain parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "44657",
"name": "RideWrap Matte Covered Frame Protection Kit designed to fit Trek Fuel EX Gen 6",
"price": "60.0",
"brand": "RideWrap",
"category": "Bike frame protection",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "44656",
"name": "RideWrap Gloss Covered Frame Protection Kit designed to fit Trek Fuel EX Gen 6",
"price": "60.0",
"brand": "RideWrap",
"category": "Bike frame protection",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "45386",
"name": "Trek M5 x 0.8mm Locknut",
"price": "3.99",
"brand": "Trek-Electra",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "57365",
"name": "Marlin 6 Gen 3",
"price": "850.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "42220",
"name": "Trek Silque SLR IsoSpeed Downtube Cover",
"price": "10.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "purple",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "41025",
"name": "Allant+ 6 Midstep",
"price": "3425.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "26272",
"name": "Trek Madone 9-Series Upper Headset Bearing",
"price": "34.99",
"brand": "Trek",
"category": "Bearings",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "11271",
"name": "Trek Madone Cable Management ",
"price": "6.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "31071",
"name": "Supernova M99 Pro Front Bike Light",
"price": "419.99",
"brand": "SUPERNOVA",
"category": "Bike lights",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}