Skip to main content

Custom Events

Generates: Events (Log Records)

Track discrete business-level actions and milestones.

Already using an analytics service?

If you're using Mixpanel, Amplitude, Firebase Analytics, Segment, or similar — you can bridge those calls to PulseSDK.INSTANCE.trackEvent(...) alongside your existing tracking. This means zero additional instrumentation effort: every business event you already track automatically flows into Pulse too.

These events are the raw signal that Pulse uses to derive Interactions — user journey flows that are automatically composed, scored with Apdex, and surfaced in the dashboard to show what matters to your users.

Usage

// Simple event
PulseSDK.INSTANCE.trackEvent(
name = "user_logout",
observedTimeStampInMs = System.currentTimeMillis(),
)

// Event with attributes
PulseSDK.INSTANCE.trackEvent(
name = "purchase_completed",
observedTimeStampInMs = System.currentTimeMillis(),
params = mapOf(
"product_id" to "SKU-123",
"price" to 49.99,
"quantity" to 2,
),
)

Attributes

AttributeDescriptionAlways Present
pulse.type"custom_event"
screen.nameCurrent screen⚠️ If available
Custom attributesAny params you pass⚠️ If provided