概述
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "26600",
"name": "Bontrager 前通轴换挡杆",
"price": "190.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "26601",
"name": "Bontrager 换挡杆后通轴",
"price": "190.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "26602",
"name": "Bontrager 换挡杆更换工具",
"price": "140.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "14309",
"name": "Bontrager Elite Internal Cam Skewer",
"price": "200.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "27046",
"name": "Trek Rigid Fork Front Thru Axle",
"price": "384.0",
"brand": "Trek",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "27044",
"name": "Trek ABP Hard Tail Convert Rear Thru Axle",
"price": "370.0",
"brand": "Trek",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "10872",
"name": "Trek ABP DH Rear Thru Axle Bolt",
"price": "290.0",
"brand": "Trek",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "11894",
"name": "Ticket Signature 后轴",
"price": "280.0",
"brand": "Trek",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "10875",
"name": "Bontrager ABP Race Rear Skewer",
"price": "157.0",
"brand": "Trek",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "10873",
"name": "Bontrager ABP 经典",
"price": "157.0",
"brand": "Trek",
"category": "Bike wheels",
"variant": "red_greylight",
"list": "More Options",
"position": 10
}
,
{
"id": "24882",
"name": "Trek Thru-Skew Retention Nut",
"price": "120.0",
"brand": "Trek",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "10876",
"name": "Trek 螺栓紧固快拆杆",
"price": "80.0",
"brand": "Trek",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 12
}
,
{
"id": "21973",
"name": "Bontrager Boost 141 快拆杆",
"price": "72.0",
"brand": "Trek",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "45620",
"name": "Trek Thru-Skew",
"price": "40.0",
"brand": "Trek",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 14
}
,
{
"id": "12956",
"name": "DT Swiss RWS Thru-axle",
"price": "380.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 15
}
,
{
"id": "28819",
"name": "Bontrager Speed Concept 钢制快拆杆",
"price": "270.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 16
}
,
{
"id": "45440",
"name": "Bontrager Switch Lever Pro Rear Axle",
"price": "258.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "red",
"list": "More Options",
"position": 17
}
,
{
"id": "45554",
"name": "Bontrager XC Road Front Axle",
"price": "228.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "",
"list": "More Options",
"position": 18
}
,
{
"id": "14307",
"name": "Bontrager Hardtail Convert Skewer",
"price": "200.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 19
}
,
{
"id": "45439",
"name": "Bontrager Switch Lever Pro Front Thru Axle",
"price": "200.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "red",
"list": "More Options",
"position": 20
}
,
{
"id": "27053",
"name": "SR Suntour QR-22 Skewer",
"price": "80.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 21
}
,
{
"id": "22093",
"name": "RockShox Maxle Stealth Skewer",
"price": "380.0",
"brand": "RockShox",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 22
}
,
{
"id": "36439",
"name": "Trek-Diamant Thru-Skew Fixed Retention Nut",
"price": "70.0",
"brand": "Trek-Diamant",
"category": "Bike forks",
"variant": "black",
"list": "More Options",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}