iOS Tracker Setup - artsy/snowplow GitHub Wiki
HOME > SNOWPLOW SETUP GUIDE > Step 2: Setup a Tracker > iOS tracker
-
- 2.1 Tracker compatibility
- 2.2 Dependencies
-
- 3.1 CocoaPods
- 3.2 Manual setup
The Snowplow iOS Tracker lets you add analytics to your iOS ios-based applications.
The Tracker should be relatively straightforward to setup if you are familiar with iOS development using CocoaPods.
Ready? Let's get started.
## 2. Integration options ### 2.1 Tracker compatibilityWith iOS backward compatibility is limited to a small range which it makes it easy to support. Hence, our goal was to make the iOS Tracker compatible with iOS 6+ with easy availability via CocoaPods.
### 2.2 DependenciesThe tracker has dependencies limited to the AFNetworking and FMDB libraries for networking and database management respectively. Both of which have iOS 6+ support as well. If you're installing via CocoaPods, these dependencies are recursively downloaded for your project so you don't have to worry about it.
## 3. Setup ### 3.1 CocoaPods We support installing the iOS Tracker via CocoaPods since it's the easiest way to install the tracker. Doing so is simple:- Install CocoaPods using
gem install cocoapods
- Create the file
Podfile
in your XCode project directory, if you haven't created one already - Add the followinling line into it:
pod 'SnowplowTracker'
- Run
pod install
in the same directory