if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "38551",
"name": "Trek RCS Pro Blendr 把立",
"price": "598.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34937",
"name": "Bontrager RSL Blendr 把立",
"price": "2180.0",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "23234",
"name": "Bontrager Pro Blendr 把立",
"price": "598.0",
"brand": "Bontrager",
"category": "Blendr integration",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "31465",
"name": "Bontrager Elite Blendr 把立",
"price": "398.0",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "31243",
"name": "Bontrager Adjustable Blendr 220mm Quill Stem",
"price": "180.0",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "24160",
"name": "Bontrager Comp 31.8 7 度 Blendr 把立",
"price": "148.0",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "13661",
"name": "Madone KVF Aero Integrated Handlebar/Stem",
"price": "4143.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35019",
"name": "Bontrager RSL 山地把横/把立",
"price": "2980.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}