matomo-org / matomo-sdk-android

SDK for Android to measure your apps with Matomo. Works on Android phones, tablets, Fire TV sticks, and more!
BSD 3-Clause "New" or "Revised" License
393 stars 164 forks source link

Expectations have not been met #175

Closed HaDiSs277 closed 7 years ago

HaDiSs277 commented 7 years ago

Hi, i read in your site about how use piwik for tack mobile app activities How to track all of things that you said? like these "how long users spend in the app," "how often is the app opened? When and how long is the app opened?" How can i see them in panel? or how can i track them? And my other question is that why piwik cant recognize my user city? it's always unknown

d4rken commented 7 years ago

Hi, i read in your site about how use piwik for tack mobile app activities How to track all of things that you said? like these "how long users spend in the app," "how often is the app opened? When and how long is the app opened?" How can i see them in panel? or how can i track them?

I would recommend checking out the example app: https://github.com/piwik/piwik-sdk-android/tree/master/exampleapp

And my other question is that why piwik cant recognize my user city? it's always unknown

Possibly due to anonymized IPs or incomplete geographic data for matching the IPs.

HaDiSs277 commented 7 years ago

At first i had made my project equal to your sample. In panel i don't know where shows "how long users spend in the app" and "how often is the app opened? when and how long is the app opened?" Where are those? And for anonymized IPs, it recognizes my country but cant recognize my city that i am. its very important to me.

HaDiSs277 commented 7 years ago

Why you don't answer my question?

d4rken commented 7 years ago

"how long users spend in the app"

This is basically the session duration. Also see: https://piwik.org/faq/general/faq_36/

"how often is the app opened? when and how long is the app opened?"

This would be the visit count also session durations.

Those metrics are tracked automatically by Piwik if you do screen tracking in your app.

In the Android SDK, a session lasts as long as the Tracker instance exists, so normally for the duration the app is alive (e.g. in memory).

And for anonymized IPs, it recognizes my country but cant recognize my city that i am. its very important to me.

This is done by https://github.com/piwik/piwik, not the Android SDK.

d4rken commented 7 years ago

Expectations have not been met

Feel free to submit a pull request if you feel something could be improved.