Skip to content

Commit b32ca64

Browse files
authored
Merge pull request #7143 from segmentio/engage-faqs-null
Add Unify FAQ on Removing Traits from User Profiles
2 parents 624d311 + d49136c commit b32ca64

File tree

1 file changed

+33
-10
lines changed

1 file changed

+33
-10
lines changed

src/unify/faqs.md

Lines changed: 33 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,22 @@ Yes, Identity Graph supports multiple external IDs.
99

1010
Identity Graph automatically collects a rich set of external IDs without any additional code:
1111

12-
1. Device level IDs (ex: `anonymous_id`, `ios.idfa` and `android.id`)
13-
2. Device token IDs (ex: `ios.push_token` and `android_push_token`)
14-
3. User level IDs (ex: `user_id`)
12+
1. Device level IDs (example: `anonymous_id`, `ios.idfa` and `android.id`)
13+
2. Device token IDs (example: `ios.push_token` and `android_push_token`)
14+
3. User level IDs (example: `user_id`)
1515
4. Common external IDs (`email`)
16-
5. Cross domain analytics IDs (`cross_domain_id`)
16+
5. Cross-domain analytics IDs (`cross_domain_id`)
1717

18-
If you want Identity Graph to operate on a different custom ID, you can pass it in using `context.externalIds` on an `identify()` or `track()`. If you're interested in this feature, contact your CSM to discuss the best way to implement this feature.
18+
If you want Identity Graph to operate on a different custom ID, you can pass it in using `context.externalIds` on an [Identify](/docs/connections/spec/identify/) or [Track call](/docs/connections/spec/identify/). If you're interested in this feature, contact your CSM to discuss the best way to implement this feature.
1919

2020
## How does Unify handle identity merging?
21-
Each incoming event is analyzed and external IDs are extracted (`user_id`, `anonymous_id`, `email`). The simplified algorithm works as follows:
21+
Segment analyzes each incoming event and extracts external IDs (like `user_id`, `anonymous_id`, `email`). The simplified algorithm works as follows:
2222

2323
1. Segment first searches the Identity Graph for incoming external IDs.
2424
2. If Segment finds no matching profile(s), it creates one.
25-
3. If Segment finds one profile, it merges the incoming event with that profile. (This means that Segment adds the external IDs on the incoming message and resolves the event to the profile.)
25+
3. If Segment finds one profile, it merges the incoming event with that profile. This means that Segment adds the external IDs on the incoming message and resolves the event to the profile.
2626
4. If Segment finds multiple matching profiles, Segment applies the identity resolution settings for merge protection. Specifically, Segment uses identifier limits and priorities to add the correct identifiers to the profile.
27-
5. Segment then applies [limits](/docs/unify/profile-api-limits/) to ensure profiles remain under these limits. Segment doesn't add any further merges or mappings if the profile is at either limit, but event resolution for the profile will continue.
27+
5. Segment then [applies limits](/docs/unify/profile-api-limits/) to ensure profiles remain under these limits. Segment doesn't add any further merges or mappings if the profile is at either limit, but event resolution for the profile will continue.
2828

2929
{% comment %}
3030

@@ -48,8 +48,8 @@ If two merged user profiles contain conflicting profile attributes, Segment sele
4848

4949
Any of the external IDs can be used to query a profile. When a profile is requested, Segment traverses the merge graph and resolves all merged profiles. The result is a single profile, with the latest state of all traits, events, and identifiers.
5050

51-
### Can ExternalID's be changed or removed from the profiles?
52-
No. As the Identity Graph uses ExternalIDs, they remain for the lifetime of the user profile.
51+
### Can external IDs be changed or removed from the profiles?
52+
No. As the Identity Graph uses external IDs, they remain for the lifetime of the user profile.
5353

5454
### Can I delete specific events from a user profile in Unify?
5555
No. Alternatively, you may delete the entire user profile from Segment using a [GDPR deletion request](/docs/privacy/user-deletion-and-suppression/).
@@ -59,3 +59,26 @@ Segment determines the Monthly Tracked Users (MTUs) count by the number of uniqu
5959

6060
### What is the event lookback period on the Profile Explorer?
6161
The [Profile Explorer](/docs/unify/#profile-explorer) retains event details for a period of up to 2 weeks. If you need event information beyond this timeframe, Segment recommends using [Profiles Sync](/docs/unify/profiles-sync/overview/) for comprehensive event analysis and retention.
62+
63+
### Can I remove a trait from a user profile?
64+
65+
Yes, you can remove a trait from a user profile by sending an Identify event with the trait value set to `null` in the traits object from one of your connected sources. For example:
66+
67+
```json
68+
{
69+
"traits": {
70+
"trait1": null
71+
}
72+
}
73+
```
74+
Setting the trait value to an empty string won't remove the trait, like in this example:
75+
76+
```json
77+
{
78+
"traits": {
79+
"trait2": ""
80+
}
81+
}
82+
```
83+
84+
Instead, this updates the trait to an empty string within the user profile.

0 commit comments

Comments
 (0)