logo
pub fn send_event(name: &'static str, properties: &[(&'static str, &str)])
Expand description

Send a telemetry event

Event names should have the format “Object Action”. i.e.

  • World Loaded
  • Challenge Completed
  • World link Copied

Event property keys should be written in snake_case. i.e.

  • name
  • world_guid

The event name and the property key names define a stable schema so should be thoughtfully named and only change if the meaning of the event fully change. They are defined as static strings to help enforce this requirement and reduce the chance of accidentally using a dynamic string and dynamic schema