if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "34591",
"name": "Bontrager Circuit WaveCel 公路车头盔",
"price": "1280.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "17499",
"name": "Bontrager Solstice 亚洲版自行车头盔",
"price": "338.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "27216",
"name": "Bontrager XXX WaveCel 头盔 亚洲版骑行头盔",
"price": "1980.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "21724",
"name": "亚洲版 Bontrager Velocis Mips 公路自行车头盔",
"price": "1680.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44115",
"name": "亚洲版 Trek Solstice Mips 自行车头盔",
"price": "558.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "44116",
"name": "Trek 亚洲版 Solstice 自行车头盔",
"price": "358.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "34588",
"name": "Trek Velocis Mips 公路自行车头盔",
"price": "2080.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "44093",
"name": "Trek Velocis Mips 亚洲版头盔",
"price": "2080.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "purplelight",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "45105",
"name": "Trek Rally WaveCel 山地车头盔",
"price": "1180.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "44661",
"name": "Trek Ballista Mips 亚洲版公路自行车头盔",
"price": "2380.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "purplelight",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "40249",
"name": "Trek Circuit WaveCel 头盔",
"price": "1380.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "red_black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "36986",
"name": "Trek Starvos WaveCel 亚洲版自行车头盔",
"price": "888.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}