Skip to content

User merge behavior

Learn how Braze handles user merging, including the three user types where the default behavior doesn’t apply: users marked for deletion, test users, and Global Control Group users.

This behavior applies to all merges, whether you’re using individual merging, bulk merging, or the Merge users API endpoint.

General merge behavior

When you merge two user profiles, Braze fills empty fields on the profile to keep with values from the profile to merge. If a field has a value on both profiles, Braze preserves the value on the profile to keep.

For example, if a value only exists on one profile or the other, Braze keeps it:

If both profiles have a value for the same field, Braze keeps the value from the profile to keep:

This behavior works well for default and custom attributes. However, Braze handles the following user types differently.

Behavior summary

Users marked for deletion

When you use the bulk user deletion tool to delete a segment, Braze flags those user profiles for deletion within the next 7 days. Braze doesn’t merge profiles that are marked for deletion, whether they’re the profile to keep or the profile to merge.

If you need to merge a profile that’s marked for deletion, first cancel the segment deletion or remove the user from deletion so the profile is no longer flagged.

Test users

Braze allows test user profiles to be merged and preserves test user status on the resulting profile. This differs from the general merge behavior, which would otherwise keep the value on the profile to keep.

The following table shows the resulting test user status for each combination:

For more information about test users, see Internal groups.

Global Control Group users

Braze doesn’t merge user profiles in a Global Control Group, whether they’re the profile to keep or the profile to merge.

Global Control Group membership is determined by a user’s random bucket number. Merging would change which users belong to the group, which would affect your experiments and reporting.

New Stuff!