Skip to content

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

License

Notifications You must be signed in to change notification settings

KelvinJin/snowplow-objc-tracker

 
 

Repository files navigation

iOS, OSX and tvOS Analytics for Snowplow

[ ![Build Status] travis-image ] travis Coverage Status [ ![Version] cocoa-version ] cocoadocs [ ![Platform] cocoa-plaform ] cocoadocs [ License license-image ] license

Overview

Add analytics to your iOS, OSX and tvOS apps and games with the Snowplow event tracker for iOS 7.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] vagrant-install and [VirtualBox] virtualbox-install 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] techdocs-image ![i2] setup-image ![i3] roadmap-image ![i4] contributing-image
[Technical Docs] techdocs [Setup Guide] setup Roadmap roadmap Contributing 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] license (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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 96.7%
  • Shell 2.1%
  • Ruby 1.2%