if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "40249",
"name": "Trek Circuit WaveCel 头盔",
"price": "1380.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "red_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45105",
"name": "Trek Rally WaveCel 山地车头盔",
"price": "1180.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41407",
"name": "Trek Line Elite卡式脚踏套装",
"price": "888.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36817",
"name": "Bontrager Digital Shock Pump",
"price": "658.0",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41410",
"name": "Trek Line Pro 平脚踏组",
"price": "648.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "orange",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41411",
"name": "Trek Pro BITS 多功能工具",
"price": "638.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "44490",
"name": "Bontrager Gunnison RSL XT TLR 山地车轮胎",
"price": "588.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "44486",
"name": "Bontrager Sainte-Anne RSL XR TLR 山地车轮胎",
"price": "588.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "21854",
"name": "Bontrager Dual Charger 落地式气筒",
"price": "458.0",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "44575",
"name": "Bontrager Sainte-Anne Pro XR TLR 山地车轮胎",
"price": "438.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "44751",
"name": "Trek Elite BITS 多功能工具",
"price": "418.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "41409",
"name": "Trek Line Elite 平脚踏组",
"price": "388.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "green",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "37370",
"name": "Trek Voda Flow 21oz 水壶",
"price": "148.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "47144",
"name": "Trek 左侧推入式环保水壶架",
"price": "108.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "47143",
"name": "Trek 右侧推入式环保水壶架",
"price": "108.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "CATEGORY",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}