The Nielsen App SDK as of version 18.104.22.168 is compatible with Apple iOS version 8.0 and above.
Segment-Nielsen-DCR SDK is available through CocoaPods. To install it, add the following line to your Podfile:
The integration relies on the the Nielsen framework, which can either be installed via Cocoapods or by manually adding the framework. You will need to have a Nielsen representative to get started.
When using the Nielsen SDK version 22.214.171.124 and above, Nielsen recommends installation via Cocoapods, and Apple recommends using the dynamic framework.
Installation of the Dynamic Nielsen App Framework SDK via Cocoapods requires a Cocoapods version 1.6.1 or higher. Installation of the Static Nielsen App Framework SDK via Cocoapods requires a Cocoapods version 1.4.0 or higher.
- Set your repository credentials. The first step is to add the credentials received from Nielsen into your
.netrcfile. Navigate to your home folder and create a file called
cd ~/ vi .netrc
You will need to fill out a license agreement form and have the contact information for your Nielsen representative in order to obtain the credentials here. Add the credentials in the following format:
machine raw.githubusercontent.com login <Nielsen App SDK client> password <Auth token>
- Add the source to your Podfile
Dynamic Framework (Note: you will need to include
- Add the pod to your Podfile
- Install the pods
A list of full instructions can be found here
Navigate to Nielsen's Engineering Site and download the following Video framework:
There will be an NDA to sign prior to accessing the download. Nielsen requires you fill out your company info and have a Nielsen representative before getting started.
Nielsen also requires the following frameworks, which must be included into Link Binary with Libraries (within app target’s Build Phases)
- CoreLocation.framework (Not applicable for International (Germany))
After you have properly installed the Nielsen App SDK, Register the factory with Segment SDK in the
application:didFinishLaunchingWithOptions method of your
NSString *const SEGMENT_WRITE_KEY = @" ... "; SEGAnalyticsConfiguration *config = [SEGAnalyticsConfiguration configurationWithWriteKey:SEGMENT_WRITE_KEY]; [config use:[SEGNielsenDCRIntegrationFactory instance]]; [SEGAnalytics setupWithConfiguration:config];
Segment-Nielsen-DCR is available under the MIT license. See the LICENSE file for more info.