概述
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "44222",
"name": "Trek Madone SLR Gen 7 集成车把把立 Blendr 基座",
"price": "85.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "25631",
"name": "Trek Madone SLR Gen 6 Blendr 单用基座",
"price": "88.0",
"brand": "Trek",
"category": "Blendr integration",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "44496",
"name": "Trek RCS Pro Stem Blendr Bases",
"price": "88.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "42018",
"name": "Bontrager Speed Concept Blendr Duo 底座和码表支架",
"price": "1470.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "42017",
"name": "Bontrager Speed Concept Blendr Mono 底座和码表支架",
"price": "1250.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "37655",
"name": "Bontrager Speed Concept Blendr Duo Base",
"price": "600.0",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "25910",
"name": "Bontrager XXX BarStem Blendr 两用底座",
"price": "88.0",
"brand": "Bontrager",
"category": "Blendr integration",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "14695",
"name": "适用于 Bontrager Comp 和 Legacy Elite 把立的 Blendr 底座",
"price": "88.0",
"brand": "Bontrager",
"category": "Blendr integration",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "25909",
"name": "Bontrager XXX/Pro/Elite 立管的 Blendr 两用底座",
"price": "88.0",
"brand": "Bontrager",
"category": "Blendr integration",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "25908",
"name": "Bontrager Madone Bar/Stem Blendr 两用底座",
"price": "88.0",
"brand": "Bontrager",
"category": "Blendr integration",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "14423",
"name": "Bontrager Madone Handlebar/Stem Blendr Mono Base",
"price": "88.0",
"brand": "Bontrager",
"category": "Blendr integration",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "13764",
"name": "Bontrager XXX Handlebar/Stem Blendr Mono Base",
"price": "88.0",
"brand": "Bontrager",
"category": "Blendr integration",
"variant": "black",
"list": "More Options",
"position": 12
}
,
{
"id": "14608",
"name": "Bontrager RSL/XXX/Pro/Elite 立管的 Blendr 单用底座",
"price": "88.0",
"brand": "Bontrager",
"category": "Blendr integration",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "25911",
"name": "Bontrager Legacy XXX Stem Blendr 两用底座",
"price": "88.0",
"brand": "Bontrager",
"category": "Blendr integration",
"variant": "black",
"list": "More Options",
"position": 14
}
,
{
"id": "25610",
"name": "Bontrager Blendr Kovee Pro 35 立管基座",
"price": "88.0",
"brand": "Bontrager",
"category": "Blendr integration",
"variant": "black",
"list": "More Options",
"position": 15
}
,
{
"id": "13763",
"name": "Bontrager Legacy XXX Stem Blendr Mono Base",
"price": "88.0",
"brand": "Bontrager",
"category": "Blendr integration",
"variant": "black",
"list": "More Options",
"position": 16
}
]
}
});
} else {
console.log("dataLayer");
}