概述
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "31322",
"name": "Trek Eccentric Front Derailleur Shim",
"price": "330.0",
"brand": "Trek",
"category": "Bike derailleurs",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "40170",
"name": "Trek 2022 Boone Front Derailleur Band Clamp",
"price": "320.0",
"brand": "Trek",
"category": "Bike derailleurs",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "21983",
"name": "Trek 2018 Boone Front Derailleur Clamp",
"price": "215.0",
"brand": "Trek",
"category": "Bike derailleurs",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "33729",
"name": "Trek Domane+ LT Front Derailleur Clamp",
"price": "200.0",
"brand": "Trek",
"category": "Bike derailleurs",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "31810",
"name": "Trek X-Caliber 2018 Front Derailleur Washer Pack of 10",
"price": "200.0",
"brand": "Trek",
"category": "Bike derailleurs",
"variant": "greylight",
"list": "More Options",
"position": 5
}
,
{
"id": "32295",
"name": "Trek Control Freak Downtube 2X 变速器底座驻",
"price": "86.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "12290",
"name": "Trek Speed Concept Front Derailleur Frame Grommet",
"price": "41.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "32065",
"name": "Trek Chainstay 变速器线缆驻(圆形)",
"price": "33.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "34775",
"name": "Trek Speed Concept Rear Derailleur Chainstay Grommet",
"price": "32.0",
"brand": "Trek",
"category": "Bike derailleurs",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "27546",
"name": "Trek 前变速器上管车架塞",
"price": "28.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "26195",
"name": "Trek 240mm Front Derailleur Cable Sleeve",
"price": "14.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "white",
"list": "More Options",
"position": 11
}
,
{
"id": "32072",
"name": "Trek Front Derailleur 300mm Cable Sleeve",
"price": "7.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "white",
"list": "More Options",
"position": 12
}
,
{
"id": "45325",
"name": "microSHIFT ADVENT RD-M6195 9-Speed Rear Derailleur",
"price": "418.0",
"brand": "microSHIFT",
"category": "Bike derailleurs",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "31275",
"name": "Trek Allant+/Diamant Zouma Supreme+ 变速器保护套",
"price": "90.0",
"brand": "Trek-Diamant",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 14
}
]
}
});
} else {
console.log("dataLayer");
}