Logging 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. You should also check out our notes on event naming conventions.

You can use the following methods to track important user actions and custom events:

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})
WAS THIS PAGE HELPFUL?
New Stuff!