Skip to content

Track user activity #197

@rajatmw1999

Description

@rajatmw1999

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.

Metadata

Metadata

Assignees

Labels

gssoc20Issue created during GirlScript Summer of Code 2020hard

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions