概述
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "44588",
"name": "Bontrager Brevard RSL SE TLR MTB 轮胎",
"price": "688.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "44752",
"name": "Bontrager Vallnord RSL XR TLR 山地车轮胎",
"price": "588.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "44490",
"name": "Bontrager Gunnison RSL XT TLR 山地车轮胎",
"price": "588.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "44488",
"name": "Bontrager Montrose RSL XT TLR 山地车轮胎",
"price": "588.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "44486",
"name": "Bontrager Sainte-Anne RSL XR TLR 山地车轮胎",
"price": "588.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "44575",
"name": "Bontrager Sainte-Anne Pro XR TLR 山地车轮胎",
"price": "438.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "12996",
"name": "Bontrager Barbegazi 胖胎",
"price": "888.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_grey",
"list": "More Options",
"position": 7
}
,
{
"id": "34493",
"name": "Bontrager SE5 Team Issue TLR MTB 轮胎",
"price": "648.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "27917",
"name": "Bontrager XR3 Team Issue TLR MTB 轮胎",
"price": "388.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "34495",
"name": "Bontrager XR1 Team Issue TLR 山地外胎",
"price": "388.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "37781",
"name": "Bontrager XT3 Comp MTB Tire",
"price": "188.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "44480",
"name": "Bontrager Connection Comp MTB 轮胎",
"price": "158.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 12
}
,
{
"id": "44749",
"name": "Schwalbe Pick-Up 20" Tire",
"price": "428.0",
"brand": "Schwalbe",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "12713",
"name": "Schwalbe Fat Frank Cruiser Tire",
"price": "290.0",
"brand": "Schwalbe",
"category": "Bike tires",
"variant": "black_reflective",
"list": "More Options",
"position": 14
}
]
}
});
} else {
console.log("dataLayer");
}