BlogMan icon indicating copy to clipboard operation
BlogMan copied to clipboard

Track user activity

Open rajatmw1999 opened this issue 5 years ago • 2 comments

Write code to store the user activity in the user activity database model mentioned in issue #196 .

Tracking:

  1. Everytime a user visits the website, a call from front end should store that ip address in the database. If the IP address already exists, increment the number of visits in that particular record.
  2. As user clicks any button and visits any route, store the routes visited by the user in the array mentioned in database. Push the visited route in the array.
  3. Push the time spent by the user in that particular visit in an array.
  4. Push the ids of posts they liked in the array.
  5. Push the time they spent on each page and each section of page if possible.

Assume dummy data wherever possible, since the different parts of application are not completed yet.

rajatmw1999 avatar May 05 '20 17:05 rajatmw1999

I'd like to work on this.

rinsacm avatar May 06 '20 06:05 rinsacm

Assigned to @rinsacm

rajatmw1999 avatar May 06 '20 08:05 rajatmw1999