Techdocs

AMP Web SDK

AMP player

ComscoreStreamsenseConfig

Members

adType

(nullable) :string

Overrides the type of media for ad tracking. If not specified, this value will automatically be calculated by AMP.

clientId

:string

The client id.

contentType

(nullable) :string

Overrides the type of media for video tracking. If not specified, this value will automatically be calculated by AMP.

implementationId

:string

Comscore's implementation id

metadata

:Object

The metadata object.

Example
metadata: {
  ads: {
     ns_st_ci: "#{media.guid}",
     c3:       "*null",
     c4:       "*null",
   },
   video: {
     ns_st_ci: "#{media.guid}",
     c3:       "*null",
     c6:       "*null",
   }
 }

platformApi

:string

The platform API value

playerName

:string

The media player name.

projectId

:string

Comscore's project id

publisherSecret

:string

The publisher secret.

Deprecated:
  • Since version Comscore 6.x