Skip to content

Latest commit

 

History

History
97 lines (70 loc) · 4.78 KB

README.md

File metadata and controls

97 lines (70 loc) · 4.78 KB

iOS, macOS, tvOS and watchOS Analytics for Snowplow

actively-maintained Build Status Coverage Status Version Platform Carthage License

Overview

Add analytics to your iOS, macOS, tvOS and watchOS apps and games with the Snowplow event tracker for iOS 8.0+, macOS 10.9+, tvOS 9.0+ and watchOS 2.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 Contributing
i1 i2
Technical Docs Contributing

Copyright and license

The Snowplow iOS/macOS/tvOS/watchOS Tracker is copyright 2013-2020 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.