Using the Chartbeat Analytics plugin with AMP

The Chartbeat Analytics plugin. 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);