segment-integrations / analytics-ios-integration-kochava

Segment's Kochava Integration for Analytics-iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Segment Kochava Integration

NOTE: This integration is currently in Private Beta.

Prerequisites

While the Kochava integration communicates directly with Kochava servers from within the iOS application, you must configure a Kochava iOS destination in your Segment workspace. You can set a number of Kochava integration options when configuring the Kochava iOS destination.

This destination is currently in Private Beta and can only be accessed via a unique link. Please reach out to our team if you need access.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

To install the Segment-Kochava integration, simply add this line to your CocoaPods Podfile:

pod 'Segment-Kochava', :git => 'https://github.com/segment-integrations/analytics-ios-integration-kochava.git'

Usage

After adding the dependency, you must register the integration with our SDK. To do this, import the Kochava integration in your AppDelegate:

#import <Segment-Kochava/SEGKochavaIntegrationFactory.h>

And add the following lines:

NSString *const SEGMENT_WRITE_KEY = @" ... ";
SEGAnalyticsConfiguration *config = [SEGAnalyticsConfiguration configurationWithWriteKey:SEGMENT_WRITE_KEY];

[config use:[SEGKochavaIntegrationFactory instance]];

[SEGAnalytics setupWithConfiguration:config];

License

Segment-Kochava is available under the MIT license. See the LICENSE file for more info.

About

Segment's Kochava Integration for Analytics-iOS

License:MIT License


Languages

Language:Objective-C 93.8%Language:Ruby 4.0%Language:Makefile 2.1%