if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "14859",
"name": "Trek Domane ALR IsoSpeed Cover Set",
"price": "340.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "57134",
"name": "FX 1 Stepover Gen 4",
"price": "3580.0",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "57139",
"name": "FX 2 Stepover Gen 4",
"price": "4580.0",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "27607",
"name": "Trek Madone Aluminum Bottom Bracket Cable Guide",
"price": "55.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "45035",
"name": "Trek Voda Flow 26oz 水壶",
"price": "158.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "37370",
"name": "Trek Voda Flow 21oz 水壶",
"price": "148.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "26590",
"name": "Trek Madone SLR Painted Headset Cover",
"price": "315.0",
"brand": "Trek",
"category": "Bike headsets",
"variant": "yellowvisibility",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "32233",
"name": "Trek Domane SL 下管储存保护套",
"price": "380.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "10897",
"name": "Trek Non-Adjustable Stems",
"price": "157.0",
"brand": "Lee Chi",
"category": "Bike stems & accessories",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "11209",
"name": "Trek Diamant Villiger Adjustable Threadless Stem",
"price": "157.0",
"brand": "Lee Chi",
"category": "Bike stems & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "47226",
"name": "Trek BITS 管包",
"price": "158.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "46168",
"name": "Trek Bat Cage 水壶架",
"price": "78.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "59319",
"name": "Trek Fuel LX 摇臂连杆组",
"price": "1249.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "59508",
"name": "Trek Ion Pro RT 前车灯",
"price": "898.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "56351",
"name": "Wahoo 24 Trail",
"price": "5280.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "green",
"list": "PRODUCTSEARCH",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}