if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "37437",
"name": "RideWrap Matte Covered Frame Protection Kit designed to fit 2020-2022 Trek Supercaliber",
"price": "588.0",
"brand": "RideWrap",
"category": "Bike frame protection",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "42148",
"name": "RideWrap Matte Covered Frame Protection Kit designed to fit 2022 Trek Gravel/CX",
"price": "588.0",
"brand": "RideWrap",
"category": "Bike frame protection",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "26266",
"name": "Bontrager Headset 拓展塞和顶帽",
"price": "179.0",
"brand": "Trek",
"category": "Bike headsets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "64011",
"name": "Topo Designs Frame Bag",
"price": "888.0",
"brand": "Topo Designs",
"category": "Bike bags",
"variant": "black_bluelight",
"list": "PRODUCTSEARCH",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}