if (typeof dataLayer !== "undefined") { dataLayer.push({ "ecommerce": { "currency": "CNY", "impressions": [ { "id": "48043", "name": "Supercaliber SLR 9.9 Flight Attendant Gen 2", "price": "122800.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": "104800.0", "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": "100800.0", "brand": "Trek", "category": "Trail mountain bikes", "variant": "purpledark", "list": "CATEGORY", "position": 3 } , { "id": "49397", "name": "Supercaliber SLR 9.9 XTR Gen 2", "price": "92800.0", "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": "88800.0", "brand": "Trek", "category": "Trail mountain bikes", "variant": "purpledark", "list": "CATEGORY", "position": 5 } , { "id": "49364", "name": "第四代Top Fuel 9.9 XTR", "price": "85800.0", "brand": "Trek", "category": "Trail mountain bikes", "variant": "gold", "list": "CATEGORY", "position": 6 } , { "id": "49532", "name": "Supercaliber SLR 9.8 XT Gen 2", "price": "68800.0", "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": "59800.0", "brand": "Trek", "category": "Trail mountain bikes", "variant": "purpledark", "list": "CATEGORY", "position": 8 } , { "id": "46221", "name": "Madone SL 6 AXS Gen 8", "price": "42800.0", "brand": "Trek", "category": "Performance road bikes", "variant": "red", "list": "CATEGORY", "position": 9 } , { "id": "47245", "name": "Procaliber 9.7 AXS Gen 3", "price": "35800.0", "brand": "Trek", "category": "Cross Country mountain bikes", "variant": "reddark", "list": "CATEGORY", "position": 10 } , { "id": "47224", "name": "Procaliber 9.6 Gen 3", "price": "21800.0", "brand": "Trek", "category": "Cross Country mountain bikes", "variant": "greenlight_tealdark", "list": "CATEGORY", "position": 11 } , { "id": "47223", "name": "Procaliber 9.5 Gen 3", "price": "16800.0", "brand": "Trek", "category": "Cross Country mountain bikes", "variant": "red", "list": "CATEGORY", "position": 12 } , { "id": "40815", "name": "FX 2 Gen 4", "price": "4580.0", "brand": "Trek", "category": "Active & fitness bikes", "variant": "red", "list": "CATEGORY", "position": 13 } , { "id": "40813", "name": "FX 1 Gen 4", "price": "3580.0", "brand": "Trek", "category": "Active & fitness bikes", "variant": "blue", "list": "CATEGORY", "position": 14 } , { "id": "40927", "name": "Wahoo 20 Path", "price": "3480.0", "brand": "Trek", "category": "Kids' hybrid bikes", "variant": "pink", "list": "CATEGORY", "position": 15 } , { "id": "36036", "name": "Trek RSL 针织公路骑行鞋", "price": "3380.0", "brand": "Trek", "category": "Road bike shoes", "variant": "white_greylight", "list": "CATEGORY", "position": 16 } , { "id": "35041", "name": "Trek RSL 山地车骑行鞋", "price": "3180.0", "brand": "Trek", "category": "Mountain bike shoes", "variant": "black", "list": "CATEGORY", "position": 17 } , { "id": "35040", "name": "Trek RSL 公路骑行鞋", "price": "2880.0", "brand": "Trek", "category": "Road bike shoes", "variant": "white", "list": "CATEGORY", "position": 18 } , { "id": "42257", "name": "Trek RSL 车座", "price": "2880.0", "brand": "Trek", "category": "Bike saddles", "variant": "black", "list": "CATEGORY", "position": 19 } , { "id": "45272", "name": "Trek Foray 山地自行车骑行鞋", "price": "1480.0", "brand": "Trek", "category": "Mountain bike shoes", "variant": "black", "list": "CATEGORY", "position": 20 } , { "id": "45274", "name": "Trek Circuit 公路骑行鞋", "price": "1280.0", "brand": "Trek", "category": "Road bike shoes", "variant": "white", "list": "CATEGORY", "position": 21 } , { "id": "45275", "name": "Trek Circuit Wide 公路骑行鞋", "price": "1280.0", "brand": "Trek", "category": "Road bike shoes", "variant": "black", "list": "CATEGORY", "position": 22 } , { "id": "45105", "name": "Trek Rally WaveCel 山地车头盔", "price": "1180.0", "brand": "Trek", "category": "Bike helmets", "variant": "black", "list": "CATEGORY", "position": 23 } , { "id": "41485", "name": "Bontrager Line 34.9 伸缩座杆", "price": "1080.0", "brand": "Bontrager", "category": "Bike seatposts & accessories", "variant": "black", "list": "CATEGORY", "position": 24 } ] } }); } else { console.log("dataLayer"); }