{"id":21762039,"url":"https://github.com/segment-integrations/analytics-ios-integration-nielsen-dcr","last_synced_at":"2025-09-04T07:41:37.704Z","repository":{"id":44582542,"uuid":"100651526","full_name":"segment-integrations/analytics-ios-integration-nielsen-dcr","owner":"segment-integrations","description":"The Nielsen DCR analytics-ios integration","archived":false,"fork":false,"pushed_at":"2022-07-11T17:47:52.000Z","size":95,"stargazers_count":1,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-16T03:20:28.325Z","etag":null,"topics":["ios"],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/segment-integrations.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-17T22:54:54.000Z","updated_at":"2022-07-11T17:16:10.000Z","dependencies_parsed_at":"2022-09-03T00:32:57.642Z","dependency_job_id":null,"html_url":"https://github.com/segment-integrations/analytics-ios-integration-nielsen-dcr","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/segment-integrations/analytics-ios-integration-nielsen-dcr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segment-integrations%2Fanalytics-ios-integration-nielsen-dcr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segment-integrations%2Fanalytics-ios-integration-nielsen-dcr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segment-integrations%2Fanalytics-ios-integration-nielsen-dcr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segment-integrations%2Fanalytics-ios-integration-nielsen-dcr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/segment-integrations","download_url":"https://codeload.github.com/segment-integrations/analytics-ios-integration-nielsen-dcr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segment-integrations%2Fanalytics-ios-integration-nielsen-dcr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273574111,"owners_count":25129882,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ios"],"created_at":"2024-11-26T12:10:43.403Z","updated_at":"2025-09-04T07:41:37.682Z","avatar_url":"https://github.com/segment-integrations.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Segment-Nielsen-DCR\n\n[![Circle CI](https://circleci.com/gh/segment-integrations/analytics-ios-integration-nielsen-dcr.svg?style=svg\u0026circle-token=9df3a0f8385bd1f43655f79cf649035cfe538035)](https://circleci.com/gh/segment-integrations/analytics-ios-integration-nielsen-dcr)\n[![Version](https://img.shields.io/cocoapods/v/Segment-Nielsen-DCR.svg?style=flat)](http://cocoapods.org/pods/Segment-Nielsen-DCR)\n[![License](https://img.shields.io/cocoapods/l/Segment-Nielsen-DCR.svg?style=flat)](http://cocoapods.org/pods/Segment-Nielsen-DCR)\n[![Platform](https://img.shields.io/cocoapods/p/Segment-Nielsen-DCR.svg?style=flat)](http://cocoapods.org/pods/Segment-Nielsen-DCR)\n\n## Installation\n\nThe Nielsen App SDK as of version 6.0.0.0 is compatible with Apple iOS version 8.0 and above.\n\nSegment-Nielsen-DCR SDK is not available through [CocoaPods](http://cocoapods.org) trunk due to Nielsen's SDK being in a private spec repo. To install the Segment-Nielsen-DCR pod, add the following line to your Podfile:\n\n```ruby\npod \"Segment-Nielsen-DCR\", :git =\u003e 'https://github.com/segment-integrations/analytics-ios-integration-nielsen-dcr.git', :tag =\u003e '1.5.1'\n```\n\nThe 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.\n\n## Xcode 12\n\nThe Nielsen Cocoapod (8.0.0.0) specifies iOS 8.0 as it's minimum target.  This has the negative effect of generating ones Cocoapod workspace with invalid values.  To fix this, the following script can be added to the end of the `Podfile`:\n\n```\npost_install do |installer|\n  installer.pods_project.targets.each do |target|\n    target.build_configurations.each do |config|\n      config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'\n    end\n  end\nend\n```\n\nThis will remove the deployment target settings and fall back to what has been specified within the Xcode Project itself.\n\nIt should also be noted that the Nielsen Cocoapod does not include an `arm64` slice.  It may be necessary for  `EXCLUDED_ARCHS[sdk=iphonesimulator*]` to be set to exclude `arm64` in your project.\n\n## Cocoapods\n\nWhen using the Nielsen SDK version 6.2.0.0 and above, Nielsen recommends installation via Cocoapods, and Apple recommends using the dynamic framework.\n\nInstallation 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.\n\n1. **Set your repository credentials.** The first step is to add the credentials received from Nielsen into your `.netrc` file. Navigate to your home folder and create a file called `.netrc`\n```\ncd ~/\nvi .netrc\n```\nYou 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](https://engineeringportal.nielsen.com/docs/Special:Downloads). Add the credentials in the following format:\n```\nmachine raw.githubusercontent.com\nlogin \u003cNielsen App SDK client\u003e\npassword \u003cAuth token\u003e\n```\n\n2. **Add the source to your Podfile**\n\n  Dynamic Framework (Note: you will need to include `use_frameworks!`)\n```\nsource 'https://github.com/NielsenDigitalSDK/nielsenappsdk-ios-specs-dynamic.git'\n```\nStatic Framework\n```\nsource 'https://github.com/NielsenDigitalSDK/nielsenappsdk-ios-specs.git'\n```\n\n3. **Add the pod to your Podfile**\n\n  `pod NielsenAppSDK`\n\n4. **Install the pods**\n\n  `pod install`\n\n***A list of full instructions can be found [here](https://engineeringportal.nielsen.com/docs/Digital_Measurement_iOS_Artifactory_Guide)***\n\n## Manual\n\nNavigate to [Nielsen's Engineering Site](https://engineeringportal.nielsen.com/docs/Main_Page) and download the following Video framework:\n\n![](http://g.recordit.co/IvvLm8oAY2.gif)\n\nThere 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.\n\nNielsen also requires the following frameworks, which must be included into Link Binary with Libraries (within app target’s Build Phases)\n  - AdSupport.framework\n  - SystemConfiguration.framework\n  - CoreLocation.framework (Not applicable for International (Germany))\n  - libsqlite3\n\n## Usage\n\nAfter you have properly installed the Nielsen App SDK, Register the factory with Segment SDK in the `application:didFinishLaunchingWithOptions`  method of your `AppDelegate`:\n\n`#import \u003cSegment-Nielsen-DCR/SEGNielsenDCRIntegrationFactory.h\u003e`\n\n\n```\nNSString *const SEGMENT_WRITE_KEY = @\" ... \";\nSEGAnalyticsConfiguration *config = [SEGAnalyticsConfiguration configurationWithWriteKey:SEGMENT_WRITE_KEY];\n\n[config use:[SEGNielsenDCRIntegrationFactory instance]];\n\n[SEGAnalytics setupWithConfiguration:config];\n```\n\n## License\n\nSegment-Nielsen-DCR is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsegment-integrations%2Fanalytics-ios-integration-nielsen-dcr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsegment-integrations%2Fanalytics-ios-integration-nielsen-dcr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsegment-integrations%2Fanalytics-ios-integration-nielsen-dcr/lists"}