if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "47147",
"name": "Trek Adventure 车架储存包",
"price": "988.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47148",
"name": "Trek Adventure 三角框架包",
"price": "588.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47358",
"name": "Trek Adventure 顶管包",
"price": "358.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black_greylight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "48444",
"name": "Trek 拇指螺丝 - 4 件装",
"price": "58.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41673",
"name": "Trek Adventure Boss 全车架包",
"price": "688.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "45082",
"name": "Trek Waterproof Buckled NIP Bag",
"price": "118.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35559",
"name": "Bontrager Adventure 车把包",
"price": "888.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35560",
"name": "Bontrager Adventure 车座包",
"price": "888.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "34744",
"name": "Bontrager Rapid Pack Hydro",
"price": "858.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35555",
"name": "Bontrager Adventure Boss 车架包",
"price": "598.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "14798",
"name": "Bontrager Rapid Pack",
"price": "418.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "47332",
"name": "Rapha 车把包",
"price": "610.0",
"brand": "Rapha",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}