概述
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "47895",
"name": "Trek Checkmate SLR IsoSpeed Tongue",
"price": "1380.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "grey",
"list": "More Options",
"position": 1
}
,
{
"id": "45614",
"name": "Trek Wahoo Path Fender Set",
"price": "668.0",
"brand": "Trek",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "35493",
"name": "Trek 2021 E-Caliber 29 Chainstay Bridges",
"price": "420.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "greydark",
"list": "More Options",
"position": 3
}
,
{
"id": "41190",
"name": "Trek Bosch BES3 Integrated Speed Sensor",
"price": "370.0",
"brand": "Trek",
"category": "E-bike accessories",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "37897",
"name": "Trek Bolt M3x10x0.5 Cylinder Head Thread Locker",
"price": "350.0",
"brand": "Trek",
"category": "E-bike accessories",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "47371",
"name": "Trek CPT Stem Cover for Bosch Kiox Display",
"price": "280.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "46158",
"name": "Trek Checkpoint SLR IsoSpeed Cover",
"price": "248.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "gold",
"list": "More Options",
"position": 7
}
,
{
"id": "48287",
"name": "Trek Gravel IsoSpeed Hardware",
"price": "218.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "45317",
"name": "Trek Marlin+ Rack and Fender Hardware set",
"price": "188.0",
"brand": "Trek",
"category": "Bike fenders & accessories",
"variant": "greylight_black",
"list": "More Options",
"position": 9
}
,
{
"id": "45528",
"name": "Trek-Diamant 2022-2023 Bosch Smart System Charge Port Cover",
"price": "150.0",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "black_greydark",
"list": "More Options",
"position": 10
}
,
{
"id": "41939",
"name": "Trek Domane MKIV Downtube Storage Cover",
"price": "150.0",
"brand": "Trek",
"category": "E-bike accessories",
"variant": "greendark",
"list": "More Options",
"position": 11
}
,
{
"id": "47995",
"name": "Trek Checkmate SLR IsoSpeed Lid Assembly",
"price": "118.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 12
}
,
{
"id": "41938",
"name": "Trek Domane MKIV IsoSpeed Top Tube Cover",
"price": "108.0",
"brand": "Trek",
"category": "E-bike accessories",
"variant": "greendark",
"list": "More Options",
"position": 13
}
,
{
"id": "45262",
"name": "Trek Wahoo Trail Front Fender",
"price": "98.0",
"brand": "Trek",
"category": "Bike fenders & accessories",
"variant": "greydark_greylight",
"list": "More Options",
"position": 14
}
,
{
"id": "41263",
"name": "Trek 2021-2023 Powerfly FS & 2020-2021 Aluminum Rail Motor Armor",
"price": "88.0",
"brand": "Trek",
"category": "E-bike accessories",
"variant": "black",
"list": "More Options",
"position": 15
}
,
{
"id": "48484",
"name": "Trek 2025 Slash+ Carbon Downtube Cable Tray",
"price": "80.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 16
}
,
{
"id": "48476",
"name": "Trek 2025 Slash+ Carbon Motor Armor",
"price": "80.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 17
}
,
{
"id": "33727",
"name": "Trek Domane+ HP Rear Fender Mount",
"price": "68.0",
"brand": "Trek",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 18
}
,
{
"id": "47996",
"name": "Trek Checkmate SLR IsoSpeed Cover",
"price": "68.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 19
}
,
{
"id": "48099",
"name": "Trek Madone Gen 8 Internal Di2 Battery Holder",
"price": "58.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "More Options",
"position": 20
}
,
{
"id": "48479",
"name": "Trek 2025 Slash+ Carbon Upper Downtube Armor",
"price": "58.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 21
}
,
{
"id": "37400",
"name": "Trek 2022 Rail Gen 3 Bosch Kiox 300 Display Mount",
"price": "40.0",
"brand": "Trek",
"category": "E-bike accessories",
"variant": "black",
"list": "More Options",
"position": 22
}
,
{
"id": "37906",
"name": "Trek Bolt M5x6 Hex 2.5 Thread Locker",
"price": "30.0",
"brand": "Trek",
"category": "E-bike accessories",
"variant": "black",
"list": "More Options",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}