if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "32841",
"name": "Bontrager 13 号辐条头,一包 10 个",
"price": "50.0",
"brand": "Trek",
"category": "Spokes",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45446",
"name": "Bontrager Aeolus Pro Spoke Nipple Washers",
"price": "98.0",
"brand": "Bontrager",
"category": "Spokes",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "26980",
"name": "Bontrager Wheelsystem Alloy Spoke Nipple Pack of 10",
"price": "180.0",
"brand": "Alpina",
"category": "Spokes",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "30046",
"name": "Alpina Locking Hex Head Brass Nipple Pack of 10",
"price": "180.0",
"brand": "Alpina",
"category": "Spokes",
"variant": "greylight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33500",
"name": "Bontrager Wheelsystem 合金 ProLock 辐条头,一包 10 个",
"price": "150.0",
"brand": "DT Swiss",
"category": "Spokes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}