pythondjangodjango-templatesrecommendation-engineuser-tracking

How to recommend items in Django?


I want to track the user and which categories of blogs he/she is searching/reading then utilise this data to recommend blogs in a recommended blogs section in the home page. I have been researching for several days and found Django-recommends but the documentation is very unclear.Thanks in Advance...


Solution

  • If your blog is not too big and has a decent user and you want to trace your users make a table in the model. When a registered user will click the button of category or post then save the essential information (time, category, blog-type, etc.).

    Then when you will query for recommended posts for that user use these pieces of information.

    Another alternative effective way is google analytics. Add google analytics to your website. It will provide you all the necessary information about your blog and users. Use these pieces of information to recommend.