Get view totals per User

Individual user views are recorded in multiple places simultaneously:

  • Cookie tracking records views for everyone, whether they are logged-in or not.
  • Database tracking records views only for logged-in users.
// Cookie history of current user

# Database - Logged-in View Tracking

// Database history of currently logged in user

// Database history of specified user

Dual Tracking

It's important to note that views are tracked in both places simultaneously. Use whichever method makes the most sense for your project.