概述
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "25785",
"name": "Bontrager Black Prince Race Pro 刹车垫",
"price": "428.0",
"brand": "Bontrager",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "13382",
"name": "Bontrager Black Prince Flash Evo 刹车片系列",
"price": "428.0",
"brand": "Bontrager",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "02381",
"name": "Bontrager Carbon Stop 软木刹车块",
"price": "360.0",
"brand": "Bontrager",
"category": "Bike brakes, pads, & levers",
"variant": "brown",
"list": "More Options",
"position": 3
}
,
{
"id": "40920",
"name": "Tektro Q13RS with Return Spring Brake Pads",
"price": "170.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "grey",
"list": "More Options",
"position": 4
}
,
{
"id": "01533",
"name": "Bontrager Road 刹车片套筒 - 光滑型",
"price": "170.0",
"brand": "Bontrager",
"category": "Bike brakes, pads, & levers",
"variant": "black_grey",
"list": "More Options",
"position": 5
}
,
{
"id": "41590",
"name": "Promax PD099S Disc Brake Pads",
"price": "140.0",
"brand": "Promax",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "12253",
"name": "Tektro Disc Brake Pad",
"price": "134.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "greendark",
"list": "More Options",
"position": 7
}
,
{
"id": "01532",
"name": "Bontrager 线刹刹车片套筒 - 性能型",
"price": "100.0",
"brand": "Bontrager",
"category": "Bike brakes, pads, & levers",
"variant": "black_greylight",
"list": "More Options",
"position": 8
}
,
{
"id": "33274",
"name": "Tektro F10BS Disc Brake Pads",
"price": "100.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "33275",
"name": "Tektro L10.11 Disc Brake Pads",
"price": "80.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "red",
"list": "More Options",
"position": 10
}
,
{
"id": "11552",
"name": "Zoom HL-280 Disc Brake Pad",
"price": "79.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "greylight",
"list": "More Options",
"position": 11
}
,
{
"id": "25696",
"name": "Bontrager 线刹刹车片镶件 - 性能型",
"price": "60.0",
"brand": "Bontrager",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 12
}
,
{
"id": "13609",
"name": "Lee Chi Road Brake Pad",
"price": "54.0",
"brand": "Lee Chi",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "25700",
"name": "Bontrager Road 刹车片镶件 - 光滑型",
"price": "50.0",
"brand": "Bontrager",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 14
}
,
{
"id": "25698",
"name": "Bontrager 线刹刹车片 - 经济型",
"price": "40.0",
"brand": "Bontrager",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}