offeringShown

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

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

Since

2.1.0

Parameters

context

The application context.

offeringAttribute

Attributes of the shown offering. Must contain the mandatory keys moe_offering_id, moe_offering_name, moe_offering_type, moe_decision_policy_id and moe_decision_policy_name; the map is discarded if any is absent.

workspaceId

The optional workspace ID for which the event is tracked. If null, the default SDK instance is used.

Throws

if the SDK is not initialized for the resolved instance and the integration validator is enabled.