if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "56295",
"name": "Fuel+ EX 9.7 Gen 2",
"price": "5500.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greenlight_green",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "35503",
"name": "Trek 2022-2024 Top Fuel 29 Carbon Seatstay",
"price": "459.99",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "37304",
"name": "Domane RSL Frame Set Gen 4",
"price": "4900.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "49064",
"name": "Trek FX+ 7 Rear Fender Stay",
"price": "39.99",
"brand": "Trek",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "49055",
"name": "Trek FX+ 7 TQ Center Motor Cover",
"price": "14.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "49050",
"name": "Trek FX+ 7 TQ Stem Cover",
"price": "12.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "31801",
"name": "Trek Rocker Link Spacer",
"price": "3.99",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "44692",
"name": "Trek-Diamant RIB 1.5 Charge Dock Cover",
"price": "4.99",
"brand": "Trek",
"category": "E-bike chargers & parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "41156",
"name": "Trek-Diamant 1.5˝ 36-Degree 49mm OD Headset Crown Race",
"price": "3.99",
"brand": "Trek-Diamant",
"category": "Bike headsets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "41183",
"name": "Trek Speed Concept Flippable Head Bolts",
"price": "1.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "09891",
"name": "Cane Creek 40-Series EC HS Headset",
"price": "84.99",
"brand": "Cane Creek",
"category": "Bike headsets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "27563",
"name": "Cane Creek 40-Series 41/30 Steel 1-1/8˝ Crown Race",
"price": "14.99",
"brand": "Cane Creek",
"category": "Bike headsets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "05699",
"name": "Cane Creek 1-1/8˝ Headset Compression Ring",
"price": "9.99",
"brand": "Cane Creek",
"category": "Bike headsets",
"variant": "blue",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "34010",
"name": "Trek 2021 Domane SL Rear IsoSpeed Cover",
"price": "39.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "44552",
"name": "Trek Domane+ SLR Range Extender Cable Guide",
"price": "19.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "32459",
"name": "Trek Domane Blendr Cable Wrangler Duo Mount",
"price": "13.99",
"brand": "Trek",
"category": "Blendr integration",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "31759",
"name": "Trek Domane+ Non-Drive Motor Cover",
"price": "11.99",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "31791",
"name": "Trek Domane IsoSpeed Wave Spring Preload Spacer",
"price": "10.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "42047",
"name": "Trek Domane+ SLR Downtube Cable Rail",
"price": "9.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "44508",
"name": "Trek Domane+ AL Top Tube Cable Guide",
"price": "7.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "31340",
"name": "Trek Domane Rear Reflector Mount",
"price": "6.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "30110",
"name": "Trek Domane SLR Di2 Internal Battery Bracket",
"price": "4.99",
"brand": "Trek",
"category": "Electronic drivetrain",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "31334",
"name": "Trek 2020 Domane Front IsoSpeed Grommet",
"price": "3.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "31337",
"name": "Trek Domane 2020 Top Tube Cable Guide",
"price": "3.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}