概述
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "34770",
"name": "Trek Boone Cable Management Hardware Kit",
"price": "312.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "37295",
"name": "Trek Madone 9 Series Control Center Di2 Junction Box",
"price": "280.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "More Options",
"position": 2
}
,
{
"id": "25921",
"name": "Trek Madone SLR Downtube Cable Stop/Battery Mount",
"price": "250.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "44552",
"name": "Trek Domane+ SLR Range Extender Cable Guide",
"price": "240.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"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": 5
}
,
{
"id": "26941",
"name": "Trek Madone SL Downtube Cable Stop",
"price": "210.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "33534",
"name": "Fox Suspension Fork Brake Hose Guide Kit 2020",
"price": "200.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "32296",
"name": "Trek Control Freak Downtube Full Length Cable Guide",
"price": "172.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "30734",
"name": "Trek Madone 9 Series Brake Stop with Num Holder",
"price": "170.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "32299",
"name": "Trek Control Freak 头管线缆导轨",
"price": "163.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "31830",
"name": "Trek Madone 5/6/7 Di2 Frame Hardware Kit",
"price": "157.0",
"brand": "Trek",
"category": "Electronic drivetrain",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "26460",
"name": "Trek Madone SLR Front Brake Cable Stop",
"price": "140.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 12
}
,
{
"id": "26903",
"name": "Trek 2019 Powerfly Internal Cable Guides",
"price": "140.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "30730",
"name": "Trek Madone 9 Series Steerer Stop",
"price": "132.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 14
}
,
{
"id": "42251",
"name": "Trek Domane+ Speed Sensor Spacer",
"price": "120.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 15
}
,
{
"id": "32297",
"name": "Trek Control Freak Downtube Housing Stop & Cable Guide",
"price": "109.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 16
}
,
{
"id": "26203",
"name": "Jagwire 150mm Nosed 4mm Ferrules Pack of 4",
"price": "104.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "grey",
"list": "More Options",
"position": 17
}
,
{
"id": "41273",
"name": "Trek 2023-2024 Fuel EXe Downtube Cable Tray",
"price": "100.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "More Options",
"position": 18
}
,
{
"id": "11968",
"name": "Trek Bolt-on Double Cable Housing Stop",
"price": "97.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 19
}
,
{
"id": "12918",
"name": "Trek 线缆固定夹",
"price": "97.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 20
}
,
{
"id": "30731",
"name": "Trek Madone 9 Series Brake Stop",
"price": "94.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 21
}
,
{
"id": "33150",
"name": "Trek 2020 Fuel EX 29 Bottom Bracket Cable Guide",
"price": "90.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 22
}
,
{
"id": "32295",
"name": "Trek Control Freak Downtube 2X 变速器底座驻",
"price": "86.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}