if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "37082",
"name": "Trek Evoke 山地自行车 Tech Tee",
"price": "288.0",
"brand": "Trek",
"category": "Mountain bike jerseys",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45017",
"name": "100% Trek Factory Racing 长袖 Airmatic",
"price": "528.0",
"brand": "100%",
"category": "Mountain bike jerseys",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40630",
"name": "Santini Trek Factory Racing Women's Replica World Champion Cycling Jersey",
"price": "888.0",
"brand": "Santini",
"category": "Mountain bike jerseys",
"variant": "white_yellow",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}