offeringClicked

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

Tracks the click of an experience campaign.

Since

1.0.0

Parameters

context

An instance of Context.

campaign

The data for the clicked offering campaign.

offeringPayload

The data for the clicked 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.