MoEPersonalizeHelper

Helper class for tracking personalized experience events like "shown" and "clicked". This class provides methods to report user interactions with personalized content.

Author

Arshiya Khanum

Since

14.02.00

Functions

Link copied to clipboard
fun experienceClicked(context: Context, experienceAttributes: List<Map<String, Any>>, workspaceId: String? = null)

Tracks an "experience clicked" event for a list of personalized experiences.

fun experienceClicked(context: Context, experienceAttributes: Map<String, Any>, workspaceId: String? = null)

Tracks an "experience clicked" event for a single personalized experience.

Link copied to clipboard
fun experienceShown(context: Context, experienceAttributes: List<Map<String, Any>>, workspaceId: String? = null)

Tracks an "experience shown" event for a list of personalized experiences.

fun experienceShown(context: Context, experienceAttributes: Map<String, Any>, workspaceId: String? = null)

Tracks an "experience shown" event for a single personalized experience.

Link copied to clipboard
fun offeringClicked(context: Context, offeringAttribute: Map<String, Any>, experienceAttribute: Map<String, Any>? = null, workspaceId: String? = null)

Tracks an "offering clicked" event for a single offering and the "experience clicked" event of the associated experience.

Link copied to clipboard
fun offeringShown(context: Context, offeringAttribute: Map<String, Any>, workspaceId: String? = null)

Tracks an "offering shown" event for a single offering.