if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "14775",
"name": "Bontrager S1 Softshell 骑行鞋套",
"price": "388.0",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "25032",
"name": "Bontrager 保暖骑行腿套",
"price": "349.0",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25030",
"name": "Bontrager 保暖骑行膝套",
"price": "299.0",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}