概述
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "44113",
"name": "Trek Velocis Mips Helmet Fit Pad",
"price": "340.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "red",
"list": "More Options",
"position": 1
}
,
{
"id": "44939",
"name": "Trek Ballista Mips Helmet Fit Pad",
"price": "338.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "red",
"list": "More Options",
"position": 2
}
,
{
"id": "44095",
"name": "Trek Solstice Bike Helmet Fit Pad",
"price": "60.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "44097",
"name": "Trek Solstice Children's and Youth Bike Helmet Fit Pad",
"price": "60.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "45322",
"name": "Trek Tyro Child Helmet Fit Pad",
"price": "48.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "45321",
"name": "Trek Tyro Youth Helmet Fit Pad",
"price": "48.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "45420",
"name": "Trek Little Dipper Helmet Fit Pad",
"price": "48.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "37952",
"name": "Bontrager Circuit WaveCel Helmet Fit Pad",
"price": "60.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "More Options",
"position": 8
}
,
{
"id": "14885",
"name": "Bontrager Ballista Mips Bike Helmet Fit Pad",
"price": "110.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "More Options",
"position": 9
}
,
{
"id": "14147",
"name": "Bontrager Specter Bike Helmet Fit Pad",
"price": "80.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "More Options",
"position": 10
}
,
{
"id": "14155",
"name": "Bontrager Bike Helmet Fit Pad Hook & Loop Kit",
"price": "43.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "14153",
"name": "Bontrager Dipper Bike Helmet Fit Pad",
"price": "36.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "grey",
"list": "More Options",
"position": 12
}
,
{
"id": "26311",
"name": "Bontrager Circuit Mips 自行车头盔衬垫套件",
"price": "72.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "More Options",
"position": 13
}
,
{
"id": "14886",
"name": "Bontrager 2017/2018 Circuit Mips 自行车头盔衬垫",
"price": "72.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 14
}
,
{
"id": "28848",
"name": "Bontrager Blaze WaveCel NoSweat 自行车头盔适配垫",
"price": "180.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "More Options",
"position": 15
}
,
{
"id": "28847",
"name": "Bontrager XXX WaveCel NoSweat 自行车头盔适配垫",
"price": "180.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "More Options",
"position": 16
}
,
{
"id": "28846",
"name": "Bontrager XXX WaveCel 自行车头盔适配垫",
"price": "160.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "More Options",
"position": 17
}
,
{
"id": "28850",
"name": "Bontrager Blaze WaveCel 自行车头盔适配垫",
"price": "160.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "More Options",
"position": 18
}
,
{
"id": "28851",
"name": "Bontrager Charge WaveCel 自行车头盔适配垫",
"price": "150.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "More Options",
"position": 19
}
,
{
"id": "28849",
"name": "Bontrager Specter WaveCel 自行车头盔适配垫",
"price": "150.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "More Options",
"position": 20
}
,
{
"id": "33411",
"name": "Bontrager Starvos WaveCel 自行车头盔适配垫",
"price": "135.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "More Options",
"position": 21
}
,
{
"id": "22316",
"name": "Bontrager Velocis Mips 自行车头盔衬垫",
"price": "100.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "More Options",
"position": 22
}
,
{
"id": "14150",
"name": "Bontrager Lithos Helmet Pad Kit",
"price": "92.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "grey",
"list": "More Options",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}