if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "41572",
"name": "Fuel EX 9.8 GX AXS Gen 6 T 型",
"price": "52800.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36954",
"name": "第 6 代 Fuel EX 9.9 XTR",
"price": "86800.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47249",
"name": "Fuel EX 9.9 XX AXS Gen 6 T 型",
"price": "100800.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47248",
"name": "Fuel EX 9.9 X0 AXS Gen 6 T 型",
"price": "88800.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41573",
"name": "第 6 代 Fuel EX 9.8 XT",
"price": "64800.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"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": 6
}
,
{
"id": "41645",
"name": "Fuel EX 9.9 XX AXS Gen 6 T 型",
"price": "100800.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41576",
"name": "Fuel EX 9.9 X0 AXS Gen 6 T 型",
"price": "88800.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}