orta / ARAnalytics

Simplify your iOS/Mac analytics
MIT License
1.84k stars 217 forks source link

How to intercom custom user track sdk using your spi? #241

Closed ivanyang1984 closed 8 years ago

ivanyang1984 commented 8 years ago

In our company, we are now using the custom user track sdk(that was written our own), we want to use ar as spi to decouple the concrete ut implemention with its interface. Could you please provide any guideline about this?

orta commented 8 years ago

Create an ARAnalyticsProvider subclass, e.g. ARIntercomProvider.m and pass it into ARAnalytics

:+1: it will receive all the normal callbacks