概述
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "28220",
"name": "Trek Powerfly FS Bosch Motor Armor",
"price": "1530.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "33670",
"name": "Trek Domane+ HP Motor Cover",
"price": "780.0",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "red",
"list": "More Options",
"position": 2
}
,
{
"id": "28225",
"name": "Trek Super Commuter Bosch Motor Armor",
"price": "420.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "22293",
"name": "Trek Powerfly 27.5+ Top Motor Cover",
"price": "350.0",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "red_black",
"list": "More Options",
"position": 4
}
,
{
"id": "41822",
"name": "Trek Domane+ SLR Speed Sensor Cable",
"price": "290.0",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "28215",
"name": "Trek 2018 Powerfly Bosch Motor Armor",
"price": "287.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "32111",
"name": "Trek 2019 Powerfly LT Carbon Motor Armor",
"price": "280.0",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "41942",
"name": "Trek Domane+ SLR HPR50 Motor Cover",
"price": "270.0",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "greendark",
"list": "More Options",
"position": 8
}
,
{
"id": "37480",
"name": "Trek 2022 Rail 29 Motor Armor",
"price": "240.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "44444",
"name": "Trek Domane+ HP Cable Harness Connector Tool",
"price": "228.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "26904",
"name": "Trek 2019 Powerfly Carbon Motor Mount Bracket",
"price": "220.0",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "greylight",
"list": "More Options",
"position": 11
}
,
{
"id": "35062",
"name": "Trek 2021 Powerfly FS Motor Armor",
"price": "200.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 12
}
,
{
"id": "28219",
"name": "Trek Powerfly HT Bosch Motor Armor",
"price": "175.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "31760",
"name": "Trek Domane+ Drive Side Motor Cover",
"price": "150.0",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "black",
"list": "More Options",
"position": 14
}
,
{
"id": "31759",
"name": "Trek Domane+ Non-Drive Motor Cover",
"price": "150.0",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "black",
"list": "More Options",
"position": 15
}
,
{
"id": "33364",
"name": "Trek Domane+ LT Gearbox Cover",
"price": "150.0",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "black",
"list": "More Options",
"position": 16
}
,
{
"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": 17
}
,
{
"id": "22291",
"name": "Trek 2018 Powerfly Drive-Side Motor Cover",
"price": "144.0",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "black",
"list": "More Options",
"position": 18
}
,
{
"id": "31418",
"name": "Trek 2019 Powerfly Carbon Drive Side Motor Cover",
"price": "140.0",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "black",
"list": "More Options",
"position": 19
}
,
{
"id": "31419",
"name": "Trek 2018 Powerfly Non-Drive Side Motor Cover",
"price": "140.0",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "black",
"list": "More Options",
"position": 20
}
,
{
"id": "42251",
"name": "Trek Domane+ Speed Sensor Spacer",
"price": "120.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 21
}
,
{
"id": "45053",
"name": "Trek Bosch Gen 3 Motor Mount Bracket",
"price": "118.0",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "black",
"list": "More Options",
"position": 22
}
,
{
"id": "35970",
"name": "Trek 2021-2024 TQ & Fazua Motor Armor Hardware",
"price": "110.0",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "black",
"list": "More Options",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}