概述
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "33798",
"name": "Bontrager TLR Flash Charger 2.0 带软管打气筒头",
"price": "180.0",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "26013",
"name": "Bontrager SuperCharger 带软管打气筒头",
"price": "156.0",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "26017",
"name": "Bontrager Charger Euro Pump Head with Hose",
"price": "150.0",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "26016",
"name": "Bontrager DualCharger 软管打气筒头",
"price": "140.0",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "26012",
"name": "Bontrager 带软管增压打气筒头",
"price": "110.0",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "29226",
"name": "Bontrager Presta Valve Extenders",
"price": "88.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "red",
"list": "More Options",
"position": 6
}
,
{
"id": "32903",
"name": "Bontrager TLR Flash Can 连接软管",
"price": "45.0",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "25998",
"name": "Bontrager TLR Flash Charger 软管连接螺栓",
"price": "43.0",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "26009",
"name": "Bontrager TLR Flash Charger 顶端重建垫圈",
"price": "36.0",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "06698",
"name": "Bontrager TLR Flash Charger Barrel Cap",
"price": "36.0",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "26026",
"name": "Bontrager Air Support HV 手动打气泵托架",
"price": "36.0",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "13891",
"name": "Bontrager 立式打气筒气嘴重构垫圈",
"price": "21.0",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "More Options",
"position": 12
}
,
{
"id": "26028",
"name": "Bontrager Air Support 打气筒气嘴垫圈",
"price": "20.0",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "26025",
"name": "Bontrager Air Support HP 手动打气泵托架",
"price": "20.0",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "More Options",
"position": 14
}
]
}
});
} else {
console.log("dataLayer");
}