I some working code in
hook_user_login() that awards 5 points to users for each day they log into the site. If they log in twice in one day, points are not awarded the second time.
Originally, I thought users would login each time they visit the site but since users stay logged in between visits, they are not getting points for visiting once per day. For example, if they log in today, they get 5 points but tomorrow and each day they visit thereafter, they don't receive any.
I would like users to be awarded for each day they visit the site whether they need to log in or not. I wasn't able to find another hook that could do it. Does anyone know of one or some other method of tracking user visits?