How can I track user/member logins on my site

Permalink
I am building a site that will have multiple registered users. These registered users will be viewing certain pages that are not available to the general public. Is there a way that the admin can view a report of member logins (how many logins, and when, perhaps even which pages were viewed)? I know that number of logins per user is available in the "Search Users" section, but I would like to have more information about each of those logins if possible.

Thanks!
Lindsey

lmestep
View Replies:
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi lmestep,

I don't believe there is a way to do this without writing some custom code. There isn't a native page view statistics feature and only the user last login and last online are saved.

Is there a reason why you need to track the login and viewing activity?
lmestep replied on at Permalink Reply
lmestep
Thanks for the quick response!
Our client has requested the ability to generate a log of user activity. Several constituents will login to view reports, so I believe our client wants to see who is actually logging in to see those reports and how often. Also, they want to be able to track usage for HIPPA reporting/requirements.

Do you have any suggestions for a work around or another approach to this? Could we go through our host and pull this information directly from the database somehow? (I really only know the basics of database setup/backup, I'm not especially familiar with extracting info from them.)
MrKDilkington replied on at Permalink Reply
MrKDilkington
@lmestep

Are these reports in file form?
lmestep replied on at Permalink Reply
lmestep
There will be monthly reports in PDF form that they can view/download, but there will also be daily reports that are displayed on the page via <iframe>.
MrKDilkington replied on at Permalink Reply
MrKDilkington
@lmestep

After users log in, are there any additional access controls for downloading/viewing the PDF files?
lmestep replied on at Permalink Reply
lmestep
Nope. Once they're logged in, they'll have access to all of the reports that pertain to their business.
MrKDilkington replied on at Permalink Reply
MrKDilkington
@lmestep

I am by no means well versed in HIPAA compliance, but I recommend adding additional access controls, including password protection, file encryption, and encrypted transfer using SSL.
lmestep replied on at Permalink Reply
lmestep
We're actually looking into security needs now with the client. Regardless of file types/extra credentials, do you know of any way we could get a daily log of user activity? I even checked the marketplace for Add-Ons, but couldn't seem to find anything.
WillemAnchor replied on at Permalink Reply
WillemAnchor
It would need some programming.
My 'User Info' add-on shows only info about the current user (or the author).

You would need to create some database table to keep stats of the userId, the pageId and the data you want to track, like login time, duration, etc.

This could be done in a block that you place on every page (like a global area) or could be coded into your theme.

Then you could retrieve this data and create reports with single pages.

I didn't look into the current stats mechanism, but maybe this could be used and extended.
katz515 replied on at Permalink Reply
katz515
I may not answering your question. But

Here is an add on called Login Alert
https://www.concrete5.org/marketplace/addons/login-alert/...
that notify you when someone logs in.

Then, we started to use Mautic, an open source marketing automation tool
http://mautic.org
to track the users for lead nurturing (marketing automation)

We're trying to come up with the system that user info of concrete5 and Mautic lead and CRM to tied together to collect user info