if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "42257",
"name": "Trek RSL 车座",
"price": "2880.0",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "32224",
"name": "Bontrager Verse Pro 自行车车座",
"price": "1980.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35553",
"name": "Bontrager Verse Short Pro 自行车车座",
"price": "1980.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35552",
"name": "Bontrager Verse Short Elite 自行车车座",
"price": "998.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "32223",
"name": "Bontrager Verse Elite 自行车车座",
"price": "998.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "32222",
"name": "Bontrager Verse Comp 自行车车座",
"price": "498.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35551",
"name": "Bontrager Verse Short Comp 自行车车座",
"price": "498.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "44984",
"name": "Trek Verse Short Comp 自行车车座",
"price": "498.0",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}