Android Question Tracking User Activity

ykucuk

Well-Known Member
Licensed User
Longtime User
We're trying to track mobile user activity for the session ( Android).
Each session would begin tracking once the user opens the app.

  1. We're tracking

    a) Time inside each screen

    b) Map of User Touches on each screen

    c) How long from the first time user signs up does he click on a certain button (Main feature of the app)

    d) Duration between each new session

    e) Total time spent in each session

    f) How many force closes or crashes
is there any way to track all these features.
 

DonManfred

Expert
Licensed User
Longtime User
is there any way to track all these features
this must be done by yourself. There is no such Feature.

You do know when the user first opens an Activity. You know when you are calling another activity.
 
Upvote 0

ykucuk

Well-Known Member
Licensed User
Longtime User
this must be done by yourself. There is no such Feature.

You do know when the user first opens an Activity. You know when you are calling another activity.
How i should send this information to my server? How often?

Any idea?
 
Upvote 0

mcqueccu

Well-Known Member
Licensed User
Longtime User
You basically have to do everything yourself.
A. Use date time to capture the time the person opens an activity and when the person taps a button that will goto difgeredi activity, use that to capture the exit time
B. Assign tags or identifiable ID to the views on each activity and capture the amount of time it's clicked

C,D,E also follows same procedure.
F. Look at crashlytics lib

After every everything, you have to use the okhttputils lib to send the information to your server or firebase
 
Upvote 0

Computersmith64

Well-Known Member
Licensed User
Longtime User
We're trying to track mobile user activity for the session ( Android).
Each session would begin tracking once the user opens the app.

  1. We're tracking

    a) Time inside each screen

    b) Map of User Touches on each screen

    c) How long from the first time user signs up does he click on a certain button (Main feature of the app)

    d) Duration between each new session

    e) Total time spent in each session

    f) How many force closes or crashes
is there any way to track all these features.
If you use Firebase Analytics, some of that data will be tracked automatically & for the stuff that's not, you can send events.

Have a look at this thread -> https://www.b4x.com/android/forum/threads/firebaseanalytics-analytics-crash-reports.67708/

Be aware though, that crash reporting has moved to Crashlytics, so you'd also need to implement that - however it's only a few lines of code -> https://www.b4x.com/android/forum/threads/crashlytics-crash-reports.87510/#content

events.png
crashlytics.png

- Colin.
 
Upvote 0
Top