if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "24528",
"name": "Bontrager Comp 31.8 MTB 把横",
"price": "298.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "09191",
"name": "Bontrager Crivitz MTB 车把",
"price": "610.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35282",
"name": "Bontrager Approved 31.8 Matte Alloy MTB Handlebar",
"price": "140.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35283",
"name": "Bontrager Approved 31.8 Low-Rise Matte Alloy MTB Handlebar",
"price": "140.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}