if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "45259",
"name": "Trek Fetch+ 2 Front Pannier Rack",
"price": "688.0",
"brand": "Trek",
"category": "Bike racks",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45161",
"name": "Trek Fetch+ 2 Family Pack Seat",
"price": "428.0",
"brand": "Trek",
"category": "Bike trailers & child seats",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "45162",
"name": "Trek Fetch+ 2 Family Pack Back Rest Pad",
"price": "308.0",
"brand": "Trek",
"category": "Bike trailers & child seats",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "10909",
"name": "Trek 脚蹬拖车挂钩套件",
"price": "270.0",
"brand": "Trek",
"category": "Bike trailers & child seats",
"variant": "grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "45462",
"name": "Trek Fetch+ 2 Safari Bar Mounting Kit",
"price": "158.0",
"brand": "Trek",
"category": "Bike trailers & child seats",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "10867",
"name": "Trek 拖车标志",
"price": "79.0",
"brand": "Trek",
"category": "Bike trailers & child seats",
"variant": "orange",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "45257",
"name": "Trek Fetch+ 2 Kicker Extension Bracket",
"price": "70.0",
"brand": "Trek",
"category": "Bike kickstands",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "45258",
"name": "Trek Fetch+ 2 Kicker Bracket Kit",
"price": "70.0",
"brand": "Trek",
"category": "Bike kickstands",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "26285",
"name": "Trek MT201/MT206 脚踏拖车折叠臂旋钮",
"price": "38.0",
"brand": "Trek",
"category": "Bike trailers & child seats",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "45160",
"name": "Trek Fetch+ 2 Family Pack Seat Base Mount Bracket",
"price": "28.0",
"brand": "Trek",
"category": "Bike trailers & child seats",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}