if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "CAD", "impressions": [ { "id": "47530", "name": "Checkpoint ALR 3", "price": "1799.99", "brand": "Trek", "category": "Checkpoint", "variant": "red", "list": "CATEGORY", "position": 1 } , { "id": "46765", "name": "Kit cadre Checkpoint SL 3e gén.", "price": "3299.99", "brand": "Trek", "category": "Checkpoint", "variant": "bronze_grey", "list": "CATEGORY", "position": 2 } , { "id": "41640", "name": "Checkpoint ALR 5", "price": "3099.99", "brand": "Trek", "category": "Checkpoint", "variant": "tealdark", "list": "CATEGORY", "position": 3 } , { "id": "41513", "name": "Checkpoint ALR 4", "price": "2399.99", "brand": "Trek", "category": "Checkpoint", "variant": "purplelight", "list": "CATEGORY", "position": 4 } , { "id": "35668", "name": "Kit cadre Checkpoint ALR", "price": "1299.97", "brand": "Trek", "category": "Checkpoint", "variant": "reddark", "list": "CATEGORY", "position": 5 } , { "id": "42277", "name": "Checkpoint ALR 5 AXS", "price": "2699.93", "brand": "Trek", "category": "Checkpoint", "variant": "greendark", "list": "CATEGORY", "position": 6 } , { "id": "46152", "name": "Checkmate SLR 9 AXS", "price": "16999.99", "brand": "Trek", "category": "Gravel bikes", "variant": "greendark_greenlight", "list": "CATEGORY", "position": 7 } , { "id": "46692", "name": "Checkmate SLR 7 AXS", "price": "11399.99", "brand": "Trek", "category": "Gravel bikes", "variant": "greendark_greenlight", "list": "CATEGORY", "position": 8 } , { "id": "49169", "name": "Checkmate SLR 8 AXS", "price": "11399.99", "brand": "Trek", "category": "Gravel bikes", "variant": "black_grey", "list": "CATEGORY", "position": 9 } , { "id": "47073", "name": "Checkpoint SL 7 AXS 3e gén.", "price": "7999.99", "brand": "Trek", "category": "Checkpoint", "variant": "gold_greendark", "list": "CATEGORY", "position": 10 } , { "id": "46763", "name": "Kit cadre Checkmate SLR", "price": "5499.99", "brand": "Trek", "category": "Gravel bikes", "variant": "black_grey", "list": "CATEGORY", "position": 11 } , { "id": "47072", "name": "Checkpoint SL 6 AXS 3e gén.", "price": "5199.99", "brand": "Trek", "category": "Checkpoint", "variant": "white", "list": "CATEGORY", "position": 12 } , { "id": "47071", "name": "Checkpoint SL 5 AXS 3e gén.", "price": "4299.99", "brand": "Trek", "category": "Checkpoint", "variant": "black_grey", "list": "CATEGORY", "position": 13 } , { "id": "41394", "name": "Checkpoint SL 7 AXS 2e gén.", "price": "6149.93", "brand": "Trek", "category": "Checkpoint", "variant": "red", "list": "CATEGORY", "position": 14 } , { "id": "35076", "name": "Kit cadre Checkpoint SL", "price": "3049.99", "brand": "Trek", "category": "Checkpoint", "variant": "blue_grey", "list": "CATEGORY", "position": 15 } , { "id": "48021", "name": "Domane SLR 9 AXS 4e gén.", "price": "17499.99", "brand": "Trek", "category": "Performance road bikes", "variant": "orange_black", "list": "CATEGORY", "position": 16 } , { "id": "44507", "name": "Domane+ SLR 9", "price": "16999.99", "brand": "Trek", "category": "Electric road bikes", "variant": "white_gold", "list": "CATEGORY", "position": 17 } , { "id": "44505", "name": "Domane+ SLR 7", "price": "13149.99", "brand": "Trek", "category": "Electric road bikes", "variant": "white_gold", "list": "CATEGORY", "position": 18 } , { "id": "44607", "name": "Domane+ SLR 7 AXS", "price": "13149.99", "brand": "Trek", "category": "Electric road bikes", "variant": "white_gold", "list": "CATEGORY", "position": 19 } , { "id": "37357", "name": "Domane SLR 9 4e gén.", "price": "16999.99", "brand": "Trek", "category": "Performance road bikes", "variant": "orange_black", "list": "CATEGORY", "position": 20 } , { "id": "41899", "name": "Domane SLR 7 AXS Gen 4", "price": "11949.99", "brand": "Trek", "category": "Performance road bikes", "variant": "orange_black", "list": "CATEGORY", "position": 21 } , { "id": "37059", "name": "Domane SLR 7 Gen 4", "price": "11299.99", "brand": "Trek", "category": "Performance road bikes", "variant": "orange_black", "list": "CATEGORY", "position": 22 } , { "id": "47117", "name": "Domane+ SLR 6", "price": "8999.99", "brand": "Trek", "category": "Electric road bikes", "variant": "black_grey", "list": "CATEGORY", "position": 23 } ] } }); } else { console.log("dataLayer"); }