if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "25835",
"name": "Trek BarStem 钛夹点螺栓",
"price": "60.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "32593",
"name": "Trek Blendr 到 BarStem 安装螺栓",
"price": "15.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47384",
"name": "Trek Aero RSL Barstem Pro Blendr Mount",
"price": "228.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}