Changing custom attribute or event data type

To change the data type of a custom attribute or event, from the Braze dashboard, navigate to Manage Settings and select the either the Custom Attributes or Custom Events Tab.

Change Data Type of Custom Attirbutes

If you must change the data type of a custom attribute or event (for example, from a date to a string)…

  • 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 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 via Braze’s user/track endpoint.
  • New data coming in will not be accepted if it is not the new data type. For example, an API call to the user/track endpoint 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

New Stuff!