Client library for tracking user events for later analysis
Tracks for iOS is a client library used to help track events inside of an application. This project solely is responsible for collecting the events, storing them locally, and on a schedule send them out to the Automattic servers. Realistically this library is only useful for Automattic-based projects but the idea is to share what we've made.
You can install the Tracks component in your app via CocoaPods:
pod 'Automattic-Tracks-iOS', :git => '[email protected]:Automattic/Automattic-Tracks-iOS.git', :branch => 'develop'
- Create an instance of
- Set an appropriate event name prefix using the propert
eventNamePrefix. As an Automattician you will know how to get a prefix whitelisted.
- Keep this instance in a stable place and only instantiate one for your application.
Check out the TracksDemo project for more information on how to track events.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Original source: https://github.com/Automattic/Automattic-Tracks-iOS
Created by initially: Aaron Douglas @astralbodies
Automattic-Tracks-iOS is available under the MIT license. See the LICENSE file for more info.