https://github.com/segment-integrations/analytics-ios-integration-kochava
Segment's Kochava Integration for Analytics-iOS
https://github.com/segment-integrations/analytics-ios-integration-kochava
Last synced: 8 months ago
JSON representation
Segment's Kochava Integration for Analytics-iOS
- Host: GitHub
- URL: https://github.com/segment-integrations/analytics-ios-integration-kochava
- Owner: segment-integrations
- License: mit
- Created: 2021-05-20T20:58:59.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-20T18:19:32.000Z (almost 5 years ago)
- Last Synced: 2025-01-26T01:20:28.144Z (over 1 year ago)
- Language: Objective-C
- Size: 59.6 KB
- Stars: 0
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](http://cocoapods.org) `Podfile`:
```ruby
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
```
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.