if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "25410",
"name": "Bontrager Carbon Road Frame DuoTrap S Cover",
"price": "40.0",
"brand": "Trek",
"category": "Bike computers & GPS",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "27161",
"name": "Trek Fazua Integrated Speed Sensor",
"price": "450.0",
"brand": "Trek",
"category": "E-bike drivetrain parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "27271",
"name": "Trek Headset Cable Routing Spacer",
"price": "90.0",
"brand": "Trek",
"category": "Bike headsets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "35507",
"name": "Trek Domane MKIII Repair Stand Adapter",
"price": "150.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "44357",
"name": "Trek Domane+ HP Lower Battery Endcap",
"price": "60.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "44356",
"name": "Trek Domane+ HP Upper Battery Endcap",
"price": "50.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "45149",
"name": "Trek Domane Gen4 Seatpost Wedge Bolt",
"price": "28.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "45316",
"name": "Trek Domane AL Headtube Water Shroud",
"price": "20.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "46141",
"name": "Trek Domane+ SLR Frame Hole Plug",
"price": "18.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "45151",
"name": "Praxis 1X SRAM Spider for Domane+ SLR",
"price": "780.0",
"brand": "Praxis",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "42031",
"name": "Trek Domane MKIV IsoSpeed Tongue Fixing Bolt",
"price": "30.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "41358",
"name": "Trek Domane MKIV Standard Stem Headset Top Cap",
"price": "130.0",
"brand": "Trek",
"category": "Bike headsets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "38551",
"name": "Trek RCS Pro Blendr 把立",
"price": "598.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}