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": "35041",
"name": "Trek RSL 山地车骑行鞋",
"price": "3180.0",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "45272",
"name": "Trek Foray 山地自行车骑行鞋",
"price": "1480.0",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "45275",
"name": "Trek Circuit Wide 公路骑行鞋",
"price": "1280.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}