if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "41406",
"name": "Trek Kovee Elite卡式脚踏套装",
"price": "788.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41407",
"name": "Trek Line Elite卡式脚踏套装",
"price": "888.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "30862",
"name": "Bontrager Elite 公路脚踏系列",
"price": "698.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "22371",
"name": "Bontrager Comp 公路脚踏系列",
"price": "498.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "22370",
"name": "Bontrager Comp 山地脚踏系列",
"price": "628.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "27134",
"name": "Bontrager MTB 自锁脚踏定趾器套装",
"price": "118.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "27132",
"name": "Bontrager 自锁 6 度脚踏定趾器套装",
"price": "118.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "32999",
"name": "Bontrager 自锁 9 度脚踏定趾器套装",
"price": "118.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "grey",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "45251",
"name": "Trek SPD Pedal Rebuild Kit",
"price": "178.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "grey",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}