if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "23383",
"name": "Bontrager自行车清洁剂",
"price": "120.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "23386",
"name": "Bontrager 油脂",
"price": "88.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "23382",
"name": "Bontrager 除油剂",
"price": "160.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "26798",
"name": "Bontrager Grease Gun",
"price": "280.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "greylight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "23385",
"name": "Bontrager 装配润滑油",
"price": "118.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "23381",
"name": "Bontrager 链条润滑油",
"price": "90.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "32461",
"name": "Trek Supercaliber Strut Service Lubricant 10 Weight",
"price": "180.0",
"brand": "Maxima",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}