Edit in GitHubLog an issue

Adobe Analytics - Media Analytics for Audio and Video

Configure Media 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 Media Analytics for Audio and Video extension, and select Install.
  3. Type the extension settings. For more information, see Configure Media Analytics Extension.
  4. Select Save.
  5. Follow the publishing process to update your SDK configuration.

Configure the Media Analytics extension

Adobe Media Analytics Extension Configuration

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

Collection API Server

Type the name of the media collection API server. This is the server where the downloaded media tracking data is sent. Important: You need to contact your Adobe account representative for this information.

Channel

Type the channel name property.

Player name

Type the name of the media player in use (for example, AVPlayer, Native Player, or Custom Player).

Application version

Type the version of the media player application/SDK.

If you are using Media Extension v1.x, then go to Legacy settings section 1. Enable the Use Tracking Server checkbox. 2. In Tracking Server, Type the name of the tracking server to which all media tracking data should be sent.

Add Media Analytics to your app

  1. Add the Media extension and its dependencies to your project using the app's Gradle file.
Copied to your clipboard
implementation 'com.adobe.marketing.mobile:sdk-core:1.+'
implementation 'com.adobe.marketing.mobile:analytics:1.+'
implementation 'com.adobe.marketing.mobile:media:2.+'

You can also manually include the libraries. Get .aar libraries from Github.

  1. Import the Media extension in your application's main activity.
Copied to your clipboard
import com.adobe.marketing.mobile.*;
Copied to your clipboard
import {ACPMedia} from '@adobe/react-native-acpmedia';
  1. Get the extension version.
Copied to your clipboard
ACPMedia.extensionVersion().then(version => console.log("AdobeExperienceSDK: ACPMedia version: " + version));

Register Media with Mobile Core

Copied to your clipboard
import {ACPMedia} from '@adobe/react-native-acpmedia';
  1. Get the extension version.
Copied to your clipboard
ACPMedia.extensionVersion().then(version => console.log("AdobeExperienceSDK: ACPMedia version: " + version));

Java

To register media with Mobile Core, call the setApplication() method in onCreate() and call set up methods, as shown in this sample:

Copied to your clipboard
import com.adobe.marketing.mobile.*;
public class MobileApp extends Application {
@Override
public void onCreate() {
super.onCreate();
MobileCore.setApplication(this);
try {
Media.registerExtension();
Analytics.registerExtension();
Identity.registerExtension();
MobileCore.start(new AdobeCallback () {
@Override
public void call(Object o) {
MobileCore.configureWithAppID("your-launch-app-id");
}
});
} catch (InvalidInitException e) {
}
}
}

Platform Support

PlatformSupport Status
Android
Supported
Apple iOS​
Supported
React Native (iOS & Android)
Supported
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.