if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "22738",
"name": "Bontrager MIK 多功能货架包",
"price": "998.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "24465",
"name": "Bontrager City 货架包",
"price": "628.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "28498",
"name": "Bontrager E6 Hard-Case Lite 电动自行车轮胎",
"price": "298.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "22250",
"name": "Bontrager Blendr RIDEtime 底座",
"price": "88.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "26872",
"name": "Trek Madone SLR 反光条和车灯支架",
"price": "42.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "44822",
"name": "Spanninga Pimento RR 02 Rear Light Reflector",
"price": "68.0",
"brand": "Spanninga",
"category": "Bike lights",
"variant": "reddark",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}