if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "40481",
"name": "Trek-Diamant Presta Rim Strip",
"price": "10.99",
"brand": "Trek-Diamant",
"category": "Bike rims & accessories",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "46763",
"name": "Checkmate SLR Frame Set",
"price": "3125.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "black_grey",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "48285",
"name": "Trek Top Fuel 29 Gen 6 Storage Door Cover - Carbon Models",
"price": "59.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "gold",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "42044",
"name": "Trek 2023 Madone Gen 7 Barstem Top Covers",
"price": "7.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "41082",
"name": "Trek-Diamant 2023 Rubin Legere 700c Rigid Fork",
"price": "179.99",
"brand": "Trek-Diamant",
"category": "Bike forks",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "41294",
"name": "Trek Domane SL 7 Downtube Storage Door",
"price": "59.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "bluedark_white",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "37357",
"name": "Domane SLR 9 Gen 4",
"price": "10800.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "37059",
"name": "Domane SLR 7 Gen 4",
"price": "7980.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "27587",
"name": "Trek KnockBlock 58-degree Headset Assembly",
"price": "39.99",
"brand": "Trek",
"category": "Bike headsets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "22055",
"name": "Speed Concept Rim Frame Set",
"price": "3700.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "49936",
"name": "Trek Powerfly FS+ Gen 4 Alloy Chainstay",
"price": "519.99",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "tan",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "24975",
"name": "Trek Madone SLR Road Handlebar",
"price": "399.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "24976",
"name": "Trek Madone SLR Low Fit Stem",
"price": "379.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "34528",
"name": "Trek 2021 Domane AL 2 700c Rigid Fork",
"price": "359.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "blue_black",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "44140",
"name": "Trek Domane MKIII Color-Matched Gloss Internal Mast Cap",
"price": "239.99",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "44141",
"name": "Trek Domane MKIII Color-Matched Matte Internal Mast Cap",
"price": "239.99",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "44966",
"name": "Trek Flat Head Socket Bolt",
"price": "1.99",
"brand": "Trek-Electra",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "46175",
"name": "Trek RSL Aero Water Bottle and Cage",
"price": "89.99",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_grey",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "41128",
"name": "Trek Slash Gen 5 Storage Door Cover - Carbon Models",
"price": "59.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "greendark_black",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "61076",
"name": "Trek Fuel Carbon Frame Gen 7 Storage Door Cover",
"price": "59.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "green",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "82580",
"name": "Fox Racing x Trek Ranger Women's Mountain Bike Gloves",
"price": "27.99",
"brand": "Fox Racing",
"category": "Women's cycling gloves",
"variant": "purpledark",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "24267",
"name": "Trek 2014 Ticket Derailleur Hanger",
"price": "19.99",
"brand": "Trek",
"category": "Bike hangers & dropouts",
"variant": "black_greydark",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "44112",
"name": "Trek Velocis Mips Helmet Fit System",
"price": "19.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "38038",
"name": "Trek Speed Concept Handlebar Right Hand Fit Cable Routing Spacer",
"price": "10.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}