logEvent

abstract fun logEvent(event: String)

Logs a user-defined event and fetches campaign-based snippets from the backend. If the backend returns any matching campaign snippets, all are displayed immediately using a popup UI.

Parameters

event

The name of the event to log and use for campaign targeting.