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": "CATEGORY",
"position": 1
}
,
{
"id": "45368",
"name": "Trek Mosaic 男女通用 T 恤",
"price": "258.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41979",
"name": "Trek Quilted Jogger 男女通用运动衫",
"price": "688.0",
"brand": "Trek",
"category": "Men's t-shirts & casual",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "45366",
"name": "Trek 复古徽标拉链男女通用连帽衫",
"price": "688.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40636",
"name": "Trek Radventure Unisex T-Shirt",
"price": "258.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "brown",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40638",
"name": "Trek Fade Women's T-Shirt",
"price": "258.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "tealdark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37330",
"name": "Trek Basket Bike Women's T-Shirt",
"price": "258.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "yellow",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "40640",
"name": "Trek Lake Dreams Unisex T-Shirt",
"price": "258.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "32581",
"name": "Trek Team Car T-Shirt",
"price": "238.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "bluedark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "45365",
"name": "Trek Acidic Vibe 男女通用连帽衫",
"price": "688.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black_brown",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "41973",
"name": "Trek Quilted Crewneck 男女通用运动衫",
"price": "658.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greendark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "41978",
"name": "Trek Fun Badge Unisex Hoodie",
"price": "658.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "reddark",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "41970",
"name": "Trek Sunset Script Unisex Hoodie",
"price": "658.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "41971",
"name": "Trek Chain Stitch Unisex Hoodie",
"price": "658.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "tan",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "41969",
"name": "Trek Department of Fun Unisex Hoodie",
"price": "658.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "41972",
"name": "Trek Color Block Logo Unisex Hoodie",
"price": "658.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greendark_tan",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "34751",
"name": "Trek In Bikes We Trust 圆领运动衫",
"price": "598.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "grey",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "36293",
"name": "Trek 复古徽标帽衫",
"price": "598.0",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "45369",
"name": "Trek Bicycle 男女通用长袖 Henley",
"price": "388.0",
"brand": "Trek",
"category": "Men's t-shirts & casual",
"variant": "black",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "34749",
"name": "Trek Bicycle Script 帽衫",
"price": "598.0",
"brand": "BCycle",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "CATEGORY",
"position": 20
}
]
}
});
} else {
console.log("dataLayer");
}