interface ComscoreConfiguration {
    adIdProcessor?: ((ad) => string);
    applicationName: string;
    debug?: boolean;
    platformApi?: ComscorePlatformAPIs;
    publisherId: string;
    skeleton?: any;
    usagePropertiesAutoUpdateMode?: ComscoreUsagePropertiesAutoUpdateMode;
    userConsent: ComscoreUserConsent;
}

Properties

adIdProcessor?: ((ad) => string)

Type declaration

    • (ad): string
    • Parameters

      Returns string

applicationName: string
debug?: boolean
platformApi?: ComscorePlatformAPIs

Defaults to ns_.analytics.PlatformAPIs.html5 if no skeleton is provided or ns_.analytics.PlatformAPIs.Skeleton if a skeleton is provided.

publisherId: string

Also known as the c2 value

skeleton?: any
usagePropertiesAutoUpdateMode?: ComscoreUsagePropertiesAutoUpdateMode

Defaults to foregroundOnly if none is specified. If your app has some background experience, use foregroundAndBackground.

userConsent: ComscoreUserConsent

Generated using TypeDoc