StorytellerCardDataModel

data class StorytellerCardDataModel(val collectionId: String, val context: StorytellerAnalyticsContext? = null)

Data model for displaying a Storyteller Card from a specific Card Collection. For more details on configuring Storyteller Cards, see the Cards Documentation.

Constructors

Link copied to clipboard
constructor(collectionId: String, context: StorytellerAnalyticsContext? = null)

Properties

Link copied to clipboard

The ID of the Card Collection to display. This identifies which Card Collection to fetch.

Link copied to clipboard

Optional StorytellerAnalyticsContext containing integrator-defined key-value pairs for analytics attribution. This context will be included with all analytics events originating from this card. It is never sent to the Storyteller API.