MetovaAnalytics 1.1.0

MetovaAnalytics 1.1.0

Maintained by Chris Dillard, Metova, Inc., Nick Griffith, Chris Martin.



  • By
  • Metova, Inc., Nick Griffith, Chris Martin and Chris Dillard

Metova Analytics

Build Status CocoaPods Compatible Coverage Status Platform Twitter

Metova Analytics is a universal analytics framework for handling analytics events with any number of analytics providers.

Requirements

  • Swift 4.2
  • iOS 9+

Communication

  • If you need help, use Stack Overflow. (Tag 'metova-pods')
  • If you'd like to ask a general question, use Stack Overflow.
  • If you found a bug, open an issue.
  • If you have a feature request, open an issue.
  • If you want to contribute, submit a pull request.

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

To integrate Metova Analytics into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
use_frameworks!

target 'YourTarget' do
  pod 'MetovaAnalytics'
end

Then, run the following command:

$ pod install

If you would like to test a beta version of Metova Analytics, you can install the latest from develop:

pod 'MetovaAnalytics', :git => 'https://github.com/metova/MetovaAnalytics.git', :branch => 'develop'

Usage

Metova Analytics makes reporting events to all of your analytics systems a simple one liner:

Analytics.send(event: someEvent)

Metova Analytics is comprised of three core parts: events, providers, and the main analytics dispatcher.

  • Providers receive events from the dispatcher and report them to a specific analytics system. They may filter which events they report and transform the data in a particular way.
  • Events capture any analytic information you need to capture at the time of the event and carry that information forward, through the analytics dispatcher to the registered providers, so that they may appropriately report them into your analytics systems.
  • The analytics dispatcher simply handles making sure all events get to all registered providers.

For further information, please see the documentation.

Credits

Metova Analytics is owned and maintained by Metova Inc.

Contributors

If you would like to contribute to Metova Analytics, see our CONTRIBUTING guidelines.

This library was inspired by Soroush Khanlou's nice article about building an inheritance-based analytics system in Swift. He included many fine suggestions, and we believe he is right.

The Metova Analytics banner image was created by Lorenzo Garnett.

License

Metova Analytics is available under the MIT license. See the LICENSE file for more info.