Git Product home page Git Product logo

analytics-ios-mcvid's Introduction

analytics-ios-mcvid

Circle CI Version License Platform

A middleware to inject an Adobe Marketing Cloud Visitor IDs to your Segment events. Initialize the middleware with your Adobe Organization ID and DCS Region. A list of DCS Regions can be found here. The middleware makes a call to Adobe's Experience Cloud ID Service to retrieve the Marketing Cloud ID. Documentation on the HTTP request can be found here. If there is an advertisingId present on the device we will sync that ID to the Adobe Marketing Cloud ID. The Adobe Marketing Cloud ID will then be appended to identify, track, screen, and group payloads in the integration specific object.

Example

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

Requirements

Installation

analytics-ios-mcvid is available through CocoaPods. This pod requires version 3.6.0 or higher of the Analytics pod. To install it, simply add the following line to your Podfile:

pod 'Analytics'
pod 'analytics-ios-mcvid'
#import <analytics-ios-mcvid/SEGMCVIDTracker.h>

// Initialize the configuration as you would normally.
SEGAnalyticsConfiguration *configuration = [SEGAnalyticsConfiguration configurationWithWriteKey:@"YOUR_WRITE_KEY"];

// Configure the client with the MCVID middleware to attach Adobe 'marketingCloudId' to your 'identify' payload. Initialize the middleware with your Adobe OrganizationId and Adobe Region (ie. dcs_region key).  
configuration.middlewares = @[ [[SEGMCVIDTracker alloc]  initWithOrganizationId:@"YOUR_ADOBE_ORGID@AdobeOrg" region:@"YOUR_REGION_HERE"] ];

[SEGAnalytics setupWithConfiguration:configuration];

Author

Segment.io, Inc., [email protected]

License

analytics-ios-mcvid is available under the MIT license. See the LICENSE file for more info.

analytics-ios-mcvid's People

Contributors

anoonan avatar briemcnally avatar bsneed avatar hectorluisjr avatar xavierjurado avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.