if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "41328",
"name": "Fuel EX 8 GX AXS Gen 6 T 型",
"price": "35800.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41217",
"name": "Marlin 7 Gen 3",
"price": "7580.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40773",
"name": "Marlin 5 Gen 3",
"price": "3480.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "purple_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "46147",
"name": "Top Fuel 9.8 GX AXS Gen 4",
"price": "52800.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "46143",
"name": "Top Fuel 8 Gen 4",
"price": "29800.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greenlight",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40962",
"name": "Marlin 6 Gen 3",
"price": "5180.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37056",
"name": "Session 8 29 GX",
"price": "51800.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41668",
"name": "Slash 8 Gen 6",
"price": "33800.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "41618",
"name": "Procaliber 8",
"price": "12800.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "41615",
"name": "Procaliber 6",
"price": "10800.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "36789",
"name": "Top Fuel 8 XT Gen 3",
"price": "29800.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "36348",
"name": "第 6 代 Fuel EX 8",
"price": "33800.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "35069",
"name": "X-Caliber 8",
"price": "9980.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}