if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "41651",
"name": "Top Fuel 9.9 XX AXS T 型",
"price": "100800.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "green",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41646",
"name": "Top Fuel 9.8 GX AXS T 型",
"price": "52800.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "green",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36789",
"name": "Top Fuel 8 XT",
"price": "29800.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36790",
"name": "Top Fuel 9.8 XT",
"price": "47800.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}