if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "25835",
"name": "Trek BarStem 钛夹点螺栓",
"price": "60.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "25853",
"name": "Trek Speed Concept Aerobar Mono Spacer",
"price": "50.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "21503",
"name": "Trek 儿童流苏",
"price": "44.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "pink",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "42042",
"name": "Trek 2023 Madone SLR Gen 7 Integrated Barstem Bearing Top Cap",
"price": "40.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "38232",
"name": "Trek Speed Concept Cockpit Bolt Cover Bolts",
"price": "40.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "38360",
"name": "Trek 2022 Speed Concept Cockpit Bolts",
"price": "38.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "25845",
"name": "Trek Speed Concept Handlebar Grommet",
"price": "36.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41168",
"name": "Trek Speed Concept Handlebar Cover Foam",
"price": "30.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": "10311",
"name": "Bontrager IsoZone 把横塞",
"price": "25.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "38028",
"name": "Trek 2022 Speed Concept Aero Barstem Cap Plug",
"price": "20.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "32593",
"name": "Trek Blendr 到 BarStem 安装螺栓",
"price": "15.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "34801",
"name": "Trek Aeolus Bar/Stem Routing Cover Foam",
"price": "8.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "41067",
"name": "Hyena Bluetooth HMI Clamp",
"price": "120.0",
"brand": "Hyena",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
]
}
});
} else {
console.log("dataLayer");
}