概述
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "40917",
"name": "Tektro Dorado Cargo HD-T737 PM Front Brakeset",
"price": "1870.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "40918",
"name": "Tektro Dorado Cargo HD-E737R PM Rear Brakeset",
"price": "1710.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "44131",
"name": "C-Star Rush BH-RS925T Hydraulic Brakeset",
"price": "1620.0",
"brand": "C-Star",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "41461",
"name": "Tektro HD-R280 Hydraulic Disc Brake Lever/Caliper",
"price": "800.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "33276",
"name": "Tektro HD-R310 Hydraulic Disc Brake Lever/Caliper",
"price": "750.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "41594",
"name": "Promax F1 DSK-927 Hydraulic Disc Brake Lever/Caliper",
"price": "610.0",
"brand": "Promax",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "41593",
"name": "Promax Solve DSK-925 Hydraulic Disc Brake Lever/Caliper",
"price": "540.0",
"brand": "Promax",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "32113",
"name": "Tektro HD-M275 Hydraulic Brakeset",
"price": "450.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "33277",
"name": "Tektro MD-C550 Mechanical Brake Caliper",
"price": "400.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "41472",
"name": "Promax DSK-330 Mechanical Disc Brake Caliper",
"price": "330.0",
"brand": "Promax",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "09969",
"name": "Tektro Novela Mechanical Brake Caliper",
"price": "312.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "41320",
"name": "C-Star CX-7 Mechanical Brake Caliper",
"price": "120.0",
"brand": "C-Star",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}