You should start thinking about using analytics and bug tracking in the early stages of development so that they fit into your code and application architecture nicely.
In most cases, it's just about calling a particular function or API to inform your server about an event; for example, application loaded, authentication failed, or something crashed in the code.
The main thing to consider is whether you need to build analytics features yourself or whether there are existing solutions that can boost you in the early stages.
Let's take a look at the pros and cons of the following:
- Creating and using your own analytics services
- Using existing services that have been provided by third parties