In the ever-evolving landscape of retail, understanding shopper behavior is pivotal for optimizing sales and effectively managing product availability and placement. This study explores the integration of autonomous mobile robots into the shelf inspection process, leveraging advancements in automation, information, and robotics technology. Performing mapping tasks, these robots incorporate insights into customer behavior by exploiting various sources of behavioral data, including trajectories and product interactions. Motivated by the complex and dynamic nature of modern stores, our research seeks to bridge the gap in retail inventory management. Our unique contribution lies in the development of a novel path planning method for robots, specifically tailored for an automated inventory management system. By focusing on customer trajectories and product interactions, we aim to enhance the arrangement and positioning of products within retail spaces. Our research is motivated by the need to address the challenges faced by retailers in optimizing store layouts and product placements. The proposed strategy utilizes a heatmap and a vision-based system to analyze spatial and temporal patterns of shopper behavior. This information is then employed to optimize robot navigation in both highly and less-visited areas. Trajectories and product interactions data from real store installations were utilized in simulation, providing valuable insights into optimal planning for mobile robots to visit Points of Interest (PoI). The active shopping cart tracking system generated heatmaps, while a vision-based system collected shopper-products interactions data. Subsequently, our approach was deployed on a real retail robot for inventory management, and the path planning source code was released. Our findings demonstrate that the path planned by our approach not only avoids collisions with static store sections but also optimizes paths in areas with significant customer-shelf activity.