概述
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "35885",
"name": "Bontrager 左侧推入式环保水壶架",
"price": "108.0",
"brand": "Bontrager",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "More Options",
"position": 1
}
,
{
"id": "25488",
"name": "Bontrager XXX 水壶架",
"price": "498.0",
"brand": "Bontrager",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "25487",
"name": "Bontrager Pro 水壶架",
"price": "398.0",
"brand": "Bontrager",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "More Options",
"position": 3
}
,
{
"id": "46175",
"name": "Trek RSL Aero 水壶和水壶架",
"price": "698.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_grey",
"list": "More Options",
"position": 4
}
,
{
"id": "47140",
"name": "Trek Elite 环保水壶架",
"price": "98.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "gold",
"list": "More Options",
"position": 5
}
,
{
"id": "49104",
"name": "Trek Pro 水壶架",
"price": "398.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black_greydark",
"list": "More Options",
"position": 6
}
,
{
"id": "47144",
"name": "Trek 左侧推入式环保水壶架",
"price": "108.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "More Options",
"position": 7
}
,
{
"id": "47143",
"name": "Trek 右侧推入式环保水壶架",
"price": "108.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "More Options",
"position": 8
}
,
{
"id": "37748",
"name": "Trek Checkpoint Third Bottle Cage Adapter",
"price": "50.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "31874",
"name": "Trek Water Bottle Nutsert Plug",
"price": "20.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "30729",
"name": "Trek Madone 9 系列水瓶螺栓",
"price": "20.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "grey",
"list": "More Options",
"position": 11
}
,
{
"id": "37283",
"name": "Trek 2022 Rail Carbon 29 Bottle Cage Spacer",
"price": "10.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 12
}
,
{
"id": "37401",
"name": "Trek 2022 Rail Carbon 29 Bottle Cage S/M Lower Fastener",
"price": "10.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "41872",
"name": "Trek M5x0.8 Water Bottle Cage Bolts",
"price": "8.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "More Options",
"position": 14
}
,
{
"id": "04087",
"name": "Bontrager 车把水壶架",
"price": "58.0",
"brand": "Bontrager",
"category": "Bike water bottles & cages",
"variant": "greylight",
"list": "More Options",
"position": 15
}
,
{
"id": "32850",
"name": "Bontrager 车把水壶架夹具 31.8",
"price": "58.0",
"brand": "Bontrager",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "More Options",
"position": 16
}
,
{
"id": "41603",
"name": "Trek Speed Concept Round Bottle BTA Cage",
"price": "200.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "More Options",
"position": 17
}
,
{
"id": "41930",
"name": "Trek Speed Concept BTA Mounting Cage",
"price": "60.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "More Options",
"position": 18
}
,
{
"id": "38006",
"name": "Trek 2022 Speed Concept SLR Downtube Water Bottle Cage",
"price": "40.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "More Options",
"position": 19
}
,
{
"id": "13852",
"name": "Bontrager Speed Concept Water Bottle Cage Hardware",
"price": "188.0",
"brand": "Bontrager",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "More Options",
"position": 20
}
]
}
});
} else {
console.log("dataLayer");
}