if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CNY",
"impressions": [
{
"id": "32824",
"name": "Trek Madone SLR/SL Repair Stand Adapter",
"price": "150.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "07156",
"name": "Bontrager Universal Repair Stand Adapter",
"price": "270.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35507",
"name": "Trek Domane MKIII Repair Stand Adapter",
"price": "150.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "26283",
"name": "Bontrager TTX/Speed Concept (Gen2) Repair Stand Adapter",
"price": "146.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "grey",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}