if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "47317",
"name": "Rapha Core 女式骑行马甲",
"price": "830.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "48613",
"name": "Rapha Brevet 保暖马甲",
"price": "1880.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47316",
"name": "Rapha Core 骑行马甲",
"price": "830.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36065",
"name": "Trek Circuit Windshell Cycling Vest",
"price": "588.0",
"brand": "Trek",
"category": "Cycling vests",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "47318",
"name": "Rapha Brevet 骑行马甲",
"price": "1360.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "bluedark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "47315",
"name": "Rapha Pro Team 轻量骑行马甲",
"price": "1270.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}