Adobe Content Analytics

Configure Content Analytics extension in the Data Collection UI

  1. In the Data Collection UI, select the Extensions tab.
  2. On the Catalog tab, locate the Adobe Content Analytics extension, and select Install.
  3. Configure the extension settings. For more information, see Configure the Content Analytics extension.
  4. Select Save.
  5. Follow the publishing process to update your SDK configuration.

Configure the Content Analytics extension

To configure the Content Analytics extension, complete the following steps:

Content Analytics Extension Configuration

Sandbox

Select a Sandbox to use for Content Analytics.

Datastreams

Select the Datastream to use for Content Analytics for the Production (required), Staging, and Development environment.

General Settings

Enable or disable Track Experiences to track experiences in Content Analytics or not. Default is enabled (true).

Select Enable Debug Logging to enable verbose debug logging for Content Analytics. Default is disabled (false).

Batching Settings

Select Enable Batching to enable batching for Content Analytics.

Enter a value in Max Batch Size to define the maximum batch size. Default is 10.

Enter a value in Batch Flush Interval (ms) to define a time in miliseconds to wait before flusing batched events. Default is 2000 (2 seconds).

Exclusions

Specify exclusions for asset URLs, assets locations, and experience locations.

Add Content Analytics extension to your app

To add the Content Analytics extension to your app, follow the steps below based on the platform and package manager you use.

Include Content Analytics extension as an app depencency.

Add MobileCore, Edge, EdgeIdentity, and Content Analytics as dependencies to your project.

Android Kotlin

Add the required dependencies to your project by including them in the app's Gradle file.

// Use the BOM to manage Adobe Mobile SDK versions
implementation(platform("com.adobe.marketing.mobile:sdk-bom:3.+"))

// Adobe Mobile SDK dependencies (versions managed by BOM)
implementation("com.adobe.marketing.mobile:core")
implementation("com.adobe.marketing.mobile:edge")
    
// Content Analytics (not yet in BOM - specify version explicitly)
implementation("com.adobe.marketing.mobile:contentanalytics:1.0.0")
data-variant=warning
data-slots=text
Using dynamic dependency versions is not recommended for production apps. Please read the managing Gradle dependencies guide for more information.

Android Groovy

Add the required dependencies to your project by including them in the app's Gradle file.

// Use the BOM to manage Adobe Mobile SDK versions

implementation platform('com.adobe.marketing.mobile:sdk-bom:3.+')

// Adobe Mobile SDK dependencies (versions managed by BOM)
implementation 'com.adobe.marketing.mobile:core'
implementation 'com.adobe.marketing.mobile:edge'

// Content Analytics (not yet in BOM - specify version explicitly)
implementation 'com.adobe.marketing.mobile:contentanalytics:1.0.0"
data-variant=warning
data-slots=text
Using dynamic dependency versions is not recommended for production apps. Please read the managing Gradle dependencies guide for more information.

iOS SPM

Add the required dependencies to your project using Swift Package Manager. For Content Analytics, use the following instructions.

  1. In Xcode, select File > Add Package Dependencies.

  2. Enter the package URL:

    https://github.com/adobe/aca-mobile-sdk-ios-extension
    
  3. Select version 5.0.0 or later.

  4. Select Add Package.

iOS CocoaPods

Add the required dependencies to your project using CocoaPods. Add following pods in your Podfile:

use_frameworks!

target 'YourTargetApp' do
  pod 'AEPCore', '~> 5.0'
  pod 'AEPEdge', '~> 5.0'
  pod 'AEPContentAnalytics', '~> 5.0'
end