概述
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": "31288",
"name": "Trek 2020 Allant+ 9.9/Diamant Zouma Skidplate",
"price": "590.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"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": "41484",
"name": "Trek 2023-2024 Fuel EXe e*Thirteen Chainguide",
"price": "310.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "28215",
"name": "Trek 2018 Powerfly Bosch Motor Armor",
"price": "287.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "44932",
"name": "e*Thirteen e*Spec Chainguide for 55mm Chainline for Bosch",
"price": "268.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "35062",
"name": "Trek 2021 Powerfly FS Motor Armor",
"price": "200.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "28219",
"name": "Trek Powerfly HT Bosch Motor Armor",
"price": "175.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "32897",
"name": "Trek 2020 Powerfly HT Chainstay Armor",
"price": "150.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "32463",
"name": "Trek 2020 Rail Chainstay Armor",
"price": "150.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "32464",
"name": "Trek 2020 Rail Carbon Downtube Armor",
"price": "150.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "41271",
"name": "Trek 2023-2024 Fuel EXe Upper Downtube Armor",
"price": "130.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 12
}
,
{
"id": "24315",
"name": "Trek E-bike Rear Derailleur Protector",
"price": "110.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "28453",
"name": "Trek 2018 Powerfly FS/LT Lower Chainstay Armor",
"price": "108.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 14
}
,
{
"id": "28451",
"name": "Trek 2018 Powerfly FS/LT Downtube Armor",
"price": "108.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 15
}
,
{
"id": "28452",
"name": "Trek 2017 Powerfly FS/LT Upper Chainstay Armor",
"price": "102.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 16
}
,
{
"id": "41266",
"name": "Trek 2023 Fuel EXe Carbon Chainstay Armor",
"price": "100.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 17
}
,
{
"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": 18
}
,
{
"id": "44967",
"name": "Trek Marlin+ Chainstay Protector",
"price": "88.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 19
}
,
{
"id": "41267",
"name": "Trek 2023 Fuel EXe Carbon Motor Armor",
"price": "80.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 20
}
,
{
"id": "45099",
"name": "Trek 2024 Fuel EXe Alloy Motor Armor",
"price": "80.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 21
}
,
{
"id": "41269",
"name": "Trek 2023-2024 Fuel EXe Lower Downtube Armor",
"price": "80.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 22
}
,
{
"id": "45097",
"name": "Trek 2024 Fuel EXe Alloy Chainstay Armor",
"price": "80.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}