if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "CAD", "impressions": [ { "id": "36036", "name": "Trek RSL Knit Road Cycling Shoe", "price": "664.99", "brand": "Trek", "category": "Road bike shoes", "variant": "white_greylight", "list": "CATEGORY", "position": 1 } , { "id": "35040", "name": "Trek RSL Road Cycling Shoe", "price": "599.99", "brand": "Trek", "category": "Road bike shoes", "variant": "white", "list": "CATEGORY", "position": 2 } , { "id": "34133", "name": "Trek Velocis Road Cycling Shoe", "price": "334.99", "brand": "Trek", "category": "Road bike shoes", "variant": "red", "list": "CATEGORY", "position": 3 } , { "id": "45274", "name": "Trek Circuit Road Cycling Shoe", "price": "189.99", "brand": "Trek", "category": "Road bike shoes", "variant": "white", "list": "CATEGORY", "position": 4 } , { "id": "35041", "name": "Trek RSL Mountain Bike Shoe", "price": "599.99", "brand": "Trek", "category": "Mountain bike shoes", "variant": "white", "list": "CATEGORY", "position": 5 } , { "id": "45271", "name": "Trek Cambion Mountain Bike Shoe", "price": "349.99", "brand": "Trek", "category": "Mountain bike shoes", "variant": "black", "list": "CATEGORY", "position": 6 } , { "id": "48435", "name": "Trek Velocis Road Cycling Shoe", "price": "339.99", "brand": "Trek", "category": "Road bike shoes", "variant": "white", "list": "CATEGORY", "position": 7 } , { "id": "45272", "name": "Trek Foray Mountain Bike Shoe", "price": "204.99", "brand": "Trek", "category": "Mountain bike shoes", "variant": "white", "list": "CATEGORY", "position": 8 } , { "id": "45273", "name": "Trek Foray Wide Mountain Bike Shoe", "price": "204.99", "brand": "Trek", "category": "Mountain bike shoes", "variant": "black", "list": "CATEGORY", "position": 9 } , { "id": "45275", "name": "Trek Circuit Wide Road Cycling Shoe", "price": "189.99", "brand": "Trek", "category": "Road bike shoes", "variant": "black", "list": "CATEGORY", "position": 10 } , { "id": "37292", "name": "Trek BioDynamic Low Arch Cycling Insoles", "price": "59.99", "brand": "Trek", "category": "Cycling shoe parts & insoles", "variant": "red", "list": "CATEGORY", "position": 11 } , { "id": "37294", "name": "Trek BioDynamic High Arch Cycling Insoles", "price": "59.99", "brand": "Trek", "category": "Cycling shoe parts & insoles", "variant": "blue", "list": "CATEGORY", "position": 12 } , { "id": "37293", "name": "Trek BioDynamic Mid Arch Cycling Insoles", "price": "59.99", "brand": "Trek", "category": "Cycling shoe parts & insoles", "variant": "yellow", "list": "CATEGORY", "position": 13 } , { "id": "48009", "name": "Bontrager Shoe Replacement BOA Li2 Left Dial", "price": "39.99", "brand": "Trek", "category": "Cycling shoe parts & insoles", "variant": "gold", "list": "CATEGORY", "position": 14 } , { "id": "48008", "name": "Bontrager Shoe Replacement BOA Li2 Right Dial", "price": "39.99", "brand": "Trek", "category": "Cycling shoe parts & insoles", "variant": "gold", "list": "CATEGORY", "position": 15 } , { "id": "30465", "name": "Bontrager XXX LTD Mountain Bike Shoe", "price": "374.93", "brand": "Bontrager", "category": "Mountain bike shoes", "variant": "red", "list": "CATEGORY", "position": 16 } , { "id": "25343", "name": "Bontrager XXX Mountain Shoe", "price": "359.93", "brand": "Bontrager", "category": "Mountain bike shoes", "variant": "black", "list": "CATEGORY", "position": 17 } , { "id": "25000", "name": "Bontrager XXX Road Shoe", "price": "359.93", "brand": "Bontrager", "category": "Road bike shoes", "variant": "white", "list": "CATEGORY", "position": 18 } , { "id": "22483", "name": "Bontrager Velocis Road Shoe", "price": "229.99", "brand": "Bontrager", "category": "Road bike shoes", "variant": "blue", "list": "CATEGORY", "position": 19 } , { "id": "21727", "name": "Bontrager Cortado Women's Road Shoe", "price": "209.99", "brand": "Bontrager", "category": "Road bike shoes", "variant": "black", "list": "CATEGORY", "position": 20 } , { "id": "21726", "name": "Bontrager Espresso Road Shoe", "price": "209.99", "brand": "Bontrager", "category": "Road bike shoes", "variant": "black", "list": "CATEGORY", "position": 21 } , { "id": "25341", "name": "Bontrager Foray Mountain Shoe", "price": "199.99", "brand": "Bontrager", "category": "Mountain bike shoes", "variant": "greendark", "list": "CATEGORY", "position": 22 } , { "id": "21720", "name": "Bontrager Sonic Women's Road Shoe", "price": "184.99", "brand": "Bontrager", "category": "Road bike shoes", "variant": "grey_greenvisibility", "list": "CATEGORY", "position": 23 } ] } }); } else { console.log("dataLayer"); }