Using the Comscore Streamsense plugin with AMP
The Comscore Streamsense plugin. The plugin can be enabled by providing the following configuration properties:
var config = { plugins: { comscorestreamsense: { resources: [ {src: "#{paths.plugins}comscorestreamsense/libs/streamsense.4.1412.05.min.js", type: "text/javascript", async: true}, {src: "#{paths.plugins}comscorestreamsense/Comscorestreamsense.js", type: "text/javascript", async: true} ], clientId: "0000000", publisherSecret: "publisherSecretId", appVersion: "0000000", metadata: { ads: { ns_st_ci: "#{media.guid}", c3: "*null", c4: "*null", c6: "*null", cb2: "*null", cb3: "*null", cb4: "*null", cb6: "*null" }, video: { ns_st_ci: "#{media.guid}", c3: "*null", c4: "*null", c6: "*null", cb2: "*null", cb3: "*null", cb4: "*null", cb6: "*null" } } } } }; akamai.amp.AMP.create("amp", config);