3 comments

  1. A basic user login tracker is pretty trivial to implement.

    function track_user_login_wpse_100929($id,$user) {
      $tracking = get_user_meta($user->ID,'tracking_key_name',true); 
      $tracking[] = time();
      update_user_meta($user->ID,'tracking_key_name',$tracking);
    }
    add_action('wp_login','track_user_login_wpse_100929',1,2);
    

    After that you just need to work out the details such as how long you are going to keep the history, what kind of reports you want to pull, that kind of thing.

Comments are closed.