AnalyticsConfig

data class AnalyticsConfig(val vendor: AnalyticsConfig.Vendor, val appSiteName: String, val sourceKey: String, val nonLocalizedApplicationName: String? = null, val userConsent: UserConsent = UserConsent(), val comScorePersistentLabels: Map<String, String>? = null, val commandersActPersistentLabels: Map<String, String>? = null)

SRG Analytics config

Constructors

Link copied to clipboard
constructor(vendor: AnalyticsConfig.Vendor, appSiteName: String, sourceKey: String, nonLocalizedApplicationName: String? = null, userConsent: UserConsent = UserConsent(), comScorePersistentLabels: Map<String, String>? = null, commandersActPersistentLabels: Map<String, String>? = null)

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Properties

Link copied to clipboard

The App/Site name given by the analytics team.

Link copied to clipboard

initial CommandersAct persistent labels.

Link copied to clipboard

initial ComScore persistent labels.

Link copied to clipboard

Application name for the analytics, by default the application name defined in the manifest. You can set it to null if the application name is not localized.

Link copied to clipboard

The CommandersAct sourceKey given by the analytics team.

Link copied to clipboard

User consent to transmit to ComScore and CommandersAct.

Link copied to clipboard

business unit.