AMP - Media Analytics custom values

Document created by Herberth Alvarado Champion on Nov 28, 2016Last modified by Herberth Alvarado Champion on Mar 31, 2017
Version 6Show Document
  • View in full screen mode

Maintainer: Andrea Zuniga

This document is part of Adaptive Media Player Web User Guide

 

Akamai Media Analytics has the possibility to track custom dimensions, these dimensions (and their values) should be explicitly mentioned in the player configuration, because the player or Media Analytics have no way to know what values should be sent for those dimensions.

The custom dimensions should be created in Luna, in the Media Analytics section.

From AMP perspective it is easy to set the custom dimensions with their right values, just take a look and the next sample; the custom dimensions will be the ones in the "dimensions" block, and their values are set to the right.

 

Custom Dimensions

mediaanalytics:{

      resources:[

        {

            type:"text/javascript",

            src:"//79423.analytics.edgesuite.net/html5/akamaihtml5-min.js"

        }

      ],

      plugin:{

        swf:"//79423.analytics.edgesuite.net/csma/plugin/csma.swf"

      },

      config:"//ma1-r.analytics.edgesuite.net/config/beacon-3018.xml?setVideoObject=1",

      dimensions:{

        title:"#{media.title}",

        playerId:"#{player.mode} Player"

      },

      enabled:true

  }

 

 

Sample: http://projects.mediadev.edgesuite.net/customers/akamai/mdt-html5-core/standard/4.69.18/samples/mediaanalytics.html?amp-debug=true&akamaianalytics_debug=1

 

  

Maintainer: Andrea Zuniga

Attachments

    Outcomes