if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "56817",
"name": "Santini Lidl-Trek 复制科技 T 恤",
"price": "688.0",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34653",
"name": "Trek Solstice 骑行服",
"price": "388.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37082",
"name": "Trek Evoke 山地自行车 Tech Tee",
"price": "288.0",
"brand": "Trek",
"category": "Mountain bike jerseys",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}