if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "37895",
"name": "Trek Lock Bumper Set with Bolts",
"price": "200.0",
"brand": "Trek",
"category": "Bike locks",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "22562",
"name": "Bontrager Comp Combo 管线锁",
"price": "218.0",
"brand": "Bontrager",
"category": "Bike locks",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "22563",
"name": "Bontrager Comp 带钥匙管线锁",
"price": "198.0",
"brand": "Bontrager",
"category": "Bike locks",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34253",
"name": "Bontrager Pocket Locket 自行车锁",
"price": "168.0",
"brand": "Bontrager",
"category": "Bike locks",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "26939",
"name": "Bontrager 组合钢缆锁",
"price": "138.0",
"brand": "Bontrager",
"category": "Bike locks",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41255",
"name": "ABUS Ring Lock 4750XL R & RIB Battery Lock BES3 DT3 T82",
"price": "880.0",
"brand": "ABUS",
"category": "Bike locks",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41254",
"name": "ABUS Ring Lock 4650XL NR & RIB Battery Lock BES3 DT3 T82",
"price": "840.0",
"brand": "ABUS",
"category": "Bike locks",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41157",
"name": "ABUS Bosch Smart System T82 Downtube Battery Lock",
"price": "250.0",
"brand": "ABUS",
"category": "E-bike batteries & parts",
"variant": "greylight",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "32619",
"name": "AXA Bosch 2 Downtube Battery Lock & Removeable Key",
"price": "215.0",
"brand": "AXA",
"category": "Bike locks",
"variant": "greylight",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "12193",
"name": "AXA RIDE+ G2 Docking Lock Cylinder",
"price": "157.0",
"brand": "AXA",
"category": "Bike locks",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}