if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "48611",
"name": "Rapha Pro Team 轻量骑行背带裤",
"price": "2190.0",
"brand": "Rapha",
"category": "Men's cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36058",
"name": "Trek Circuit Thermal Cycling Bib Tight",
"price": "1280.0",
"brand": "Trek",
"category": "Men's cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47355",
"name": "Rapha 女式核心冬季背带裤",
"price": "1530.0",
"brand": "Rapha",
"category": "Women's cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47342",
"name": "Rapha 核心冬季骑行背带裤",
"price": "1530.0",
"brand": "Rapha",
"category": "Men's cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36057",
"name": "Trek Circuit 软壳骑行背带紧身裤",
"price": "1280.0",
"brand": "Trek",
"category": "Men's cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}