if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "33691",
"name": "Trek 2021 Checkpoint SL Control Center Cover",
"price": "150.0",
"brand": "Trek",
"category": "E-bike controllers & parts",
"variant": "orange",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33620",
"name": "Trek 2021 Rail Gen 2 Bosch Kiox Display Mount",
"price": "130.0",
"brand": "Trek",
"category": "E-bike controllers & parts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "48485",
"name": "Trek 2025 Slash+ Carbon Bottom Bracket Wiring Access Panel",
"price": "68.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "32467",
"name": "Trek 2020 Rail 29 Speed Sensor Cable Guide",
"price": "30.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "42183",
"name": "Trek 2023 Rail & Powerfly Speed Sensor Adapter",
"price": "10.0",
"brand": "Trek",
"category": "E-bike controllers & parts",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37891",
"name": "Trek-Diamant Bosch 750 Smart Speed Sensor Cable",
"price": "400.0",
"brand": "Trek-Diamant",
"category": "E-bike controllers & parts",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "44342",
"name": "Trek-Diamant Speed Sensor for Bosch Gen 4",
"price": "270.0",
"brand": "Trek-Diamant",
"category": "E-bike controllers & parts",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "42182",
"name": "Trek-Diamant Speed Sensor Adapter MY23",
"price": "20.0",
"brand": "Trek-Diamant",
"category": "E-bike controllers & parts",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "33676",
"name": "Electra Vale Go! Speed Sensor Alignment Mount",
"price": "30.0",
"brand": "Bontrager-Electra",
"category": "E-bike controllers & parts",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}