/snowplow-objc-tracker

Snowplow event tracker for Objective-C. Add analytics to your iOS 8.0+, macOS and tvOS apps and games

Primary LanguageObjective-CApache License 2.0Apache-2.0

iOS, OSX and tvOS Analytics for Snowplow

Build Status Coverage Status Version Platform License

Overview

Add analytics to your iOS, OSX and tvOS apps and games with the Snowplow event tracker for iOS 8.0+, OSX 10.9+ and tvOS 9.0+.

With this tracker you can collect event data from your applications, games or frameworks.

Building the Static Framework (iOS only)

  • Open Snowplow.xcworkspace in Xcode.
  • Select the SnowplowTracker-iOS-Static scheme and set device to iOS Device.
  • Run Archive from the Product menu.
  • Finder should open and show you where SnowplowTracker.framework is stored.

Running the Demo Application (iOS only)

  • Open SnowplowDemo.xcworkspace in Xcode.
  • Select the SnowplowDemo scheme and set device to any emulator.
  • Hit run and the demo will be installed and launched in the emulator window.
  • Simply enter a valid endpoint to send events to!

Setting up a local testing endpoint

Assuming git, Vagrant and VirtualBox installed:

 host$ git clone https://github.com/snowplow/snowplow-objc-tracker.git
 host$ cd snowplow-objc-tracker
 host$ vagrant up && vagrant ssh
guest$ cd /vagrant
guest$ mb &
guest$ curl -X POST -d @/vagrant/integration-tests/imposter.json http://localhost:2525/imposters

Your local endpoint will be http://localhost:4545 which can be used in the demonstration application.

To view sent events in your browser please navigate to http://localhost:2525.

Find out more

Technical Docs Setup Guide Roadmap Contributing
i1 i2 i3 i4
Technical Docs Setup Guide Roadmap Contributing

Copyright and license

The Snowplow iOS/OSX/tvOS Tracker is copyright 2013-2015 Snowplow Analytics Ltd.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this software except in compliance with the License.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.