Analytics about funnel for apps

I’m wondering how we can get analytics inside our apps – say we have the permissions screen and then the billings screen and then so on. How can we track when users drop off and what the funnel is?