Search code examples
mysqldjangologgingtracking

Create a logging system to log user activity in Django


I would like to have a functionality to log a user activities after they have been logged into my Django app. The log will consist of user tracking details such as how long a user spent on a webpage, how often the webpage is being served up for the user. Mainly getting details on how popular a certain webpage or data in my Django app so that I could create more content that users prefer. Any ideas or tools to implement this?


Solution

  • Thanks for the suggestions. However after researching I managed to find Posthog to be the most suitable. https://github.com/PostHog/posthog