概述
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "27231",
"name": "Bontrager BackRack MIK",
"price": "298.0",
"brand": "Bontrager",
"category": "Bike racks",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "45259",
"name": "Trek Fetch+ 2 Front Pannier Rack",
"price": "688.0",
"brand": "Trek",
"category": "Bike racks",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"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": 3
}
,
{
"id": "44918",
"name": "Trek 2023 Farley Alloy Rear Cargo Rack Strut Kit",
"price": "78.0",
"brand": "Trek",
"category": "Bike racks",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "27839",
"name": "Trek Diamant Villiger I 型托架支架",
"price": "68.0",
"brand": "Trek",
"category": "Bike racks",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "46750",
"name": "Trek Fetch+ 2 Front Rack Crown Retention Hardware",
"price": "68.0",
"brand": "Trek",
"category": "Bike racks",
"variant": "greylight",
"list": "More Options",
"position": 6
}
,
{
"id": "27838",
"name": "Trek Diamant Villiger I 型托架 250mm Straight 合金后叉",
"price": "60.0",
"brand": "Trek",
"category": "Bike racks",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "47624",
"name": "Trek Verve+ CPT Rear Rack Hardware Cover",
"price": "38.0",
"brand": "Trek",
"category": "Bike racks",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "22625",
"name": "Trek 1120 前货架减震器保护装置",
"price": "36.0",
"brand": "Trek",
"category": "Bike racks",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "44917",
"name": "Trek 2023 Farley Alloy Rear Cargo Rack Light Bracket",
"price": "28.0",
"brand": "Trek",
"category": "Bike racks",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "27837",
"name": "Trek Diamant Villiger Rack Bridge Bracket",
"price": "15.0",
"brand": "Trek",
"category": "Bike racks",
"variant": "greylight",
"list": "More Options",
"position": 11
}
,
{
"id": "46216",
"name": "Trek M5x0.8mm Button Head Cap Screw",
"price": "8.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "greylight",
"list": "More Options",
"position": 12
}
,
{
"id": "32462",
"name": "Bontrager MIK Rack Under Fender Stay",
"price": "120.0",
"brand": "Bontrager",
"category": "Bike racks",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "25969",
"name": "Bontrager Lightweight Brake Caliper Plate Kit",
"price": "64.0",
"brand": "Bontrager",
"category": "Bike racks",
"variant": "grey",
"list": "More Options",
"position": 14
}
,
{
"id": "25964",
"name": "Bontrager Backrack Strut Nut Kit",
"price": "63.0",
"brand": "Bontrager",
"category": "Bike racks",
"variant": "black",
"list": "More Options",
"position": 15
}
,
{
"id": "25966",
"name": "Bontrager BackRack Strut Kit",
"price": "56.0",
"brand": "Bontrager",
"category": "Bike racks",
"variant": "black",
"list": "More Options",
"position": 16
}
,
{
"id": "25856",
"name": "Bontrager Carry Forward Rack Parts",
"price": "42.0",
"brand": "Bontrager",
"category": "Bike racks",
"variant": "black",
"list": "More Options",
"position": 17
}
,
{
"id": "27716",
"name": "Trek-Diamant Fender to Rack Mount Set",
"price": "130.0",
"brand": "Trek-Diamant",
"category": "Bike racks",
"variant": "black",
"list": "More Options",
"position": 18
}
,
{
"id": "36892",
"name": "Eurofender Racktime Rack Rear Fender Hardware Kit",
"price": "130.0",
"brand": "Trek-Diamant",
"category": "Bike frame parts",
"variant": "grey",
"list": "More Options",
"position": 19
}
,
{
"id": "31535",
"name": "Trek Allant+/Diamant Zouma+ Cargo Rack Stay",
"price": "120.0",
"brand": "Trek-Diamant",
"category": "Bike racks",
"variant": "black",
"list": "More Options",
"position": 20
}
,
{
"id": "32852",
"name": "Bontrager-Electra MIK 自行车支架载物板",
"price": "218.0",
"brand": "Bontrager-Electra",
"category": "Bike racks",
"variant": "black",
"list": "More Options",
"position": 21
}
]
}
});
} else {
console.log("dataLayer");
}