if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "31193",
"name": "Bontrager Connection 26 นิ้ว 36 หลุม ขอบล้อ",
"price": "900.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "31494",
"name": "Alex MD35 27.5˝ ดิสก์ MTB ขอบล้อ",
"price": "2225.0",
"brand": "Alex Global Technology",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37315",
"name": "ขอบล้อเสือภูเขา Alex MD35 29 นิ้ว",
"price": "2025.0",
"brand": "Alex Global Technology",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}