if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "AUD", "impressions": [ { "id": "48043", "name": "Supercaliber SLR 9.9 Flight Attendant Gen 2", "price": "21999.0", "brand": "Trek", "category": "Cross Country mountain bikes", "variant": "bluedark_grey", "list": "CATEGORY", "position": 1 } , { "id": "47319", "name": "Supercaliber SLR 9.9 XX AXS Gen 2", "price": "19499.99", "brand": "Trek", "category": "Cross Country mountain bikes", "variant": "bluedark_grey", "list": "CATEGORY", "position": 2 } , { "id": "46146", "name": "Top Fuel 9.9 XX AXS Gen 4", "price": "18499.99", "brand": "Trek", "category": "Trail mountain bikes", "variant": "purpledark", "list": "CATEGORY", "position": 3 } , { "id": "49397", "name": "Supercaliber SLR 9.9 XTR Gen 2", "price": "17999.99", "brand": "Trek", "category": "Cross Country mountain bikes", "variant": "bluedark_grey", "list": "CATEGORY", "position": 4 } , { "id": "46145", "name": "Top Fuel 9.9 X0 AXS Gen 4", "price": "15499.99", "brand": "Trek", "category": "Trail mountain bikes", "variant": "purpledark", "list": "CATEGORY", "position": 5 } , { "id": "49364", "name": "Top Fuel 9.9 XTR Gen 4", "price": "14999.99", "brand": "Trek", "category": "Trail mountain bikes", "variant": "gold", "list": "CATEGORY", "position": 6 } , { "id": "49532", "name": "Supercaliber SLR 9.8 XT Gen 2", "price": "11999.99", "brand": "Trek", "category": "Cross Country mountain bikes", "variant": "bluedark_grey", "list": "CATEGORY", "position": 7 } , { "id": "46161", "name": "Top Fuel 9.8 XT Gen 4", "price": "10599.99", "brand": "Trek", "category": "Trail mountain bikes", "variant": "purpledark", "list": "CATEGORY", "position": 8 } , { "id": "47224", "name": "Procaliber 9.6 Gen 3", "price": "4199.99", "brand": "Trek", "category": "Cross Country mountain bikes", "variant": "greenlight_tealdark", "list": "CATEGORY", "position": 9 } , { "id": "36036", "name": "Trek RSL Knit Road Cycling Shoes", "price": "749.99", "brand": "Trek", "category": "Road bike shoes", "variant": "white_greylight", "list": "CATEGORY", "position": 10 } , { "id": "35041", "name": "Trek RSL Mountain Bike Shoe", "price": "699.99", "brand": "Trek", "category": "Mountain bike shoes", "variant": "black", "list": "CATEGORY", "position": 11 } , { "id": "35040", "name": "Trek RSL Road Cycling Shoes", "price": "599.99", "brand": "Trek", "category": "Road bike shoes", "variant": "white", "list": "CATEGORY", "position": 12 } , { "id": "45271", "name": "Trek Cambion Mountain Bike Shoe", "price": "499.99", "brand": "Trek", "category": "Mountain bike shoes", "variant": "black", "list": "CATEGORY", "position": 13 } , { "id": "42257", "name": "Trek RSL Bike Saddle", "price": "499.99", "brand": "Trek", "category": "Bike saddles", "variant": "black", "list": "CATEGORY", "position": 14 } , { "id": "48435", "name": "Trek Velocis Road Cycling Shoes", "price": "449.99", "brand": "Trek", "category": "Road bike shoes", "variant": "white", "list": "CATEGORY", "position": 15 } , { "id": "45272", "name": "Trek Foray Mountain Bike Shoe", "price": "299.99", "brand": "Trek", "category": "Mountain bike shoes", "variant": "white", "list": "CATEGORY", "position": 16 } , { "id": "44797", "name": "Trek CarBack Radar Rear Bike Light", "price": "299.99", "brand": "Trek", "category": "Bike lights", "variant": "black", "list": "CATEGORY", "position": 17 } , { "id": "45273", "name": "Trek Foray Wide Mountain Bike Shoes", "price": "299.99", "brand": "Trek", "category": "Mountain bike shoes", "variant": "black", "list": "CATEGORY", "position": 18 } , { "id": "41485", "name": "Bontrager Line 34.9 Dropper Seat Post", "price": "249.99", "brand": "Bontrager", "category": "Bike seatposts & accessories", "variant": "black", "list": "CATEGORY", "position": 19 } , { "id": "45274", "name": "Trek Circuit Road Cycling Shoes", "price": "249.99", "brand": "Trek", "category": "Road bike shoes", "variant": "white", "list": "CATEGORY", "position": 20 } , { "id": "45275", "name": "Trek Circuit Wide Road Cycling Shoes", "price": "249.99", "brand": "Trek", "category": "Road bike shoes", "variant": "black", "list": "CATEGORY", "position": 21 } , { "id": "47147", "name": "Trek Adventure Frame Bag", "price": "199.99", "brand": "Trek", "category": "Bike bags", "variant": "black", "list": "CATEGORY", "position": 22 } , { "id": "37985", "name": "Bontrager Aeolus RSL TLR Road Tyre", "price": "139.99", "brand": "Bontrager", "category": "Bike tires", "variant": "black_tan", "list": "CATEGORY", "position": 23 } , { "id": "41411", "name": "Trek Pro BITS Multi-Tool", "price": "129.99", "brand": "Trek", "category": "Bike tools & maintenance", "variant": "black", "list": "CATEGORY", "position": 24 } ] } }); } else { console.log("dataLayer"); }