iOS Tracker Setup - artsy/snowplow GitHub Wiki

HOME > SNOWPLOW SETUP GUIDE > Step 2: Setup a Tracker > iOS tracker

Contents

## 1. Overvew

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.

Back to top

## 2. Integration options ### 2.1 Tracker compatibility

With 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.

Back to top

### 2.2 Dependencies

The 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.

Back to top

## 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:
  1. Install CocoaPods using gem install cocoapods
  2. Create the file Podfile in your XCode project directory, if you haven't created one already
  3. Add the followinling line into it:
pod 'SnowplowTracker'
  1. Run pod install in the same directory

Back to top

### 3.2 Manual Setup If you prefer not to use CocoaPods, you can grab the tracker from our [GitHub repo][ios-tracker-github] and import it into your project.
⚠️ **GitHub.com Fallback** ⚠️