Segmentasi Pelanggan E-Commerce UMKM Indragiri Hilir Menggunakan Algoritma K-Means dan Analisis RFM
DOI:
https://doi.org/10.55382/jurnalpustakaai.v6i2.2096Kata Kunci:
SME E-Commerce, K-Means Clustering, RFM Analysis, Customer Segmentation, Indragiri Hilir.Abstrak
Micro, Small, and Medium Enterprises (MSMEs) in Indragiri Hilir Regency (INHIL) play a strategic role in the local economy, particularly through the marketing of local specialty products such as dodol, crackers, and syrup. However, the majority of MSME operators still face challenges in optimally utilizing historical transaction data to formulate effective and measurable marketing strategies. This study aims to design and implement a web-based e-commerce system integrated with a smart customer segmentation module using a K-Means Clustering algorithm based on the Recency, Frequency, Monetary (RFM) metric. Methodologically, transaction data is extracted from a relational database using PHP (PDO) and MySQL. To ensure clustering accuracy, the data is processed through Min-Max Scaling normalization to eliminate scale bias between high-value nominal variables and low-frequency ones. The algorithm then calculates Euclidean distances to objectively group customers into three distinct segments. The system’s key advantage lies in its dynamic labeling mechanism (intelligent labeling), which automatically names clusters based on customer value scores, resulting in clear categories: “Loyal/Royal,” “Potential,” and “Needs Attention.” System testing results show that this platform successfully processes and visualizes customer data in real-time through an interactive and responsive analytics dashboard. This implementation not only modernizes the user interface but also provides concrete data-driven insights for business managers. Consequently, SME administrators can design personalized promotional strategies, improve customer retention, and significantly optimize revenue, while also serving as a practical reference for accelerating the digital transformation of SMEs in rural areas.
Unduhan
Referensi
P. M. K. Mado and Hendry, “Implementasi Algoritma Clustering K-Means untuk Segmentasi Pelanggan di E-Commerce,” J. Indones. Manaj. Inform. dan Komun., vol. 6, no. 3, pp. 1680–1686, 2025.
A. Habib, A. S. Ekawati, G. Kusnanto, M. Siqdon, T. Informatika, and K. Sukolilo, “RANCANG BANGUN E-COMMERCE GROSIR SMART?: APLIKASI WEB SERVICE BERBASIS PRODUCT KNOWLEDGE UNTUK CV KEKE SAPUTRA,” JATI (Jurnal Mhs. Tek. Inform., vol. 10, no. 3, pp. 3840–3846, 2026.
A. I. Musyaffa, M. I. Zulfa, and M. S. Alim, “RANCANG BANGUN PURECOMPUTE PLATFORM E-COMMERCE UNTUK BELANJA LAPTOP BERBASIS WEBSITE,” SINTA J. Sist. Inf. dan Teknol. Komputasi, vol. 1, no. 1, pp. 21–29, 2024.
M. A. Jollando, P. W. Buana, and F. Purnama, “Rancang Bangun Aplikasi E-Commerce Kerajinan Bambu Berbasis Android untuk Desa Belega,” SATESI J. Sains Teknol. dan Sist. Inf., vol. 4, no. 2, pp. 200–213, 2024, doi: 10.54259/satesi.v4i2.3355.
I. Rediutami, A. Mufliq, and S. Mu’min, “Penerapan Algoritma K-Means Clustering untuk Pengelompokan Karakteristik Limbah Makanan,” J. Pustaka AI, vol. 6, no. 1, pp. 124–133, 2026.
R. A. Praptiwi, Y. Muharmi, and D. Amelia, “Clustering Toko Ritel Berdasarkan Pola Penjualan Produk Menggunakan Algoritma K-Means,” J. Pustaka AI, vol. 6, no. 1, pp. 103–111, 2026.
A. Wasilewski, “Customer segmentation in e-commerce: a context-aware quality framework for comparing clustering algorithms,” J. Internet Serv. Appl., vol. 15, no. 1, pp. 160–178, 2024, doi: 10.5753/jisa.2024.3851.
B. M. Wildani, S. A. Wicaksono, and D. Kurnianingtyas, “Optimalisasi Strategi untuk Healthtech Customer Relationship Management ( CRM ) melalui Analisis Segmentasi Pelanggan B2B Menggunakan Metode K-Means dan Customer Lifetime Value ( CLV ),” J. Pengemb. Teknol. Inf. dan Ilmu Komput., vol. 9, no. 12, pp. 1–10, 2025.
C. Uripto, P. Mayang, and A. A. Yana, “Analisis Segmentasi Pelanggan E-Commerce Menggunakan Metode Clustering Berbasis RFM,” ALMUISY J. Al Muslim Inf. Syst., vol. V, no. 1, pp. 49–54, 2026.
H. Safitri, S. Putri Lenggo Geni, F. Merry, and M. Wati, “Penerapan K-Means Clustering untuk Segmentasi Konsumen E-Commerce Penerapan K-Means Clustering untuk Segmentasi Konsumen E-Commerce Berdasarkan Pola Pembelian,” JUKI J. Komput. dan Inform., vol. 7, no. 1, pp. 89–99, 2025.
I. Tazkiyah, A. A. Arifiyanti, and A. R. E. Najaf, “IMPLEMENTASI SEGMENTASI PELANGGAN E-COMMERCE MENGGUNAKAN ALGORITMA K-MEANS PADA WEBSITE,” Pros. Semin. Nas. Teknol. dan Sist. Inf., no. September, pp. 6–7, 2023.
N. Mirantika and E. Rijanto, “Implementasi Metode Clustering Partisi dalam Menentukan Segmentasi Pelanggan,” J. Tata Kelola dan Kerangka Kerja Teknol. Inf., vol. 10, no. 1, pp. 8–14, 2024, doi: 10.34010/jtk3ti.v10i1.11320.
B. T. Kristanti, A. Junaidi, and E. P. Mandyartha, “IMPLEMENTASI K-MEANS CLUSTERING DALAM SEGMENTASI PELANGGAN BERDASARKAN USIA, PENDAPATAN, DAN MODEL RFM (STUDI KASUS: LANTIKYA STORE JOMBANG),” J. Inform. dan Tek. Elektro Terap., vol. 12, no. 3, pp. 2099–2112, 2024, doi: 10.23960/jitet.v12i3.4677.
R. M. Fauzan and G. Alfian, “Segmentasi Pelanggan E-Commerce Menggunakan Fitur Recency, Frequency, Monetary (RFM) dan Algoritma Klasterisasi K-Means,” JISKA (Jurnal Inform. Sunan Kalijaga), vol. 9, no. 3, pp. 170–177, 2024, doi: 10.14421/jiska.2024.9.3.170-177.
S. A. Perdana, S. F. Florentin, and A. Santoso, “ANALISIS SEGMENTASI PELANGGAN MENGGUNAKAN K-MEANS CLUSTERING STUDI KASUS APLIKASI ALFAGIFT,” Sebatik, vol. 26, no. 2, pp. 420–427, 2022, doi: 10.46984/sebatik.v26i2.2134.
A. N. Azizah, A. Mufliq, and A. Andhyka, “Klasterisasi Potensi Budidaya Bawang Putih Berdasarkan Faktor Iklim Menggunakan PCA dan K-Means,” J. Pustaka AI, vol. 6, no. 1, pp. 1–11, 2026.
##submission.downloads##
Diterbitkan
Cara Mengutip
Terbitan
Bagian
Lisensi
Hak Cipta (c) 2026 Zulrahmadi, Muhammad Jibril, Rifaldo Pratama

Artikel ini berlisensi Creative Commons Attribution 4.0 International License.




