if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "35867",
"name": "X-Caliber Frame Set",
"price": "525.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greydark",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "28470",
"name": "X-Caliber Frame Set",
"price": "425.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "32769",
"name": "FX 1 Gen 3",
"price": "375.0",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "47830",
"name": "Trek Madone Gen 8 Seat Post",
"price": "379.99",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "41777",
"name": "Trek KVF Aero Carbon Seat Post",
"price": "219.99",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "45161",
"name": "Trek Fetch+ 2 Family Pack Seat",
"price": "39.99",
"brand": "Trek",
"category": "Bike trailers & child seats",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "41409",
"name": "Trek Line Elite Flat Pedal Set",
"price": "39.99",
"brand": "Trek",
"category": "Bike pedals",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "41060",
"name": "Trek Fetch+ 4 Child Seat Harness",
"price": "24.99",
"brand": "Trek",
"category": "Bike trailers & child seats",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "34504",
"name": "Bontrager Velocis Dual Foam Cycling Gloves",
"price": "23.99",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "25886",
"name": "Bontrager 2014 Speed Concept Seat Binder",
"price": "19.99",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "14217",
"name": "Bontrager Rear Light Seat Pack Clip",
"price": "4.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "32424",
"name": "Trek Flat Head Cable Guide Fastener",
"price": "1.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "36048",
"name": "Trek FX Sport Carbon Thru-Skew 700c Rigid Fork",
"price": "259.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_black",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "33005",
"name": "Townie Go! 5i Step-Over",
"price": "2600.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "33006",
"name": "Townie Go! 5i Step-Thru",
"price": "2600.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "46126",
"name": "District+ 2 Belt Lowstep",
"price": "2700.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "37018",
"name": "Farley 5",
"price": "1700.0",
"brand": "Trek",
"category": "Fat bikes",
"variant": "tealdark_greydark",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "56827",
"name": "Verve Lowstep Equipped",
"price": "800.0",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "56826",
"name": "Verve Equipped",
"price": "800.0",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "reddark",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "49654",
"name": "Suvea Trip Plus (800 Wh)",
"price": "4575.0",
"brand": "Diamant",
"category": "Diamant e-bikes",
"variant": "tan",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "49653",
"name": "Suvea Trip Plus (600 Wh)",
"price": "4200.0",
"brand": "Diamant",
"category": "Diamant e-bikes",
"variant": "tan",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "41485",
"name": "Bontrager Line 34.9 Dropper Seat Post",
"price": "169.99",
"brand": "Bontrager",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "26589",
"name": "Trek Madone SLR IsoSpeed Seat Tube Cover",
"price": "59.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "42225",
"name": "Trek Madone SLR IsoSpeed Seat Tube Cover",
"price": "59.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "yellowvisibility",
"list": "PRODUCTSEARCH",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}