I am trying to pull information from the app I have developed, it has been being used for the past month. How do I get that information for example how many times one person as logged in etc
I am trying to pull information from the app I have developed, it has been being used for the past month. How do I get that information for example how many times one person as logged in etc
Danielle, during development , did you add code to log data in a separate collection when a user log in to track logins, etc ?
I know the Android and Apple stores track jnstalls, etc ... But I'm not aware of any built in code on the Appery side that tracks number of logins .... New device registrations are handled automatically provided you've enabled push notifications .... But even then changes to device information like time zone etc are handled via update by the developer.
Could be wrong and someone from apppery might have different info.
Best
Bruce
Assuming that the people who need this information are the folks who manage / perform administrative / management tasks on the system you can do this:
You can add a col to the users collection? Or create a new collection...then keep incrementing the counter every time there is a successful login. If you are creating a new collection perhaps it will at least 2 fields - userid and counter. There may be another way but this should work
if yoiu'd want to be able to get this information based on time period then I think you'll have to insert a record every time there is a successful login. And there will be an additional field to store the date/time. That way you can query for the number of successful logins between dates
Cheers,
M&M