概述
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "34652",
"name": "Trek Circuit 女式 LTD 骑行服",
"price": "588.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "purplelight_purpledark",
"list": "More Options",
"position": 1
}
,
{
"id": "47296",
"name": "Rapha 女式 Core 骑行服",
"price": "830.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "pinkvisibility",
"list": "More Options",
"position": 2
}
,
{
"id": "47290",
"name": "Rapha Pro Team 女式轻量骑行服",
"price": "1750.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "bluedark",
"list": "More Options",
"position": 3
}
,
{
"id": "47292",
"name": "Rapha Pro Team 女式训练骑行服",
"price": "1270.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "48608",
"name": "Rapha 女式核心保暖长袖骑行服",
"price": "1010.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "47298",
"name": "Rapha 女式 Core 长袖骑行服",
"price": "1000.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "47294",
"name": "Rapha 女式 Core 轻量骑行服",
"price": "830.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "pinkvisibility",
"list": "More Options",
"position": 7
}
,
{
"id": "48610",
"name": "Rapha Women's Core Cycling Jersey",
"price": "830.0",
"brand": "Rapha",
"category": "Road bike apparel",
"variant": "green",
"list": "More Options",
"position": 8
}
,
{
"id": "36069",
"name": "Trek Circuit Women's LTD Long Sleeve Cycling Jersey",
"price": "688.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greendark_teal",
"list": "More Options",
"position": 9
}
,
{
"id": "35816",
"name": "Trek Circuit 女式骑行服",
"price": "588.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "pinklight",
"list": "More Options",
"position": 10
}
,
{
"id": "46757",
"name": "Santini Lidl-Trek RSL 车队版骑行服",
"price": "1280.0",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 11
}
,
{
"id": "46735",
"name": "Santini Lidl-Trek 车队车迷版长袖保暖骑行服",
"price": "1280.0",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 12
}
,
{
"id": "44124",
"name": "Santini Trek-Segafredo 女式车队版 Replica Race 骑行服",
"price": "888.0",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "white_bluelight",
"list": "More Options",
"position": 13
}
,
{
"id": "56745",
"name": "Santini Lidl-Trek 女款车迷版竞赛骑行服",
"price": "888.0",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 14
}
,
{
"id": "45333",
"name": "Santini Lidl-Trek 女款车迷版竞赛骑行服",
"price": "888.0",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}