This paper investigates the use of Online Shopping as one of electronic marketing techniques as well as the effect of applying this shopping method and marketing on customer loyalty in Iran. The variables are extracted according to the review of literature and studies conducted in the field of shopping through cyberspace. A questionnaire is designed by applying these variables and distributed among a sample of service providers and users after testing its reliability and validity. Performing the statistical tests on the results of investigation led to the identification of effective factors. In addition, another questionnaire is distributed according to the obtained components in order to achieve a structural model for the impact of components on the customer loyalty. The structural equation modeling (SEM) is designed to learn the impact of obtained components on customer loyalty as a basis influencing on the survival of business space using SEM method. The study identified different components affected by utilization of online shopping websites including comprehensive information system, system development, choice power, viability and system optimization.