if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "28498",
"name": "Bontrager E6 Hard-Case Lite 电动自行车轮胎",
"price": "298.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "31552",
"name": "Bontrager H2 Hard-Case Lite 反光混合式轮胎",
"price": "258.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "31551",
"name": "Bontrager H2 Comp 混合式轮胎",
"price": "188.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}