if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "36036",
"name": "Trek RSL 针织公路骑行鞋",
"price": "3380.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white_greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35040",
"name": "Trek RSL 公路骑行鞋",
"price": "2880.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34133",
"name": "Trek Velocis 公路骑行鞋",
"price": "1880.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "45274",
"name": "Trek Circuit 公路骑行鞋",
"price": "1280.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "45275",
"name": "Trek Circuit Wide 公路骑行鞋",
"price": "1280.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "25000",
"name": "Bontrager XXX 公路骑行鞋",
"price": "2880.0",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "22483",
"name": "Bontrager Velocis 公路骑行鞋",
"price": "1480.0",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "34132",
"name": "Bontrager Circuit 公路骑行鞋",
"price": "1080.0",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "33678",
"name": "Bontrager Solstice 公路骑行鞋",
"price": "638.0",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}