Skip to main content

capture_event

Function capture_event 

Source
pub fn capture_event(event: &str, properties: HashMap<String, Value>)
Expand description

Captures a single arbitrary PostHog event immediately.

Mainly for the user feedback dialog.

ยงArguments

  • event - The PostHog event name.
  • properties - Event-specific properties, merged over the shared ones.