if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "GBP", "impressions": [ { "id": "36036", "name": "Trek RSL Knit Road Cycling Shoes", "price": "399.99", "brand": "Trek", "category": "Road bike shoes", "variant": "white_greylight", "list": "CATEGORY", "position": 1 } , { "id": "35040", "name": "Trek RSL Road Cycling Shoes", "price": "349.99", "brand": "Trek", "category": "Road bike shoes", "variant": "white", "list": "CATEGORY", "position": 2 } , { "id": "34133", "name": "Trek Velocis Road Cycling Shoes", "price": "229.99", "brand": "Trek", "category": "Road bike shoes", "variant": "red", "list": "CATEGORY", "position": 3 } , { "id": "45274", "name": "Trek Circuit Road Cycling Shoes", "price": "139.99", "brand": "Trek", "category": "Road bike shoes", "variant": "white", "list": "CATEGORY", "position": 4 } , { "id": "35041", "name": "Trek RSL Mountain Bike Shoe", "price": "349.99", "brand": "Trek", "category": "Mountain bike shoes", "variant": "white", "list": "CATEGORY", "position": 5 } , { "id": "45271", "name": "Trek Cambion Mountain Bike Shoe", "price": "249.99", "brand": "Trek", "category": "Mountain bike shoes", "variant": "black", "list": "CATEGORY", "position": 6 } , { "id": "48435", "name": "Trek Velocis Road Cycling Shoes", "price": "229.99", "brand": "Trek", "category": "Road bike shoes", "variant": "white", "list": "CATEGORY", "position": 7 } , { "id": "45272", "name": "Trek Foray Mountain Bike Shoe", "price": "149.99", "brand": "Trek", "category": "Mountain bike shoes", "variant": "white", "list": "CATEGORY", "position": 8 } , { "id": "37294", "name": "Trek BioDynamic High Arch Cycling Insoles", "price": "26.99", "brand": "Trek", "category": "Cycling shoe parts & insoles", "variant": "blue", "list": "CATEGORY", "position": 9 } , { "id": "37292", "name": "Trek BioDynamic Low Arch Cycling Insoles", "price": "26.99", "brand": "Trek", "category": "Cycling shoe parts & insoles", "variant": "red", "list": "CATEGORY", "position": 10 } , { "id": "37293", "name": "Trek BioDynamic Mid Arch Cycling Insoles", "price": "26.99", "brand": "Trek", "category": "Cycling shoe parts & insoles", "variant": "yellow", "list": "CATEGORY", "position": 11 } , { "id": "48009", "name": "Bontrager Shoe Replacement BOA Li2 Left Dial", "price": "24.99", "brand": "Trek", "category": "Cycling shoe parts & insoles", "variant": "gold", "list": "CATEGORY", "position": 12 } , { "id": "48008", "name": "Bontrager Shoe Replacement BOA Li2 Right Dial", "price": "24.99", "brand": "Trek", "category": "Cycling shoe parts & insoles", "variant": "gold", "list": "CATEGORY", "position": 13 } , { "id": "24883", "name": "Bontrager Rally Mountain Bike Shoes", "price": "129.99", "brand": "Bontrager", "category": "Mountain bike shoes", "variant": "greendark", "list": "CATEGORY", "position": 14 } , { "id": "34790", "name": "Bontrager Flatline Mountain Bike Shoes", "price": "119.99", "brand": "Bontrager", "category": "Mountain bike shoes", "variant": "greendark_black", "list": "CATEGORY", "position": 15 } , { "id": "34130", "name": "Bontrager Foray Mountain Bike Shoes", "price": "100.79", "brand": "Bontrager", "category": "Mountain bike shoes", "variant": "blue", "list": "CATEGORY", "position": 16 } , { "id": "34129", "name": "Bontrager Evoke Mountain Bike Shoes", "price": "95.99", "brand": "Bontrager", "category": "Mountain bike shoes", "variant": "bluedark_orangevisibility", "list": "CATEGORY", "position": 17 } , { "id": "31573", "name": "Bontrager Cadence Indoor Cycling Shoes", "price": "95.99", "brand": "Bontrager", "category": "Indoor cycling shoes", "variant": "black", "list": "CATEGORY", "position": 18 } , { "id": "31571", "name": "Bontrager SSR Multisport Bike Shoes", "price": "79.99", "brand": "Bontrager", "category": "Road bike shoes", "variant": "black", "list": "CATEGORY", "position": 19 } , { "id": "31572", "name": "Bontrager SSR Women's Multisport Bike Shoes", "price": "79.99", "brand": "Bontrager", "category": "Road bike shoes", "variant": "bluedark_teal", "list": "CATEGORY", "position": 20 } , { "id": "34789", "name": "Bontrager Quantum Mountain Bike Shoes", "price": "71.99", "brand": "Bontrager", "category": "Mountain bike shoes", "variant": "black", "list": "CATEGORY", "position": 21 } , { "id": "33678", "name": "Bontrager Solstice Road Cycling Shoes", "price": "63.99", "brand": "Bontrager", "category": "Road bike shoes", "variant": "black", "list": "CATEGORY", "position": 22 } , { "id": "31269", "name": "Bontrager Ballista Shoe Cover", "price": "34.99", "brand": "Bontrager", "category": "Cycling shoe parts & insoles", "variant": "black", "list": "CATEGORY", "position": 23 } ] } }); } else { console.log("dataLayer"); }