OllaAshour / analytics-ios-integration-comscore

The ComScore analytics-ios integration. https://segment.com/docs/integrations/comscore

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

analytics-ios-integration-comscore

CircleCI Version License Platform

Example

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

Installation

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

pod "Segment-ComScore"

Usage

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

#import <Segment-ComScore/SEGComScoreIntegrationFactory.h>

And add the following lines:

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

[config use:[SEGComScoreIntegrationFactory instance]];

[SEGAnalytics setupWithConfiguration:config];

License

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

About

The ComScore analytics-ios integration. https://segment.com/docs/integrations/comscore

License:MIT License


Languages

Language:Objective-C 97.6%Language:Ruby 1.5%Language:Makefile 0.9%