if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "GBP", "impressions": [ { "id": "41406", "name": "Trek Kovee Elite Clipless Pedal Set", "price": "89.99", "brand": "Trek", "category": "Bike pedals", "variant": "black", "list": "CATEGORY", "position": 1 } , { "id": "41407", "name": "Trek Line Elite Clipless Pedal Set", "price": "109.99", "brand": "Trek", "category": "Bike pedals", "variant": "black", "list": "CATEGORY", "position": 2 } , { "id": "41408", "name": "Trek Kovee Pro Clipless Pedal Set", "price": "109.99", "brand": "Trek", "category": "Bike pedals", "variant": "black", "list": "CATEGORY", "position": 3 } , { "id": "41405", "name": "Trek Line Comp Clipless Pedal Set", "price": "79.99", "brand": "Trek", "category": "Bike pedals", "variant": "black", "list": "CATEGORY", "position": 4 } , { "id": "41404", "name": "Trek Kovee Comp Clipless Pedal Set", "price": "59.99", "brand": "Trek", "category": "Bike pedals", "variant": "black", "list": "CATEGORY", "position": 5 } , { "id": "30862", "name": "Bontrager Elite Road Pedal Set", "price": "99.99", "brand": "Bontrager", "category": "Bike pedals", "variant": "black", "list": "CATEGORY", "position": 6 } , { "id": "22371", "name": "Bontrager Comp Road Pedal Set", "price": "69.99", "brand": "Bontrager", "category": "Bike pedals", "variant": "black", "list": "CATEGORY", "position": 7 } , { "id": "22370", "name": "Bontrager Comp MTB Pedal Set", "price": "31.99", "brand": "Bontrager", "category": "Bike pedals", "variant": "black", "list": "CATEGORY", "position": 8 } , { "id": "27134", "name": "Bontrager MTB Clipless Pedal Cleat Set", "price": "17.49", "brand": "Bontrager", "category": "Bike pedals", "variant": "black", "list": "CATEGORY", "position": 9 } , { "id": "27132", "name": "Bontrager Road Clipless 6 Degree Pedal Cleat Set", "price": "12.99", "brand": "Bontrager", "category": "Bike pedals", "variant": "red", "list": "CATEGORY", "position": 10 } , { "id": "32999", "name": "Bontrager Road Clipless 9 Degree Pedal Cleat Set", "price": "12.99", "brand": "Bontrager", "category": "Bike pedals", "variant": "grey", "list": "CATEGORY", "position": 11 } , { "id": "44422", "name": "Wahoo POWRLINK ZERO Dual-Sided Power Pedals", "price": "849.99", "brand": "Wahoo", "category": "Bike pedals", "variant": "black_greylight", "list": "CATEGORY", "position": 12 } , { "id": "44423", "name": "Wahoo POWRLINK ZERO Single-Sided Power Pedals", "price": "549.99", "brand": "Wahoo", "category": "Bike pedals", "variant": "black_greylight", "list": "CATEGORY", "position": 13 } , { "id": "44428", "name": "Wahoo SPEEDPLAY NANO Pedals", "price": "379.99", "brand": "Wahoo", "category": "Bike pedals", "variant": "black_greylight", "list": "CATEGORY", "position": 14 } , { "id": "44427", "name": "Wahoo SPEEDPLAY AERO Pedals", "price": "239.99", "brand": "Wahoo", "category": "Bike pedals", "variant": "black_greylight", "list": "CATEGORY", "position": 15 } , { "id": "44425", "name": "Wahoo SPEEDPLAY ZERO Pedals", "price": "199.99", "brand": "Wahoo", "category": "Bike pedals", "variant": "greylight_black", "list": "CATEGORY", "position": 16 } , { "id": "44429", "name": "Wahoo SPEEDPLAY Standard Tension Cleat", "price": "49.99", "brand": "Wahoo", "category": "Bike pedals", "variant": "black", "list": "CATEGORY", "position": 17 } , { "id": "44430", "name": "Wahoo SPEEDPLAY Easy Tension Cleats", "price": "49.99", "brand": "Wahoo", "category": "Bike pedals", "variant": "grey", "list": "CATEGORY", "position": 18 } , { "id": "44431", "name": "Wahoo SPEEDPLAY Cleat Cover", "price": "24.99", "brand": "Wahoo", "category": "Bike pedals", "variant": "black", "list": "CATEGORY", "position": 19 } , { "id": "45251", "name": "Trek SPD Pedal Rebuild Kit", "price": "19.99", "brand": "Trek", "category": "Bike pedals", "variant": "grey", "list": "CATEGORY", "position": 20 } ] } }); } else { console.log("dataLayer"); }