How to create an easy-to-pull report of recent user login activity? Answered
Hi all! Is there an easy way to pull a report of users logged in in the past week? Looking for ways to easily pull data. Thanks!
Hi all! Is there an easy way to pull a report of users logged in in the past week? Looking for ways to easily pull data. Thanks!
Comments
4 comments
You could add a custom field called "Last Login" and then create a script that automatically logs the date. Then, you could export your members and filter by last login date.
cc Magnaem Ambata sounds like a cool Memberscript idea! Like this one, but last login date instead of the IP address. https://www.memberstack.com/scripts/save-ip-address
Thank you so much! 🙂
I believe you could also use the in-built Last Login field that we see in the memberstack dashboard for every member and continue with the approach of exporting the members and filtering them as per your requirement.
Hey Danielle Lowe! I created a script that saves login history in the member JSON, so you can track logins for the past week (or longer) and even see a user's login streak.
You can watch this tutorial and get the code at the link below:😊
https://www.memberstack.com/scripts/track-user-login-history-and-streaks
Hope this helps!
Please sign in to leave a comment.