offeringShown

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

Tracks the display of an offering campaign.

Since

1.0.0

Parameters

context

An instance of Context.

offeringPayload

The data for the displayed offering campaign.

workspaceId

The optional workspace ID; if null, the default instance will be used.

Note: Use this function only if the experience data is from an offering, else use experience click/shown function

Throws

if the SDK is not initialized for the given instance.