if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "44446",
"name": "Trek Ion 50 R 前车灯",
"price": "138.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44445",
"name": "Trek Flare R Metro 后车灯",
"price": "138.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25860",
"name": "Trek Kids MT 200 Seatpost",
"price": "108.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "26816",
"name": "Bontrager XR1 儿童山地车轮胎",
"price": "88.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "30971",
"name": "Trek Kids' Platform Large Pedal Set",
"price": "80.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "orange",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "30977",
"name": "Trek Kids' Platform Small Pedal Set",
"price": "80.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "09955",
"name": "Trek Kids' Brake Levers",
"price": "72.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "10861",
"name": "Trek Kids Dialed Pedal Set",
"price": "67.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "white",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "30976",
"name": "Trek 童车的转把变速器把套",
"price": "60.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "30975",
"name": "TREK 童车单速把套",
"price": "60.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "14153",
"name": "Bontrager Dipper Bike Helmet Fit Pad",
"price": "36.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "grey",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "25874",
"name": "Trek 儿童座杆夹具",
"price": "20.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "41994",
"name": "Trek Kids' Center Mount 235mm Kickstand",
"price": "90.0",
"brand": "Trek",
"category": "Bike kickstands",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "32536",
"name": "Trek Kids' Center Mount 247mm Kickstand",
"price": "90.0",
"brand": "Trek",
"category": "Bike kickstands",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
]
}
});
} else {
console.log("dataLayer");
}