概述
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "45367",
"name": "Trek Trails 男女通用 T 恤",
"price": "258.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "green",
"list": "More Options",
"position": 1
}
,
{
"id": "45368",
"name": "Trek Mosaic 男女通用 T 恤",
"price": "258.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "white",
"list": "More Options",
"position": 2
}
,
{
"id": "41979",
"name": "Trek Quilted Jogger 男女通用运动衫",
"price": "688.0",
"brand": "Trek",
"category": "Men's t-shirts & casual",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "45366",
"name": "Trek 复古徽标拉链男女通用连帽衫",
"price": "688.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "36289",
"name": "Trek 复古徽标 T 恤",
"price": "258.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "bluedark",
"list": "More Options",
"position": 5
}
,
{
"id": "40638",
"name": "Trek Fade Women's T-Shirt",
"price": "258.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "tealdark",
"list": "More Options",
"position": 6
}
,
{
"id": "37330",
"name": "Trek Basket Bike Women's T-Shirt",
"price": "258.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "yellow",
"list": "More Options",
"position": 7
}
,
{
"id": "40636",
"name": "Trek Radventure Unisex T-Shirt",
"price": "258.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "brown",
"list": "More Options",
"position": 8
}
,
{
"id": "40640",
"name": "Trek Lake Dreams Unisex T-Shirt",
"price": "258.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "37326",
"name": "Trek Feel Good T-Shirt",
"price": "258.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "37324",
"name": "Trek Ride Club T-Shirt",
"price": "258.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "32581",
"name": "Trek Team Car T-Shirt",
"price": "238.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "bluedark",
"list": "More Options",
"position": 12
}
,
{
"id": "37316",
"name": "Trek 80s Fade Hoodie",
"price": "688.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "More Options",
"position": 13
}
,
{
"id": "37317",
"name": "Trek Diamond Patch Hoodie",
"price": "688.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "More Options",
"position": 14
}
,
{
"id": "45365",
"name": "Trek Acidic Vibe 男女通用连帽衫",
"price": "688.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black_brown",
"list": "More Options",
"position": 15
}
,
{
"id": "41973",
"name": "Trek Quilted Crewneck 男女通用运动衫",
"price": "658.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greendark",
"list": "More Options",
"position": 16
}
,
{
"id": "41978",
"name": "Trek Fun Badge Unisex Hoodie",
"price": "658.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "reddark",
"list": "More Options",
"position": 17
}
,
{
"id": "41970",
"name": "Trek Sunset Script Unisex Hoodie",
"price": "658.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "More Options",
"position": 18
}
,
{
"id": "41971",
"name": "Trek Chain Stitch Unisex Hoodie",
"price": "658.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "tan",
"list": "More Options",
"position": 19
}
,
{
"id": "41969",
"name": "Trek Department of Fun Unisex Hoodie",
"price": "658.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "More Options",
"position": 20
}
,
{
"id": "41972",
"name": "Trek Color Block Logo Unisex Hoodie",
"price": "658.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greendark_tan",
"list": "More Options",
"position": 21
}
,
{
"id": "34751",
"name": "Trek In Bikes We Trust 圆领运动衫",
"price": "598.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "grey",
"list": "More Options",
"position": 22
}
,
{
"id": "36293",
"name": "Trek 复古徽标帽衫",
"price": "598.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "More Options",
"position": 23
}
,
{
"id": "37318",
"name": "Trek Everyone Crewneck Sweatshirt",
"price": "558.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "tan",
"list": "More Options",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}