Once the tracking extension is installed, it will begin collecting data when logged in users visit the site.
Site usage data can be viewed in two places:
- At the bottom of the User Profile
- In the Dashboard > User Tracking Page
When viewing data in the user profile, the stats will show the time stamp of the user’s last login as well as the last 5 pages visited (this can be increased or decreased with the wpmemstat_max_per_user filter). Fields displayed can be changed with the wpmemstat_display_fields filter. The bottom of the list will include a link to the dashboard to view the full list of stats for that particular user.
When viewing stats in the dashboard, you will see the same fields that are displayed in the user profile. These can be filtered with wpmemstat_display_fields. The number of stats per page can be filtered with wpmemstat_max_per_page. You can view all stats of select a specific user from the dropdown list. The wpmemstat_user_droplist filter allows you to display the values in the dropdown by either user_login (the username) or displayname (if you are using a different value for displayname than username).
You can exclude a user from stat collection (such as any admins) with the wpmemstat_user_exclude filter.
The extension adds a tab to the WP-Members plugin options called “Tracking”. Under this tab you can set what happens when you either delete a user or delete (not just deactivate) the extension. On user delete, you can select to delete any stats related to that user. You can also set the extension to remove the database table in which stats are stored if you delete the extension. Please note that using either of these two options deletes that data – there is no way to get it back, so keep a database backup if you think you will need it.