if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "41734",
"name": "Trek 保暖骑行腿套",
"price": "388.0",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41733",
"name": "Trek 保暖骑行膝套",
"price": "348.0",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41731",
"name": "Trek 保暖骑行袖套",
"price": "288.0",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41235",
"name": "Trek 防紫外线骑行臂套",
"price": "288.0",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "46740",
"name": "Santini Lidl-Trek 车队保暖臂套",
"price": "278.0",
"brand": "Santini",
"category": "Cycling arm & leg warmers",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "44386",
"name": "Santini Trek-Segafredo 车迷版袖套",
"price": "338.0",
"brand": "Santini",
"category": "Cycling arm & leg warmers",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "25032",
"name": "Bontrager 保暖骑行腿套",
"price": "349.0",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "25030",
"name": "Bontrager 保暖骑行膝套",
"price": "299.0",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "25028",
"name": "Bontrager 保暖骑行袖套",
"price": "249.0",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}