if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "33213",
"name": "Trek 2020 Powerfly HT Motor Armor Hardware",
"price": "72.0",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "28450",
"name": "Trek 2018 Knock Block Powerfly FS/LT Headtube Armor",
"price": "72.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37481",
"name": "Trek 2022 Rail 29 Seatstay Armor",
"price": "70.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "32906",
"name": "Trek Powerfly HT Motor Armor",
"price": "60.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41265",
"name": "Trek 2023 Fuel EXe Carbon Seatstay Armor",
"price": "50.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "22360",
"name": "Trek e-MTB Motor Armor Hardware",
"price": "43.0",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "42007",
"name": "Trek 2023-2024 Fuel EXe TQ Smart Box Foam Pads",
"price": "40.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35783",
"name": "Trek 2021 E-Caliber Chainstay Rotor Strike Guard Armor",
"price": "40.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "greylight",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35782",
"name": "Trek 2021 E-Caliber Chainstay Crank Strike Guard",
"price": "40.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "greylight",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "45280",
"name": "Trek Marlin+ Downtube Armor",
"price": "38.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "31413",
"name": "RIDE+ Bosch Active Motor Cover",
"price": "210.0",
"brand": "Ride+",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "45139",
"name": "e*Thirteen Chainguide for Bosch 52mm to 55mm Chainline Kit",
"price": "68.0",
"brand": "EThirteen",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "31532",
"name": "Herrmans Slim Bosch G4 Chainguard Bracket",
"price": "40.0",
"brand": "HERRMANS",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}