概述
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "31548",
"name": "Bontrager Aeolus RSL 37 TLR 公路碟刹轮组",
"price": "9900.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "34500",
"name": "Bontrager Aeolus RSL 51 TLR 公路碟刹车轮",
"price": "9900.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "34501",
"name": "Bontrager Aeolus RSL 62 TLR 公路碟刹车轮",
"price": "9900.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "34502",
"name": "Bontrager Aeolus RSL 75 TLR 公路碟刹车轮",
"price": "9900.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "31547",
"name": "Bontrager Aeolus Pro 37 TLR 公路碟刹轮组",
"price": "5400.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "27195",
"name": "Bontrager Aeolus Pro 3V TLR 碟刹公路车轮",
"price": "5400.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black_grey",
"list": "More Options",
"position": 6
}
,
{
"id": "34499",
"name": "Bontrager Aeolus Pro 51 TLR 公路碟刹车轮",
"price": "5400.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "31545",
"name": "Bontrager Aeolus Elite 35 TLR 公路碟刹轮组",
"price": "3900.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "31546",
"name": "Bontrager Aeolus Elite 50 TLR 公路碟刹轮组",
"price": "3900.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "27391",
"name": "Bontrager Paradigm Comp 25 TLR Disc Road Wheel",
"price": "1680.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "34503",
"name": "Bontrager Paradigm Comp TLR 公路碟刹车轮",
"price": "1480.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "14834",
"name": "Bontrager Aeolus Pro 3 TLR 公路轮组",
"price": "5900.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black_grey",
"list": "More Options",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}