Chartbeat Analytics

Chartbeat Analytics plugin for Akamai Adaptive Media Player http://support.chartbeat.com/docs/video.html, http://support.chartbeat.com/docs/api.html#video.

The plugin can be enabled by providing the following configuration properties:

var config = {
  plugins: {
    chartbeatanalytics : {
      enabled:true,
      resources: [{
        src: "//static.chartbeat.com/js/chartbeat_video.js", type: "text/javascript"
      }],
      data: {
        uID:8917,
        domain:"foxnews.com",
        useCanonical:true,
        sections:"#{window.temp_section}",
        authors:"auth1"
      }
    }
    }
};
akamai.amp.AMP.create("amp", config);
Last modified: 20/3/2023, AMP Support.