Track users logons

lawrence whittemore asked on January 12, 2015 14:56

Is there a way to track how often users are logging into a site?

Recent Answers


Vilém Jeniš answered on January 12, 2015 15:36

Yes.

Not built-in, but you can quite easily create a custom module. Leverage our custom tables API or create a custom class of your own. Then hook up to a global event (User logon) and have your code perform an entry whenever a user authenticates. Then you might go ahead and create a Report ouf of the data.

1 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on January 12, 2015 15:48

I'd highly suggest following Velem's suggestion of creating a global event. It works very well and can be done in about 20 lines of simple code.

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.