if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "GBP", "impressions": [ { "id": "41408", "name": "Trek Kovee Pro Clipless Pedal Set", "price": "109.99", "brand": "Trek", "category": "Bike pedals", "variant": "black", "list": "CATEGORY", "position": 1 } , { "id": "41406", "name": "Trek Kovee Elite Clipless Pedal Set", "price": "89.99", "brand": "Trek", "category": "Bike pedals", "variant": "black", "list": "CATEGORY", "position": 2 } , { "id": "41409", "name": "Trek Line Elite Flat Pedal Set", "price": "39.99", "brand": "Trek", "category": "Bike pedals", "variant": "red", "list": "CATEGORY", "position": 3 } , { "id": "35560", "name": "Bontrager Adventure Saddle Bag", "price": "109.99", "brand": "Bontrager", "category": "Bike bags", "variant": "black", "list": "CATEGORY", "position": 4 } , { "id": "47147", "name": "Trek Adventure Frame Bag", "price": "109.99", "brand": "Trek", "category": "Bike bags", "variant": "black", "list": "CATEGORY", "position": 5 } , { "id": "35559", "name": "Bontrager Adventure Handlebar Bag", "price": "99.99", "brand": "Bontrager", "category": "Bike bags", "variant": "black", "list": "CATEGORY", "position": 6 } , { "id": "47148", "name": "Trek Adventure Triangle Bag", "price": "69.99", "brand": "Trek", "category": "Bike bags", "variant": "black", "list": "CATEGORY", "position": 7 } , { "id": "41674", "name": "Trek Blendr Saddle Bag", "price": "54.99", "brand": "Trek", "category": "Bike bags", "variant": "black", "list": "CATEGORY", "position": 8 } , { "id": "47358", "name": "Trek Adventure Top Tube Bag", "price": "35.99", "brand": "Trek", "category": "Bike bags", "variant": "black_greylight", "list": "CATEGORY", "position": 9 } , { "id": "44797", "name": "Trek CarBack Radar Rear Bike Light", "price": "169.99", "brand": "Trek", "category": "Bike lights", "variant": "black", "list": "CATEGORY", "position": 10 } , { "id": "41448", "name": "Trek Flare RT Rear Bike Light", "price": "49.99", "brand": "Trek", "category": "Bike lights", "variant": "black", "list": "CATEGORY", "position": 11 } , { "id": "47144", "name": "Trek Left Side Load Recycled Water Bottle Cage", "price": "12.99", "brand": "Trek", "category": "Bike water bottles & cages", "variant": "red", "list": "CATEGORY", "position": 12 } , { "id": "47143", "name": "Trek Right Side Load Recycled Water Bottle Cage", "price": "12.99", "brand": "Trek", "category": "Bike water bottles & cages", "variant": "red", "list": "CATEGORY", "position": 13 } , { "id": "33732", "name": "Bontrager Aeolus RSL 37V TLR Disc Road Wheel", "price": "999.99", "brand": "Bontrager", "category": "Bike wheels", "variant": "black", "list": "CATEGORY", "position": 14 } , { "id": "44493", "name": "Bontrager Aeolus Pro 49V Disc TLR Road Wheel", "price": "799.99", "brand": "Bontrager", "category": "Bike wheels", "variant": "black", "list": "CATEGORY", "position": 15 } , { "id": "44492", "name": "Bontrager Aeolus Pro 37V Disc TLR Road Wheel", "price": "799.99", "brand": "Bontrager", "category": "Bike wheels", "variant": "black", "list": "CATEGORY", "position": 16 } , { "id": "37124", "name": "Trek Ballista Mips Road Bike Helmet", "price": "229.99", "brand": "Trek", "category": "Bike helmets", "variant": "white", "list": "CATEGORY", "position": 17 } , { "id": "34589", "name": "Trek Velocis Mips Road Bike Helmet", "price": "183.99", "brand": "Trek", "category": "Bike helmets", "variant": "purplelight", "list": "CATEGORY", "position": 18 } , { "id": "40250", "name": "Trek Circuit Wavecel Helmet", "price": "149.99", "brand": "Trek", "category": "Bike helmets", "variant": "greenvisibility_black", "list": "CATEGORY", "position": 19 } , { "id": "36951", "name": "Trek Starvos WaveCel Cycling Helmet", "price": "109.99", "brand": "Trek", "category": "Bike helmets", "variant": "yellowvisibility", "list": "CATEGORY", "position": 20 } , { "id": "36025", "name": "Trek Solstice Mips Bike Helmet", "price": "54.99", "brand": "Trek", "category": "Bike helmets", "variant": "yellowvisibility", "list": "CATEGORY", "position": 21 } , { "id": "35041", "name": "Trek RSL Mountain Bike Shoe", "price": "349.99", "brand": "Trek", "category": "Mountain bike shoes", "variant": "white", "list": "CATEGORY", "position": 22 } , { "id": "45271", "name": "Trek Cambion Mountain Bike Shoe", "price": "249.99", "brand": "Trek", "category": "Mountain bike shoes", "variant": "black", "list": "CATEGORY", "position": 23 } , { "id": "45272", "name": "Trek Foray Mountain Bike Shoe", "price": "149.99", "brand": "Trek", "category": "Mountain bike shoes", "variant": "white", "list": "CATEGORY", "position": 24 } ] } }); } else { console.log("dataLayer"); }