if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "36153",
"name": "Domane SL 7 Gen 4",
"price": "47800.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41466",
"name": "第 7 代 Madone SL 6",
"price": "45800.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36152",
"name": "第四代 Domane SL 6 AXS",
"price": "31800.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36746",
"name": "Domane SL 6 Gen 4",
"price": "29800.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33037",
"name": "Domane AL 2 轮缘",
"price": "4880.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36980",
"name": "Madone SL 7 AXS 6 代",
"price": "52800.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36155",
"name": "第四代 Domane SL 7 AXS",
"price": "50800.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36959",
"name": "Madone SL 6 Di2 6 代",
"price": "38800.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}