if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "44115",
"name": "亚洲版 Trek Solstice Mips 自行车头盔",
"price": "558.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44116",
"name": "Trek 亚洲版 Solstice 自行车头盔",
"price": "358.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36036",
"name": "Trek RSL 针织公路骑行鞋",
"price": "3380.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white_greylight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35040",
"name": "Trek RSL 公路骑行鞋",
"price": "2880.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34133",
"name": "Trek Velocis 公路骑行鞋",
"price": "1880.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40249",
"name": "Trek Circuit WaveCel 头盔",
"price": "1380.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "red_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36986",
"name": "Trek Starvos WaveCel 亚洲版自行车头盔",
"price": "888.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "34591",
"name": "Bontrager Circuit WaveCel 公路车头盔",
"price": "1280.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "47340",
"name": "Rapha 通勤夹克",
"price": "1280.0",
"brand": "Rapha",
"category": "Cycling jackets",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "34132",
"name": "Bontrager Circuit 公路骑行鞋",
"price": "1080.0",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "17499",
"name": "Bontrager Solstice 亚洲版自行车头盔",
"price": "338.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "33678",
"name": "Bontrager Solstice 公路骑行鞋",
"price": "638.0",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "34130",
"name": "Bontrager Foray 山地车骑行鞋",
"price": "1280.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "greendark_orangevisibility",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "34129",
"name": "Bontrager Evoke 山地骑行鞋",
"price": "1080.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
]
}
});
} else {
console.log("dataLayer");
}