if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "47314",
"name": "Rapha 女式 Core II 骑行雨衣",
"price": "1500.0",
"brand": "Rapha",
"category": "Cycling jackets",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47317",
"name": "Rapha 女式 Core 骑行马甲",
"price": "830.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36067",
"name": "Trek Circuit Women's Windshell Cycling Jacket",
"price": "788.0",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "46736",
"name": "Santini Lidl-Trek 车队车迷版背心",
"price": "888.0",
"brand": "Santini",
"category": "Men's cycling jackets & vests",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36062",
"name": "Trek Circuit 女式软壳骑行夹克",
"price": "888.0",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}