if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "25634",
"name": "Bontrager Lithos/Rally 头盔衬垫套件",
"price": "80.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33565",
"name": "Bontrager Rally WaveCel 自行车头盔适配垫",
"price": "80.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "22707",
"name": "Bontrager 头盔适配垫 - Starvos Mips",
"price": "75.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "32640",
"name": "Bontrager Tyro 青少年自行车头盔衬垫套件",
"price": "75.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "22706",
"name": "Bontrager 头盔适配垫 - Quantum Mips",
"price": "72.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "24511",
"name": "Bontrager Solstice Mips 自行车头盔调节垫",
"price": "72.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "14368",
"name": "Bontrager Rally Mips Bike Helmet Pad Kit",
"price": "68.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "33636",
"name": "Bontrager Jet WaveCel 头盔调整垫套件",
"price": "50.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "32636",
"name": "Bontrager Dipper 儿童自行车头盔衬垫套件",
"price": "50.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}