Tracking user in the ionic app

I am trying to develop a basic #ionic-2 app with different screens
where I can track

  • user who logged
  • visited screens
  • left or close the app.
  • installed number of apps.
  • uninstall it
    … etc

Please share any #ionic-2 tutorial.
any #analytics platform?

I too wanna do the same implementation in a ionic Ebook app where we can track the no.of users downloaded the Ebook app and track how many books they read . Any solution for this so far?