if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "36913",
"name": "Allant+ 5 Stagger",
"price": "2925.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "36923",
"name": "Allant+ 6 Stagger",
"price": "2750.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "44369",
"name": "Madone SL Disc Gen 7 Frame Set",
"price": "3750.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "reddark",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "34901",
"name": "Townie Commute Go! 5i Step-Thru",
"price": "2000.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "34900",
"name": "Townie Commute Go! 5i Step-Over",
"price": "2000.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "36973",
"name": "District+ 5",
"price": "4500.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "36940",
"name": "District+ 5 Lowstep",
"price": "4500.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "tan",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "33340",
"name": "Loft Go! 5i EQ Step-Thru 500 Wh",
"price": "2000.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "tan",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "34791",
"name": "Loft Go! 5i EQ Step-Thru 400 Wh",
"price": "1800.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "37304",
"name": "Domane RSL Frame Set Gen 4",
"price": "4900.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "36149",
"name": "Domane SL 5 Gen 4",
"price": "2775.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "46766",
"name": "Madone SL Gen 8 Frame Set",
"price": "2750.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "37982",
"name": "Marlin Frameset Gen 3",
"price": "600.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "46775",
"name": "Madone SLR Gen 8 Frame Set",
"price": "4575.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"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": 15
}
,
{
"id": "35038",
"name": "Rail 9.7 Gen 2",
"price": "5287.5",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greydark_black",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "41669",
"name": "Slash 9 GX AXS T-Type Gen 6",
"price": "5175.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "41668",
"name": "Slash 8 Gen 6",
"price": "4250.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "41689",
"name": "Slash 9.9 XX AXS T-Type Gen 6",
"price": "11750.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "47281",
"name": "Slash 9.9 XX AXS T-Type Gen 6",
"price": "11750.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "47280",
"name": "Slash 9.9 X0 AXS T-Type Gen 6",
"price": "9400.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "41681",
"name": "Slash 9.9 X0 AXS T-Type Gen 6",
"price": "9400.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "47278",
"name": "Slash 9.8 GX AXS T-Type Gen 6",
"price": "7500.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "41814",
"name": "Slash 9.8 XT Gen 6",
"price": "7425.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 24
}
,
{
"id": "47279",
"name": "Slash 9.8 XT Gen 6",
"price": "7425.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 25
}
,
{
"id": "41684",
"name": "Slash 9.8 GX AXS T-Type Gen 6",
"price": "6750.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 26
}
,
{
"id": "37044",
"name": "Powerfly 5 Gen 4",
"price": "3975.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "teal_greendark",
"list": "PRODUCTSEARCH",
"position": 27
}
]
}
});
} else {
console.log("dataLayer");
}