if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "21830",
"name": "Bontrager RIDEtime Elite Cycling Computer",
"price": "34.99",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "44817",
"name": "Pirelli Scorpion Race XC RC MTB Tyre",
"price": "64.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black_yellow",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "56636",
"name": "Supercaliber SL 9.6 Gen 2",
"price": "3400.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red_reddark",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "28498",
"name": "Bontrager E6 Hard-Case Lite E-bike Tyre",
"price": "39.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "56359",
"name": "Wahoo 26 Path",
"price": "475.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "56361",
"name": "Wahoo 20 Path",
"price": "425.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "40928",
"name": "Wahoo 24 Path",
"price": "450.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "teal",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "68933",
"name": "TQ V2 Smart Box",
"price": "179.99",
"brand": "TQ",
"category": "E-bike controllers & parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "36265",
"name": "Precaliber 12",
"price": "250.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "31485",
"name": "Electra Vale GO! 27.5" Fork",
"price": "199.99",
"brand": "Electra",
"category": "Bike forks",
"variant": "tan",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "31486",
"name": "Electra Vale GO! 27.5" Mudguards",
"price": "49.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "tan",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "38204",
"name": "Pirelli Cinturato Gravel H Tyre",
"price": "53.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "30191",
"name": "Madone SLR Gen 6 BB90 Rim Frame Set",
"price": "5375.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "reddark_black",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "14130",
"name": "Unior Crank Puller with Handle",
"price": "19.99",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "26684",
"name": "Electra Loft-7D Chainguard",
"price": "24.99",
"brand": "Electra",
"category": "Bike chainguards & chain cases",
"variant": "tan",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "35076",
"name": "Checkpoint SL Frame Set",
"price": "2500.0",
"brand": "Trek",
"category": "Checkpoint",
"variant": "blue_grey",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "31565",
"name": "Bontrager Rally WaveCel Mountain Bike Helmet",
"price": "40.5",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluelight_bluedark",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "40290",
"name": "TQ Smart Box Di2 Adapter Cable",
"price": "29.99",
"brand": "TQ",
"category": "Electronic drivetrain",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "31468",
"name": "Electra Townie Path 9D EQ Chainguard",
"price": "19.99",
"brand": "Electra",
"category": "Bike chainguards & chain cases",
"variant": "blue_white",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "47132",
"name": "Domane SL 7 Gen 4",
"price": "4925.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "47295",
"name": "Rapha Core Cycling Jersey",
"price": "42.99",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "pinkvisibility",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "52582",
"name": "Slash 9.8 XT Di2 Gen 6",
"price": "6000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "34816",
"name": "Unior BSA30 Open Ended Bottom Bracket Wrench",
"price": "19.99",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "red_greylight",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "40823",
"name": "Dual Sport 1 Gen 5",
"price": "660.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "blue",
"list": "PRODUCTSEARCH",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}