if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "GBP", "impressions": [ { "id": "37985", "name": "Bontrager Aeolus RSL TLR Road Tyre", "price": "79.99", "brand": "Bontrager", "category": "Bike tires", "variant": "black_tan", "list": "CATEGORY", "position": 1 } , { "id": "23397", "name": "Bontrager R4 Classics Hard-Case Lite Road Tyre", "price": "55.99", "brand": "Bontrager", "category": "Bike tires", "variant": "black_tan", "list": "CATEGORY", "position": 2 } , { "id": "25926", "name": "Bontrager R3 Hard-Case Lite TLR Road Tyre", "price": "47.99", "brand": "Bontrager", "category": "Bike tires", "variant": "black", "list": "CATEGORY", "position": 3 } , { "id": "36071", "name": "Bontrager AW3 Hard-Case Lite Reflective Road Tyre", "price": "39.99", "brand": "Bontrager", "category": "Bike tires", "variant": "black_reflective", "list": "CATEGORY", "position": 4 } , { "id": "32163", "name": "Bontrager AW3 Hard-Case Road Tyre", "price": "39.99", "brand": "Bontrager", "category": "Bike tires", "variant": "black", "list": "CATEGORY", "position": 5 } , { "id": "28498", "name": "Bontrager E6 Hard-Case Lite E-bike Tyre", "price": "39.99", "brand": "Bontrager", "category": "Bike tires", "variant": "black_reflective", "list": "CATEGORY", "position": 6 } , { "id": "32162", "name": "Bontrager AW3 Hard-Case Lite Road Tyre", "price": "35.99", "brand": "Bontrager", "category": "Bike tires", "variant": "black", "list": "CATEGORY", "position": 7 } , { "id": "27590", "name": "Bontrager R3 Hard-Case Lite Road Tyre", "price": "35.99", "brand": "Bontrager", "category": "Bike tires", "variant": "black", "list": "CATEGORY", "position": 8 } , { "id": "11024", "name": "Bontrager AW1 Hard-Case Road Tyre", "price": "29.99", "brand": "Bontrager", "category": "Bike tires", "variant": "black", "list": "CATEGORY", "position": 9 } , { "id": "27392", "name": "Bontrager R2 Hard-Case Lite Road Tyre", "price": "23.99", "brand": "Bontrager", "category": "Bike tires", "variant": "black", "list": "CATEGORY", "position": 10 } , { "id": "10959", "name": "Bontrager AW1 Hard-Case Lite Road Tyre", "price": "15.99", "brand": "Bontrager", "category": "Bike tires", "variant": "black", "list": "CATEGORY", "position": 11 } , { "id": "08646", "name": "Bontrager R1 Road Tyre", "price": "15.99", "brand": "Bontrager", "category": "Bike tires", "variant": "black", "list": "CATEGORY", "position": 12 } , { "id": "25927", "name": "Bontrager R1 Hard-Case Lite Road Tyre", "price": "15.99", "brand": "Bontrager", "category": "Bike tires", "variant": "black", "list": "CATEGORY", "position": 13 } , { "id": "48770", "name": "Pirelli P Zero TLR RS Road Bike Tyre", "price": "89.99", "brand": "Pirelli", "category": "Bike tires", "variant": "black", "list": "CATEGORY", "position": 14 } , { "id": "45223", "name": "Pirelli P ZERO Race TLR 4S Road Tyre", "price": "79.99", "brand": "Pirelli", "category": "Bike tires", "variant": "black", "list": "CATEGORY", "position": 15 } , { "id": "38203", "name": "Pirelli Cinturato Velo TLR Road Tyre", "price": "53.99", "brand": "Pirelli", "category": "Bike tires", "variant": "black", "list": "CATEGORY", "position": 16 } , { "id": "38202", "name": "Pirelli P ZERO Road Tyre", "price": "46.99", "brand": "Pirelli", "category": "Bike tires", "variant": "black", "list": "CATEGORY", "position": 17 } , { "id": "38201", "name": "Pirelli P ZERO Race Road Tyre", "price": "45.99", "brand": "Pirelli", "category": "Bike tires", "variant": "black_greydark", "list": "CATEGORY", "position": 18 } , { "id": "25275", "name": "Schwalbe G-One Road Tire", "price": "79.99", "brand": "Schwalbe", "category": "Bike tires", "variant": "black", "list": "CATEGORY", "position": 19 } , { "id": "13061", "name": "Kenda Kontender 26˝ Tire", "price": "29.99", "brand": "Kenda", "category": "Bike tires", "variant": "black", "list": "CATEGORY", "position": 20 } ] } }); } else { console.log("dataLayer"); }