if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "40630",
"name": "Santini Trek Factory Racing Women's Replica World Champion Cycling Jersey",
"price": "888.0",
"brand": "Santini",
"category": "Mountain bike jerseys",
"variant": "white_yellow",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45105",
"name": "Trek Rally WaveCel 山地车头盔",
"price": "1180.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44115",
"name": "亚洲版 Trek Solstice Mips 自行车头盔",
"price": "558.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41743",
"name": "Trek Circuit 防水冬天骑行手套",
"price": "498.0",
"brand": "Trek",
"category": "Men's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41744",
"name": "Trek Circuit Windshell 骑行手套",
"price": "398.0",
"brand": "Trek",
"category": "Men's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "44116",
"name": "Trek 亚洲版 Solstice 自行车头盔",
"price": "358.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37098",
"name": "Trek Circuit 全指双凝胶男女通用骑行手套",
"price": "328.0",
"brand": "Trek",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41745",
"name": "Trek Circuit 保暖骑行手套",
"price": "288.0",
"brand": "Trek",
"category": "Men's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "17499",
"name": "Bontrager Solstice 亚洲版自行车头盔",
"price": "338.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}