Data analytics techniques are widely used in customer segmentation, which groups objects according to the similarity difference on each object and provides a high level of homogeneity in the same cluster or a high level of heterogeneity between each group. In this study, the behavior of customers in the retail sector was analyzed using customer segmentation data mining methods such as OPTICS, BIRCH, Agglomerative Clustuering, K-Means and DBSCAN algithms. The aim of the study is to investigate different data analytics algorithms using a private textile and retail company that has an agreement with e-commerce sites and marketplaces. OPTICS, BIRCH, Agglomerative Clustuering, K-Means have shown almost same clustering results, DBSCAN has outperformed with 0.206086 Silhouette value. The purpose of this paper is to provide a proof of concept of how e-commerce data analytics can be used in customer segmentation.