if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "46739",
"name": "Santini Lidl-Trek 车队男女通用骑行手套",
"price": "278.0",
"brand": "Santini",
"category": "Men's cycling gloves",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34510",
"name": "Bontrager Circuit 女士双凝胶骑行手套",
"price": "258.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "24722",
"name": "Bontrager Circuit 保暖骑行手套",
"price": "218.0",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}