if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "23364",
"name": "Bontrager XXX 变速线和外管套件",
"price": "638.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "23277",
"name": "Bontrager Pro 变速线和外管套件",
"price": "388.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "23365",
"name": "Bontrager Elite 变速线和外管套件",
"price": "248.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "23369",
"name": "Bontrager Pro 变速线缆",
"price": "189.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "23370",
"name": "Bontrager Elite 变速线缆",
"price": "158.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "23366",
"name": "Bontrager Comp 变速线和外管套件",
"price": "138.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "white",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "23371",
"name": "Bontrager Comp Shift Cable",
"price": "35.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "23363",
"name": "Bontrager 变速线和外管套件",
"price": "28.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "45327",
"name": "microSHIFT SL-M6285-R 8-Speed Shifter",
"price": "158.0",
"brand": "microSHIFT",
"category": "Bike shifters",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "45328",
"name": "microSHIFT SL-M6295-R 9-Speed Shifter",
"price": "158.0",
"brand": "microSHIFT",
"category": "Bike shifters",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}