if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "49665",
"name": "Fox Racing x Trek Ranger Women's Mountain Bike Shorts with Liner",
"price": "89.99",
"brand": "Fox Racing",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "35870",
"name": "Roscoe Frame Set",
"price": "775.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "38551",
"name": "Trek RCS Pro Blendr Stem",
"price": "99.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "21503",
"name": "Trek Kids Handlebar Tassels",
"price": "4.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "pink",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"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": 5
}
,
{
"id": "36072",
"name": "Trek 2020-2021 Rail 29 Charge Port Cover",
"price": "54.99",
"brand": "Trek",
"category": "E-bike chargers & parts",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "34139",
"name": "Trek 2021 Madone SL IsoSpeed Cover",
"price": "59.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "46104",
"name": "Trek 2024 Checkpoint SL 700c Rigid Fork",
"price": "359.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "tealdark_grey",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "13661",
"name": "Madone KVF Aero Integrated Handlebar/Stem",
"price": "289.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "41361",
"name": "Trek 2023 Madone SL7 IsoCover",
"price": "59.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "bluedark",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "42217",
"name": "Trek 2023 Madone SL6 IsoSpeed Headtube Cover",
"price": "59.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "58503",
"name": "Trek Domane+ ALR HPR60 Motor Cover",
"price": "9.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "14714",
"name": "Unior Flat Spoke Wrench",
"price": "5.99",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "41126",
"name": "Trek Top Fuel 29 Gen 3 Storage Door Cover - Carbon Models",
"price": "59.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "orange_black",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "41127",
"name": "Trek Slash Gen 5 Storage Door Cover - Alloy Models",
"price": "59.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red_black",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "47896",
"name": "Trek Perf Line Handlebar Tape Set",
"price": "24.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "35040",
"name": "Trek RSL Road Cycling Shoes",
"price": "244.99",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white_greylight",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "34899",
"name": "Trek Crockett Rigid Fork",
"price": "359.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "greydark_black",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "34008",
"name": "Trek 2021 Domane SL Brow Cover",
"price": "34.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "44947",
"name": "Trek Enduro Front Mudguard",
"price": "5.99",
"brand": "Trek",
"category": "Bike fenders & accessories",
"variant": "black_white",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "62515",
"name": "Trek Checkout SL Small Swingarm Assembly",
"price": "1449.99",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "62516",
"name": "Trek Checkout SL Medium Swingarm Assembly",
"price": "1449.99",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "38039",
"name": "Trek Speed Concept Handlebar Left Hand Fit Cable Routing Spacer",
"price": "10.99",
"brand": "Trek",
"category": "Bike handlebars",
"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");
}