Following the End-of-Support (EoS) for the core Analytics-iOS SDK in March 2026, this legacy integration repository is also deprecated and will no longer receive updates.
Segment's future development efforts are concentrated on the new Analytics-Swift ecosystem.
- To migrate your core SDK, please see the Analytics-iOS to Analytics-Swift migration guide.
- To find the modern Swift equivalent for this specific integration, check the Analytics-Swift Destination Plugins list.
NOTE: This integration is currently in Private Beta.
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.
To run the example project, clone the repo, and run pod install from the Example directory first.
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'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];
Segment-Kochava is available under the MIT license. See the LICENSE file for more info.