Changing custom attribute or event data type
To change the data type of a custom attribute or event, from the Braze dashboard, navigate to Data Settings and select either Custom Attributes or Custom Events.
If you are using the older navigation, the Custom Events and Custom Attributes pages are located under Manage Settings.
If you must change the data type of a custom attribute or event (for example, changing
string), consider the following:
- Relevant filters in segments, campaigns, Canvases, or other locations using the changed attribute or event are not automatically updated. Before you can modify attributes, you must remove the filter or triggers that reference them.
- User data will not be retroactively updated. If the changed attribute was on a user profile prior to the data type change, then that value will still be the old data type. This can cause users to fall out of the segments that contain the changed attribute. The filter will actively look for the new data type, but if a profile still has the previous data type, that user will now be excluded from the segment. These users must be updated to fall back into the proper segments. You can do this with the
- New data will not be accepted if it’s not the new data type. For example, an API call to the
users/trackendpoint that contains the previous data type for a changed attribute will not be accepted. You must call the new data type.
Last updated on May 5, 2021