One thing you could do is use an analytics provider that offers an analytics data ingestion API via REST. This way you could make a simple network call using URLSession to track basic events, rather than using the entire mobile SDK/library. An example that I'm familiar with is Mixpanel
Topic:
App & System Services
SubTopic:
General
Tags: