概述
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "48605",
"name": "女式 Rapha 专业团队冬季骑行夹克",
"price": "2630.0",
"brand": "Rapha",
"category": "Cycling jackets",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "48604",
"name": "Rapha Pro Team 冬季骑行夹克",
"price": "2630.0",
"brand": "Rapha",
"category": "Cycling jackets",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "48603",
"name": "Rapha Brevet 保暖骑行夹克",
"price": "2100.0",
"brand": "Rapha",
"category": "Cycling jackets",
"variant": "bluedark",
"list": "More Options",
"position": 3
}
,
{
"id": "48606",
"name": "女式 Rapha Pro Team 轻质长袖骑行服",
"price": "1450.0",
"brand": "Rapha",
"category": "Cycling jackets",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "47314",
"name": "Rapha 女式 Core II 骑行雨衣",
"price": "1490.0",
"brand": "Rapha",
"category": "Cycling jackets",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "47313",
"name": "Rapha Core II 骑行雨衣",
"price": "1490.0",
"brand": "Rapha",
"category": "Cycling jackets",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "36067",
"name": "Trek Circuit Women's Windshell Cycling Jacket",
"price": "788.0",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "36066",
"name": "Trek Circuit Windshell Cycling Jacket",
"price": "788.0",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "white",
"list": "More Options",
"position": 8
}
,
{
"id": "47312",
"name": "Rapha Pro Team GORE-TEX 骑行雨衣",
"price": "2980.0",
"brand": "Rapha",
"category": "Cycling jackets",
"variant": "bluedark",
"list": "More Options",
"position": 9
}
,
{
"id": "47370",
"name": "Rapha 核心冬季骑行夹克",
"price": "1620.0",
"brand": "Rapha",
"category": "Cycling jackets",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "47354",
"name": "Rapha 女式核心冬季骑行夹克",
"price": "1620.0",
"brand": "Rapha",
"category": "Cycling jackets",
"variant": "black_white",
"list": "More Options",
"position": 11
}
,
{
"id": "36063",
"name": "Trek Circuit 防雨骑行夹克",
"price": "1288.0",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 12
}
,
{
"id": "36062",
"name": "Trek Circuit 女式软壳骑行夹克",
"price": "888.0",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "36061",
"name": "Trek Circuit 软壳骑行夹克",
"price": "888.0",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 14
}
]
}
});
} else {
console.log("dataLayer");
}