if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "USD", "impressions": [ { "id": "36701", "name": "Domane+ SLR 6 Pro", "price": "5999.93", "brand": "Trek", "category": "Electric road bikes", "variant": "black_grey", "list": "CATEGORY", "position": 1 } , { "id": "46164", "name": "Domane+ SLR 6", "price": "7699.99", "brand": "Trek", "category": "Electric road bikes", "variant": "black_grey", "list": "CATEGORY", "position": 2 } , { "id": "48020", "name": "Speed Concept SLR 9 AXS", "price": "15149.99", "brand": "Trek", "category": "Triathlon bikes", "variant": "reddark_black", "list": "CATEGORY", "position": 3 } , { "id": "46151", "name": "Madone SLR 9 AXS Gen 8", "price": "14849.99", "brand": "Trek", "category": "Performance road bikes", "variant": "white_blue", "list": "CATEGORY", "position": 4 } , { "id": "46707", "name": "Madone SLR 9 Gen 8", "price": "14299.99", "brand": "Trek", "category": "Performance road bikes", "variant": "white_blue", "list": "CATEGORY", "position": 5 } , { "id": "48021", "name": "Domane SLR 9 AXS Gen 4", "price": "13999.99", "brand": "Trek", "category": "Performance road bikes", "variant": "orange_black", "list": "CATEGORY", "position": 6 } , { "id": "46152", "name": "Checkmate SLR 9 AXS", "price": "12999.99", "brand": "Trek", "category": "Gravel bikes", "variant": "greendark_greenlight", "list": "CATEGORY", "position": 7 } , { "id": "49165", "name": "Domane+ SLR 8 AXS", "price": "10999.99", "brand": "Trek", "category": "Electric road bikes", "variant": "white", "list": "CATEGORY", "position": 8 } , { "id": "46688", "name": "Madone SLR 7 AXS Gen 8", "price": "10499.99", "brand": "Trek", "category": "Performance road bikes", "variant": "white_blue", "list": "CATEGORY", "position": 9 } , { "id": "46687", "name": "Madone SLR 7 Gen 8", "price": "9899.99", "brand": "Trek", "category": "Performance road bikes", "variant": "white_blue", "list": "CATEGORY", "position": 10 } , { "id": "46692", "name": "Checkmate SLR 7 AXS", "price": "8999.99", "brand": "Trek", "category": "Gravel bikes", "variant": "greendark_greenlight", "list": "CATEGORY", "position": 11 } , { "id": "49169", "name": "Checkmate SLR 8 AXS", "price": "8999.99", "brand": "Trek", "category": "Gravel bikes", "variant": "black_grey", "list": "CATEGORY", "position": 12 } , { "id": "46220", "name": "Madone SL 7 Gen 8", "price": "7149.99", "brand": "Trek", "category": "Performance road bikes", "variant": "black_purpledark", "list": "CATEGORY", "position": 13 } , { "id": "46221", "name": "Madone SL 6 AXS Gen 8", "price": "6499.99", "brand": "Trek", "category": "Performance road bikes", "variant": "red", "list": "CATEGORY", "position": 14 } , { "id": "47256", "name": "FX Sport SL 6", "price": "3299.99", "brand": "Trek", "category": "Active & fitness bikes", "variant": "bronze_black", "list": "CATEGORY", "position": 15 } , { "id": "47263", "name": "FX Sport SL 5", "price": "2299.99", "brand": "Trek", "category": "Active & fitness bikes", "variant": "greendark_black", "list": "CATEGORY", "position": 16 } , { "id": "47243", "name": "FX Sport SL 4", "price": "1999.99", "brand": "Trek", "category": "Active & fitness bikes", "variant": "red_black", "list": "CATEGORY", "position": 17 } , { "id": "46775", "name": "Madone SLR Gen 8 Frameset", "price": "4999.99", "brand": "Trek", "category": "Performance road bikes", "variant": "blue", "list": "CATEGORY", "position": 18 } , { "id": "46763", "name": "Checkmate SLR Frameset", "price": "3999.99", "brand": "Trek", "category": "Gravel bikes", "variant": "black_grey", "list": "CATEGORY", "position": 19 } , { "id": "46766", "name": "Madone SL Gen 8 Frameset", "price": "2999.99", "brand": "Trek", "category": "Performance road bikes", "variant": "red", "list": "CATEGORY", "position": 20 } , { "id": "47997", "name": "Boone Disc Frameset", "price": "2799.99", "brand": "Trek", "category": "Cyclocross bikes", "variant": "greenlight_pink", "list": "CATEGORY", "position": 21 } , { "id": "46765", "name": "Checkpoint SL Gen 3 Frameset", "price": "2399.99", "brand": "Trek", "category": "Checkpoint", "variant": "bronze_grey", "list": "CATEGORY", "position": 22 } , { "id": "36711", "name": "Domane+ SLR 7", "price": "6999.93", "brand": "Trek", "category": "Electric road bikes", "variant": "white_gold", "list": "CATEGORY", "position": 23 } , { "id": "35757", "name": "Speed Concept SLR 9", "price": "14599.99", "brand": "Trek", "category": "Triathlon bikes", "variant": "reddark_black", "list": "CATEGORY", "position": 24 } , { "id": "36742", "name": "Domane+ SLR 9", "price": "14299.99", "brand": "Trek", "category": "Electric road bikes", "variant": "white_gold", "list": "CATEGORY", "position": 25 } , { "id": "37357", "name": "Domane SLR 9 Gen 4", "price": "13399.99", "brand": "Trek", "category": "Performance road bikes", "variant": "orange_black", "list": "CATEGORY", "position": 26 } , { "id": "41499", "name": "Speed Concept SLR 7 AXS", "price": "11199.99", "brand": "Trek", "category": "Triathlon bikes", "variant": "reddark_black", "list": "CATEGORY", "position": 27 } , { "id": "41482", "name": "Domane+ SLR 7 AXS", "price": "10999.99", "brand": "Trek", "category": "Electric road bikes", "variant": "white_gold", "list": "CATEGORY", "position": 28 } , { "id": "35577", "name": "Speed Concept SLR 7", "price": "10649.99", "brand": "Trek", "category": "Triathlon bikes", "variant": "reddark_black", "list": "CATEGORY", "position": 29 } , { "id": "41899", "name": "Domane SLR 7 AXS Gen 4", "price": "9899.99", "brand": "Trek", "category": "Performance road bikes", "variant": "orange_black", "list": "CATEGORY", "position": 30 } , { "id": "37059", "name": "Domane SLR 7 Gen 4", "price": "9349.99", "brand": "Trek", "category": "Performance road bikes", "variant": "orange_black", "list": "CATEGORY", "position": 31 } , { "id": "36702", "name": "Domane+ SLR 6 AXS", "price": "9349.99", "brand": "Trek", "category": "Electric road bikes", "variant": "black_grey", "list": "CATEGORY", "position": 32 } , { "id": "41348", "name": "Domane SL 5 Gen 4", "price": "3699.99", "brand": "Trek", "category": "Performance road bikes", "variant": "black_grey", "list": "CATEGORY", "position": 33 } , { "id": "41655", "name": "Boone 5", "price": "3499.93", "brand": "Trek", "category": "Cyclocross bikes", "variant": "greylight", "list": "CATEGORY", "position": 34 } , { "id": "37302", "name": "Domane SL Gen 4 Frameset", "price": "2499.99", "brand": "Trek", "category": "Performance road bikes", "variant": "blue", "list": "CATEGORY", "position": 35 } , { "id": "47132", "name": "Domane SL 7 Gen 4", "price": "7149.99", "brand": "Trek", "category": "Performance road bikes", "variant": "black", "list": "CATEGORY", "position": 36 } , { "id": "47073", "name": "Checkpoint SL 7 AXS Gen 3", "price": "6249.99", "brand": "Trek", "category": "Checkpoint", "variant": "gold_greendark", "list": "CATEGORY", "position": 37 } , { "id": "46219", "name": "Madone SL 6 Gen 8", "price": "5999.99", "brand": "Trek", "category": "Performance road bikes", "variant": "red", "list": "CATEGORY", "position": 38 } , { "id": "47131", "name": "Domane SL 6 Gen 4", "price": "5149.99", "brand": "Trek", "category": "Performance road bikes", "variant": "bluedark", "list": "CATEGORY", "position": 39 } , { "id": "35671", "name": "Speed Concept SLR Frameset", "price": "4999.99", "brand": "Trek", "category": "Triathlon bikes", "variant": "grey_black", "list": "CATEGORY", "position": 40 } , { "id": "35746", "name": "Speed Concept TT Frameset", "price": "4999.99", "brand": "Trek", "category": "Triathlon bikes", "variant": "grey_black", "list": "CATEGORY", "position": 41 } , { "id": "47072", "name": "Checkpoint SL 6 AXS Gen 3", "price": "4399.99", "brand": "Trek", "category": "Checkpoint", "variant": "white", "list": "CATEGORY", "position": 42 } , { "id": "44314", "name": "Domane RSL Gen 4 Frameset", "price": "4199.99", "brand": "Trek", "category": "Performance road bikes", "variant": "black", "list": "CATEGORY", "position": 43 } , { "id": "46218", "name": "Madone SL 5 Gen 8", "price": "3699.99", "brand": "Trek", "category": "Performance road bikes", "variant": "blue", "list": "CATEGORY", "position": 44 } , { "id": "47071", "name": "Checkpoint SL 5 AXS Gen 3", "price": "3499.99", "brand": "Trek", "category": "Checkpoint", "variant": "black_grey", "list": "CATEGORY", "position": 45 } , { "id": "35022", "name": "Émonda SLR 6 AXS", "price": "5499.93", "brand": "Trek", "category": "Performance road bikes", "variant": "grey_black", "list": "CATEGORY", "position": 46 } , { "id": "41394", "name": "Checkpoint SL 7 AXS Gen 2", "price": "4999.93", "brand": "Trek", "category": "Checkpoint", "variant": "red", "list": "CATEGORY", "position": 47 } ] } }); } else { console.log("dataLayer"); }