if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "37084",
"name": "Trek Evoke 山地车短裤",
"price": "988.0",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37090",
"name": "Trek Troslo 衬里短裤",
"price": "458.0",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"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
}
,
{
"id": "37106",
"name": "Trek Evoke 男女通用山地自行车手套",
"price": "268.0",
"brand": "Trek",
"category": "Women's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}