概述
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "12968",
"name": "Bontrager TLR 密封剂注射器",
"price": "80.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "41897",
"name": "Trek Spoke Cutter Die Set",
"price": "5940.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "grey",
"list": "More Options",
"position": 2
}
,
{
"id": "41898",
"name": "Trek Spoke Cutter Blade Assembly",
"price": "2050.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "grey",
"list": "More Options",
"position": 3
}
,
{
"id": "37980",
"name": "Trek Torque-Limiting Rivnut Tool",
"price": "770.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "grey",
"list": "More Options",
"position": 4
}
,
{
"id": "36771",
"name": "Trek Torx Plus IPR25 Security Bit",
"price": "150.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "greylight",
"list": "More Options",
"position": 5
}
,
{
"id": "35405",
"name": "Trek 6.8Nm Preset Torque Wrench",
"price": "120.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "22275",
"name": "Trek T25 Security Bit",
"price": "86.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "grey",
"list": "More Options",
"position": 7
}
,
{
"id": "36762",
"name": "Trek T15 Security Bit",
"price": "80.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "grey",
"list": "More Options",
"position": 8
}
,
{
"id": "31936",
"name": "Bosch 系统适用的 Trek 马达挂钩",
"price": "40.0",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "25015",
"name": "Bontrager Pro 外管切割器",
"price": "1300.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "More Options",
"position": 10
}
,
{
"id": "25014",
"name": "Bontrager Pro 可调扳手",
"price": "1300.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "More Options",
"position": 11
}
,
{
"id": "25013",
"name": "Bontrager Pro 线缆切割器",
"price": "800.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "More Options",
"position": 12
}
,
{
"id": "26798",
"name": "Bontrager Grease Gun",
"price": "280.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "greylight",
"list": "More Options",
"position": 13
}
,
{
"id": "14627",
"name": "Bontrager 车胎胎面深度测量表",
"price": "215.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 14
}
,
{
"id": "37111",
"name": "Bontrager 预设 6.8Nm 扭力扳手",
"price": "158.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 15
}
,
{
"id": "33508",
"name": "DT Swiss Ratchet EXP Tool",
"price": "1190.0",
"brand": "DT Swiss",
"category": "Bike tools & maintenance",
"variant": "greylight",
"list": "More Options",
"position": 16
}
,
{
"id": "33599",
"name": "DT Swiss EXP Drive Side Bearing Tool",
"price": "480.0",
"brand": "DT Swiss",
"category": "Bike tools & maintenance",
"variant": "greylight",
"list": "More Options",
"position": 17
}
,
{
"id": "36645",
"name": "Praxis T47 M30 Bottom Bracket Tool",
"price": "270.0",
"brand": "Praxis",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 18
}
,
{
"id": "00897",
"name": "Wrench Force Nut Driver Spoke Wrench 5.5mm",
"price": "260.0",
"brand": "Wrench Force",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 19
}
,
{
"id": "36647",
"name": "Bontrager ABP Convert Socket",
"price": "250.0",
"brand": "Lee Chi",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 20
}
,
{
"id": "32112",
"name": "Praxis T47 24mm Bottom Bracket Tool",
"price": "230.0",
"brand": "Praxis",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 21
}
,
{
"id": "34155",
"name": "Electra Hyena Freewheel Tool",
"price": "150.0",
"brand": "Trek-Electra",
"category": "Bike tools & maintenance",
"variant": "greylight",
"list": "More Options",
"position": 22
}
]
}
});
} else {
console.log("dataLayer");
}