概述
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "34651",
"name": "Trek Circuit 骑行服",
"price": "588.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "red",
"list": "More Options",
"position": 1
}
,
{
"id": "47295",
"name": "Rapha Core 骑行服",
"price": "830.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "red",
"list": "More Options",
"position": 2
}
,
{
"id": "37365",
"name": "Trek Circuit 保暖长袖骑行服",
"price": "788.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greydark",
"list": "More Options",
"position": 3
}
,
{
"id": "36068",
"name": "Trek Circuit LTD Long Sleeve Cycling Jersey",
"price": "688.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "reddark_bluedark",
"list": "More Options",
"position": 4
}
,
{
"id": "47339",
"name": "Rapha Brevet 长袖男士骑行服",
"price": "1930.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "blue",
"list": "More Options",
"position": 5
}
,
{
"id": "47299",
"name": "Rapha Brevet 骑行服",
"price": "1750.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "bluedark",
"list": "More Options",
"position": 6
}
,
{
"id": "47289",
"name": "Rapha Pro Team 轻量骑行服",
"price": "1750.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "bluedark",
"list": "More Options",
"position": 7
}
,
{
"id": "47348",
"name": "Rapha Pro Team 轻量骑行服",
"price": "1450.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "47291",
"name": "Rapha Pro 团队训练骑行服",
"price": "1270.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "white",
"list": "More Options",
"position": 9
}
,
{
"id": "48607",
"name": "Rapha 核心保暖长袖骑行服",
"price": "1010.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "47297",
"name": "Rapha Core 长袖骑行服",
"price": "1000.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "47293",
"name": "Rapha Core 轻量骑行服",
"price": "830.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "pink",
"list": "More Options",
"position": 12
}
,
{
"id": "48609",
"name": "Rapha Core Cycling Jersey",
"price": "830.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "brown",
"list": "More Options",
"position": 13
}
,
{
"id": "34653",
"name": "Trek Solstice 骑行服",
"price": "388.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "red",
"list": "More Options",
"position": 14
}
,
{
"id": "46757",
"name": "Santini Lidl-Trek RSL 车队版骑行服",
"price": "1280.0",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 15
}
,
{
"id": "46735",
"name": "Santini Lidl-Trek 车队车迷版长袖保暖骑行服",
"price": "1280.0",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 16
}
,
{
"id": "45331",
"name": "Santini Lidl-Trek 车迷版竞赛骑行服",
"price": "888.0",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 17
}
,
{
"id": "34846",
"name": "Santini Trek Factory Team Replica 骑行服",
"price": "880.0",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_bluelight",
"list": "More Options",
"position": 18
}
,
{
"id": "34848",
"name": "Santini Trek Factory Team Replica CX 男士骑行服",
"price": "880.0",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_red",
"list": "More Options",
"position": 19
}
]
}
});
} else {
console.log("dataLayer");
}