if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "38009",
"name": "Trek 2022 Speed Concept TT Basebar",
"price": "4980.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "38001",
"name": "Trek 2022 Speed Concept SLR Basebar/Stem",
"price": "4980.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "13909",
"name": "Bontrager Speed Concept Base Non-UCI Legal Handlebar",
"price": "4267.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "13910",
"name": "Bontrager Speed Concept Base UCI Legal Handlebar",
"price": "4267.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "30032",
"name": "Trek TT Mono Ergo Extension",
"price": "1200.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41723",
"name": "Trek TT Mono Extension",
"price": "1200.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41724",
"name": "Trek TT Mono Extension Plug-in",
"price": "1200.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41170",
"name": "Trek Speed Concept Arm Pad Set",
"price": "620.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "41169",
"name": "Trek Speed Concept Handlebar Storage Port Foam",
"price": "30.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "41168",
"name": "Trek Speed Concept Handlebar Cover Foam",
"price": "30.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "07224",
"name": "Bontrager Race Lite Aero 夹式车把",
"price": "880.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}