The need for monetization is an unavoidable fact in today's mobile industry. Key to achieving that is the need for user behaviour analytics and, in many cases, in-app native advertising. More often than not though, these needs end up producing spaghetti code that is mixed in with business logic code that hinders maintenance and feature development.
In this talk, I'll be presenting techniques for dealing with such, peripheral to your code, requirements. We'll investigate ways to isolate code related to Analytics and Ads, from your business logic and also touch, briefly, on strategies for testing such concerns separately from the main feature requirements.