if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "27216",
"name": "Bontrager XXX WaveCel 头盔 亚洲版骑行头盔",
"price": "1980.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "21724",
"name": "亚洲版 Bontrager Velocis Mips 公路自行车头盔",
"price": "1680.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "24720",
"name": "Bontrager Velocis 软壳骑行手套",
"price": "588.0",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "24721",
"name": "Bontrager Circuit Windshell 骑行手套",
"price": "388.0",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "25032",
"name": "Bontrager 保暖骑行腿套",
"price": "349.0",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "25030",
"name": "Bontrager 保暖骑行膝套",
"price": "299.0",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "25028",
"name": "Bontrager 保暖骑行袖套",
"price": "249.0",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "24722",
"name": "Bontrager Circuit 保暖骑行手套",
"price": "218.0",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}