I am writing to seek assistance with regards to utilizing the Amplitude API for tracking user activity within our application.
Our team is currently working on implementing a feature that requires tracking user engagement and activity patterns. Specifically, we need to track users who log in to our app consecutively for 15 days and spend a minimum of 10 minutes each day within the same user account.
After reviewing the documentation provided by Amplitude, I believe that the Event Segmentation API or a similar API endpoint might be suitable for our requirements. However, I would greatly appreciate your guidance on which specific API endpoints and parameters would be most appropriate for achieving this goal.
Could you please advise on:
1. Which API endpoints and parameters should we use to track user logins and session durations?
2. How can we set up the query to identify users who meet the specified criteria of logging in consecutively for 15 days and spending a minimum of 10 minutes each day in the same account?
3. Are there any additional considerations or best practices we should keep in mind when implementing this tracking functionality?
Any insights or recommendations you can provide would be immensely helpful in ensuring that we correctly leverage the capabilities of the Amplitude platform for our use case.
Thank you very much for your assistance. I look forward to your prompt response.