if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "32747",
"name": "Trek Solstice 女式骑行短裤",
"price": "488.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "32743",
"name": "Trek Circuit 女士骑行背带短裤",
"price": "788.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32745",
"name": "Trek Circuit 女士骑行短裤",
"price": "738.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}