概述
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "32841",
"name": "Bontrager 13 号辐条头,一包 10 个",
"price": "50.0",
"brand": "Trek",
"category": "Spokes",
"variant": "greylight",
"list": "More Options",
"position": 1
}
,
{
"id": "27051",
"name": "Bontrager DT New Aero Bladed J-Bend Spoke Box of 10",
"price": "350.0",
"brand": "Bontrager",
"category": "Spokes",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "36173",
"name": "Bontrager DT Aero Comp Bladed T-Head Spoke - Box of 10",
"price": "280.0",
"brand": "Bontrager",
"category": "Spokes",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "10879",
"name": "Bontrager DT Aero Comp Bladed J-Bend Spoke - Box of 10",
"price": "280.0",
"brand": "Bontrager",
"category": "Spokes",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "27049",
"name": "Bontrager DT Aerolite Bladed J-Bend Spoke",
"price": "280.0",
"brand": "Bontrager",
"category": "Spokes",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "33215",
"name": "Bontrager DT Aerolite Bladed T-Head Spoke - Box of 10",
"price": "280.0",
"brand": "Bontrager",
"category": "Spokes",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "10882",
"name": "Bontrager DT Aerolite Bladed Nail-Head Spoke - Box of 10",
"price": "280.0",
"brand": "Bontrager",
"category": "Spokes",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "36177",
"name": "Bontrager DT Aero Comp Bladed Nail-Head Spoke - Box of 10",
"price": "260.0",
"brand": "Bontrager",
"category": "Spokes",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "27050",
"name": "Bontrager Grand Strada 弯头刀辐条",
"price": "220.0",
"brand": "Bontrager",
"category": "Spokes",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "10881",
"name": "Bontrager Round J-Bend Spoke Box of 10",
"price": "200.0",
"brand": "Bontrager",
"category": "Spokes",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "36180",
"name": "Bontrager DT Competition Race Round Nail-Head Spoke - Box of 10",
"price": "200.0",
"brand": "Bontrager",
"category": "Spokes",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "11847",
"name": "Bontrager DT Competition Round Nail-Head Spoke Box of 10",
"price": "200.0",
"brand": "Bontrager",
"category": "Spokes",
"variant": "black",
"list": "More Options",
"position": 12
}
,
{
"id": "45446",
"name": "Bontrager Aeolus Pro Spoke Nipple Washers",
"price": "98.0",
"brand": "Bontrager",
"category": "Spokes",
"variant": "greylight",
"list": "More Options",
"position": 13
}
,
{
"id": "12932",
"name": "Bontrager Aeolus D3 辐条帽垫圈",
"price": "89.0",
"brand": "Bontrager",
"category": "Spokes",
"variant": "greylight",
"list": "More Options",
"position": 14
}
,
{
"id": "32840",
"name": "Bontrager 13 Gauge 圆形 J-Bend 辐条",
"price": "60.0",
"brand": "Bontrager",
"category": "Spokes",
"variant": "greylight",
"list": "More Options",
"position": 15
}
,
{
"id": "26980",
"name": "Bontrager Wheelsystem Alloy Spoke Nipple Pack of 10",
"price": "180.0",
"brand": "Alpina",
"category": "Spokes",
"variant": "greylight",
"list": "More Options",
"position": 16
}
,
{
"id": "30046",
"name": "Alpina Locking Hex Head Brass Nipple Pack of 10",
"price": "180.0",
"brand": "Alpina",
"category": "Spokes",
"variant": "greylight",
"list": "More Options",
"position": 17
}
,
{
"id": "33500",
"name": "Bontrager Wheelsystem 合金 ProLock 辐条头,一包 10 个",
"price": "150.0",
"brand": "DT Swiss",
"category": "Spokes",
"variant": "black",
"list": "More Options",
"position": 18
}
,
{
"id": "44340",
"name": "Alpina Spark 13/14 Gauge Round J-Bend Spoke Box of 10",
"price": "120.0",
"brand": "Alpina",
"category": "Spokes",
"variant": "black",
"list": "More Options",
"position": 19
}
]
}
});
} else {
console.log("dataLayer");
}