trackAction

open fun trackAction(name: String, attributes: Map<String, Any> = emptyMap())(source)

Tracks a key user interaction as a named custom RUM action. Auto-tracked tap targets are R8-obfuscated in release builds, so analytically important interactions must be reported explicitly with a stable name.

Parameters

name

Stable snake_case action name (e.g. "message_send", "traceroute_request").

attributes

Optional structured attributes attached to the action.