experienceShown
fun experienceShown(context: Context, experienceAttributes: Map<String, Any>, workspaceId: String? = null)
Tracks an "experience shown" event for a single personalized experience.
Since
14.02.00
Parameters
context
The application context.
experienceAttributes
A map containing attributes of the shown experience.
workspaceId
The optional workspace ID for which the event is tracked. If null, the default SDK instance is used.
fun experienceShown(context: Context, experienceAttributes: List<Map<String, Any>>, workspaceId: String? = null)
Tracks an "experience shown" event for a list of personalized experiences.
Since
14.02.00
Parameters
context
The application context.
experienceAttributes
A list of maps, where each map contains attributes of a shown experience.
workspaceId
The optional workspace ID for which the event is tracked. If null, the default SDK instance is used.