if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "48110",
"name": "Trek BackRack MIK 自行车行李架",
"price": "338.0",
"brand": "Trek",
"category": "Bike racks",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "12065",
"name": "Trek 主枢轴垫圈",
"price": "22.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "36048",
"name": "Trek FX Sport Carbon Thru-Skew 700c Rigid Fork",
"price": "2190.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "11271",
"name": "Trek Madone Cable Management ",
"price": "67.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "41848",
"name": "Trek 2023 Emonda SL6 Headset Cover",
"price": "300.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "41128",
"name": "Trek Slash Gen 5 Storage Door Cover - Carbon Models",
"price": "980.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "greendark_black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "59321",
"name": "Trek Fuel 27.5 下避震支架套装",
"price": "289.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "41127",
"name": "Trek Slash Gen 5 Storage Door Cover - Alloy Models",
"price": "468.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red_black",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "41125",
"name": "Trek Top Fuel 29 Gen 3 Storage Door Cover - Aluminum Models",
"price": "690.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "greendark_black",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "41126",
"name": "Trek Top Fuel 29 Gen 3 Storage Door Cover - Carbon Models",
"price": "588.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "orange_black",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "45505",
"name": "Bontrager Line Dropper 31.6mm Actuator Assembly",
"price": "118.0",
"brand": "Bontrager",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}