Tracking custom events
You can record custom events in Braze to learn more about your app’s usage patterns and to segment your users by their actions on the dashboard. We also recommend familiarizing yourself with our event naming conventions.
Add a custom event
1
m.Braze.logEvent("YOUR_EVENT_NAME")
Adding properties
You can add metadata about custom events by passing a properties dictionary with your custom event.
Properties are defined as key-value pairs. Keys are String
objects and values can be String
, or Integer
.
1
m.Braze.logEvent("YOUR_EVENT_NAME", {"stringPropKey" : "stringPropValue", "intPropKey" : Integer intPropValue})
New Stuff!