if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "35787",
"name": "FX Sport 6",
"price": "20800.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33258",
"name": "Procaliber 9.5",
"price": "15800.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35785",
"name": "FX Sport 4",
"price": "13800.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33037",
"name": "Domane AL 2 轮缘",
"price": "4880.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36846",
"name": "Precaliber 24 8 速避震款",
"price": "2680.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36268",
"name": "Precaliber 20 7 速",
"price": "2480.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36267",
"name": "Precaliber 16",
"price": "1780.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36265",
"name": "Precaliber 12",
"price": "1480.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "37060",
"name": "第 5 代 Slash 9.9 XX1 Flight Attendant",
"price": "106800.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35144",
"name": "第一代 Supercaliber 9.9 XTR",
"price": "82800.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "37418",
"name": "第七代 Madone SLR 7 AXS",
"price": "79800.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "33139",
"name": "Émonda SLR 7 AXS",
"price": "72800.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "37356",
"name": "第 4 代 Domane SLR 7 AXS",
"price": "72800.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "35295",
"name": "Checkpoint SLR 7 AXS",
"price": "72800.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "black_greendark",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "35294",
"name": "Checkpoint SLR 7",
"price": "68800.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "yellow_bluedark",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "37058",
"name": "第 5 代 Slash 9.8 GX AXS",
"price": "66800.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "35486",
"name": "Domane SLR 7",
"price": "61800.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "37039",
"name": "第一代 Supercaliber 9.8",
"price": "61800.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "36980",
"name": "Madone SL 7 AXS 6 代",
"price": "52800.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "36155",
"name": "第四代 Domane SL 7 AXS",
"price": "50800.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "36732",
"name": "第 5 代 Slash 9.8 XT",
"price": "49800.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "36790",
"name": "Top Fuel 9.8 XT",
"price": "47800.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "35046",
"name": "Émonda SL 7",
"price": "42800.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_black",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}