if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "41741",
"name": "Trek Softshell 骑行鞋套",
"price": "488.0",
"brand": "Trek",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41742",
"name": "Trek 防水骑行鞋套",
"price": "488.0",
"brand": "Trek",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41740",
"name": "Trek Windshell 骑行脚趾套",
"price": "188.0",
"brand": "Trek",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "14775",
"name": "Bontrager S1 Softshell 骑行鞋套",
"price": "388.0",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}