Custom event and attribute management
Adding custom attributes, custom events, and products
You can manage custom attributes, custom events (and their properties), and products (and their properties) from the respective tabs on Manage Settings page:
- Custom Attributes
- Custom Events
To add a custom attribute, event, or product, go to the respective tab and click + Add. Give it a name (and for custom attributes, a data type) and click Save. This will enable tracking on it.
Once you have created a Custom Event or Product, you can click Manage Properties for that event or product to add new properties, blocklist existing properties, and view which campaigns or Canvases use this property in a trigger event.
To make these added custom attributes, events, products, or event properties trackable, you must ask your developer to create it in the SDK using the exact name you used to add it earlier. Or, you can use Braze’s APIs to import data on that attribute. After that, the custom attribute, event, or other will be actionable and apply to your users!
All User Profile data (custom events, custom attribute, custom data) is stored as long as those profiles are active. Custom event properties are stored and available for Segmentation for thirty (30) days. If you’d like to leverage event properties for Segmentation, please contact your Braze Account Manager or Customer Success Manager.
Blocklisting custom attributes, custom events, and products
If you want to stop tracking a specific custom attribute, event, or product (e.g., accidental creation during testing, no longer useful), search for it in the Custom Events tab, then click Blocklist.
To prevent collecting certain device attributes, see our SDK guide.
Once a custom event or attribute is blocklisted:
- No data will be collected regarding that event/attribute,
- Existing data will be unavailable, unless reactivated,
- Blocklisted events and attributes will not show up in filters or graphs.
To accomplish this, Braze sends the blocklisting information down to each device. This is important as if you’re thinking about blocklisting a huge number of events and attributes (hundreds of thousands or millions), it will be a data intensive operation.
Something to consider is that blocklisting a high number of events and attributes is possible, but not advisable. This is because each time an event is performed or an attribute is (potentially) sent up to Braze, this event or attribute has to be checked against the entire blocklist. If it appears on the list, it won’t be sent up. This operation takes time, and if the list grows big enough, your app could start to slow down. If you have no need to use the event or attribute in the future, it should be removed from your app code during your next release.
Changes to the blocklist may take a few minutes to propagate. You may re-enable any blocklist event or attribute at anytime.
Forcing data type comparisons
Braze automatically recognizes data types for attribute data that is sent to us. However, in the event multiple data types are applied to a single attribute, you can force the data type of any attribute to let us know what it really is. Click on the drop-down in the Data Type column to choose.
Forcing data types does not apply to event properties, or purchase properties.
If you choose to force the data type for an attribute, any data that comes in that isn’t the specified type will be ignored.
Data type coercion
|Forced Data Type||Description|
|Number||Integers or Floats (i.e.
For more information on specific filter options exposed by different data type comparisons check out Configuring Reporting. And for more information on the different available data types, refer to Custom Attribute Data Types.
Data sent to Braze is immutable and cannot be deleted or modified once we’ve received it. However, you can use any of the steps listed above to exercise control over what you’re tracking in your dashboard.