The digital revolution caused major changes in the world because not only are people increasingly connected, but companies are also turning more to the use of intelligent systems. The large amount of information about each product provided by the e-commerce websites may confuse the customers in their choices. The recommendations system and Internet of Things (IoT) are being used by an increasing number of e-commerce websites to help customers find products that fit their profile and to purchase what they had already chosen. This paper proposes a novel IoT based system that would serve as the foundation for creating a profile, which will store all the contextual data, personalize the content, and create a personal profile for each user. In addition, customer segmentation is used to determine which items the client wants. Next, statistical analysis is performed on the extracted data, where feelings, state of mind, and categorization play a critical role in forecasting what customers think about products, services, and so on. We will assess the accuracy of the forecasts to identify the most appropriate products based on the multi-source data thanks to the IoT, which assigns a digital footprint linking customers, processes, and things through identity-based information and recommendations, which is applied by using Raspberry Pi and other sensors such as the camera. Moreover, we perform experiments on the recommendation system to gauge the precision in predictions and recommendations.