if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "GBP", "impressions": [ { "id": "23365", "name": "Bontrager Elite Shift Cable & Housing Set", "price": "27.49", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "black", "list": "CATEGORY", "position": 1 } , { "id": "24736", "name": "Bontrager Elite Brake Cable & Housing Set", "price": "27.49", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "black", "list": "CATEGORY", "position": 2 } , { "id": "23366", "name": "Bontrager Comp Shift Cable & Housing Set", "price": "22.49", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "white", "list": "CATEGORY", "position": 3 } , { "id": "24737", "name": "Bontrager Comp Brake Cable & Housing Set", "price": "22.49", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "white", "list": "CATEGORY", "position": 4 } , { "id": "23370", "name": "Bontrager Elite Shift Cable", "price": "17.49", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "grey", "list": "CATEGORY", "position": 5 } , { "id": "24742", "name": "Bontrager Elite MTB Brake Cable", "price": "17.49", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "grey", "list": "CATEGORY", "position": 6 } , { "id": "24743", "name": "Bontrager Elite Road Brake Cable", "price": "17.49", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "grey", "list": "CATEGORY", "position": 7 } , { "id": "23277", "name": "Bontrager Pro Shift Cable & Housing Set", "price": "34.99", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "black", "list": "CATEGORY", "position": 8 } , { "id": "24735", "name": "Bontrager Pro Brake Cable & Housing Set", "price": "34.99", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "black", "list": "CATEGORY", "position": 9 } , { "id": "37883", "name": "Trek 2023 Fetch+ 4 Cargo Box Steering Cable Set", "price": "39.99", "brand": "Trek", "category": "Bike tools & maintenance", "variant": "grey", "list": "CATEGORY", "position": 10 } , { "id": "42048", "name": "Trek Domane+ SLR Seat Tube Cable and Canbus Housing", "price": "9.99", "brand": "Trek", "category": "Bike tools & maintenance", "variant": "black", "list": "CATEGORY", "position": 11 } , { "id": "24734", "name": "Bontrager XXX Brake Cable & Housing Set", "price": "64.99", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "black", "list": "CATEGORY", "position": 12 } , { "id": "23364", "name": "Bontrager XXX Shift Cable & Housing Set", "price": "64.99", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "black", "list": "CATEGORY", "position": 13 } , { "id": "24741", "name": "Bontrager Pro Road Brake Cable", "price": "24.99", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "grey", "list": "CATEGORY", "position": 14 } , { "id": "23369", "name": "Bontrager Pro Shift Cable", "price": "24.99", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "grey", "list": "CATEGORY", "position": 15 } , { "id": "23371", "name": "Bontrager Comp Shift Cable", "price": "6.99", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "grey", "list": "CATEGORY", "position": 16 } , { "id": "24745", "name": "Bontrager Comp MTB Brake Cable", "price": "4.99", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "grey", "list": "CATEGORY", "position": 17 } , { "id": "24744", "name": "Bontrager Comp Road Brake Cable", "price": "4.99", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "grey", "list": "CATEGORY", "position": 18 } , { "id": "24733", "name": "Bontrager Brake Cable & Housing Set", "price": "3.99", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "black", "list": "CATEGORY", "position": 19 } , { "id": "23363", "name": "Bontrager Shift Cable & Housing Set", "price": "3.99", "brand": "Bontrager", "category": "Bike tools & maintenance", "variant": "black", "list": "CATEGORY", "position": 20 } ] } }); } else { console.log("dataLayer"); }