StorytellerEventTrackingOptions

data class StorytellerEventTrackingOptions(val enablePersonalization: Boolean = true, val enableStorytellerTracking: Boolean = true, val enableUserActivityTracking: Boolean = true, val enableAdTracking: Boolean = true, val enableFullVideoAnalytics: Boolean = true, val enableRemoteViewingStore: Boolean = true, val disabledFunctionalFeatures: List<StorytellerDisabledFunctionalFeature> = emptyList())

Configuration options for event tracking within the Storyteller SDK. For details on privacy and tracking options, see the Storyteller Privacy and Tracking Documentation.

Constructors

Link copied to clipboard
constructor(enablePersonalization: Boolean = true, enableStorytellerTracking: Boolean = true, enableUserActivityTracking: Boolean = true, enableAdTracking: Boolean = true, enableFullVideoAnalytics: Boolean = true, enableRemoteViewingStore: Boolean = true, disabledFunctionalFeatures: List<StorytellerDisabledFunctionalFeature> = emptyList())

Properties

Link copied to clipboard

List of functional features to disable. When a feature is disabled, the SDK will not make API requests for that feature (even if enableRemoteViewingStore is true) and will not store the relevant activity locally. If StorytellerDisabledFunctionalFeature.All is included, all features are disabled. Default is empty list.

Link copied to clipboard

If true, the SDK will track ad-related events. Default is true.

Link copied to clipboard

If true, the SDK will include detailed video information (titles, IDs) in analytics events. When false, sensitive video data fields are nullified for VPPA compliance. Default is true.

Link copied to clipboard

If true, the SDK will collect data to personalize content for the user. Default is true.

Link copied to clipboard

If true, the SDK will store user IDs and fetch user activity from remote servers. When false, user IDs will not be stored or sent to servers, user activity will only be stored locally, and ExternalId will be null in analytics events for enhanced VPPA compliance. Default is true.

Link copied to clipboard

If true, the SDK will send analytics events about Storyteller content consumption (e.g., story views, clip plays) to the Storyteller backend. Default is true.

Link copied to clipboard

If true, the SDK will track user activity relevant to content discovery and engagement (e.g., interactions that might influence recommendations). Default is true.