Automattic-Tracks-iOS 0.8.4

Automattic-Tracks-iOS 0.8.4

LangLanguage Obj-CObjective C
License GPL-2.0
ReleasedLast Release Mar 2021

Maintained by Aaron Douglas, Enej Bajgoric, Antonis Lilis, Ernesto Carrion, Paolo Musolino, Gerardo Pacheco, Brandon Titus, Evgeny Shurakov, Olivier Halligon, Wendy Chen, Jorge Bernal, Jorge Leandro Perez, Matt Bumgardner, Diego Rey Mendez, Elisa Budelli, Eduardo Toledo, Stephenie Harris, Lorenzo Mattei, Daniele Bogo, Eric Johnson, Sérgio Estêvão, James Frost, Cesar Tardaguila, Thuy Copeland, Jaclyn Chen, Chip Snyder, Jeremy Massel, Emily Laguna, Pinar Olguc, Leandro Alonso, Ceyhun Ozugur, Paul Von Schrottky, Stefanos Togoulidis, Allen Snook, Giovanni Lodi, Jayson Basañes, Rachel McRoberts, Yael Rubinstein, Momo Ozawa, Giorgio Ruscigno, Automattic Mobile.

Depends on:
CocoaLumberjack~> 3
Reachability~> 3
Sentry~> 6
Sodium>= 0.9.1
UIDeviceIdentifier~> 1


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'
  1. Create an instance of TracksService.
  2. Set an appropriate event name prefix using the propert eventNamePrefix. As an Automattician you will know how to get a prefix allowed.
  3. 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.


  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D


Original source:

Created by initially: Aaron Douglas @astralbodies


Automattic-Tracks-iOS is available under the MIT license. See the LICENSE file for more info.