if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "27290",
"name": "Bontrager TLR 轮胎自补剂",
"price": "228.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44292",
"name": "Bontrager Tapered Base TLR Valve Stem",
"price": "140.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "29226",
"name": "Bontrager Presta Valve Extenders",
"price": "88.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "12968",
"name": "Bontrager TLR 密封剂注射器",
"price": "80.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "13521",
"name": "Bontrager 矩形底座 TLR 气门杆",
"price": "72.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "27395",
"name": "Bontrager 圆底 TLR 阀杆",
"price": "57.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "greydark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "07799",
"name": "Bontrager Tire Lever Set",
"price": "18.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41411",
"name": "Trek Pro BITS 多功能工具",
"price": "638.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "44751",
"name": "Trek Elite BITS 多功能工具",
"price": "418.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "42298",
"name": "Pirelli SmarTUBE Innertube Patch Kit",
"price": "58.0",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "yellow",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}