AMP Android SDK: Akamai Media Analytics

Document created by Herberth Alvarado Champion on Aug 11, 2016Last modified by Orlando Sanchez Martinez on Apr 26, 2017
Version 12Show Document
  • View in full screen mode

Maintainer: Jason Gamboa

This document is part of AMP Android SDK 


Akamai Media Analytics provides detailed client-side and server-side reporting services. Server-side reports typically contain audience engagement and content usage information. The client-side reports provide information on user interaction and bandwidth. The Android SDK supports Client-side Media Analytics (CSMA).





CSMA support is enabled through the CSMA component – a plug-in used by the player to gather various statistics that would be used to generate the reports. The CSMA plug-in uses a configuration XML file to identify the statistics to be collected and log them in a specific location. The configuration XML file path is provided during provisioning.



Using Media Analytics


VideoPlayerView.setMediaAnalyticsConfigUrl(configUrl): Sets the Media Analytics URL config (an XML file). This configuration file path is provided during provisioning of the Media Analytics report pack.


VideoPlayerView.setMediaAnalyticsCustomData(key, data): Reports a custom dimension (dimension name = key) from the player.


VideoPlayerView.setMediaAnalyticsViewerId(viewerId): Sets the viewer ID for the Viewer Diagnostics module in Media Analytics.


Sidenote: Both the config url and the beacons for analytics can be provided using Config Files as well.



This document is part of AMP Android SDK 

1 person found this helpful