Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
RecommendationPreferenceTargetType
The kind of entity a preference signal targets when logged via LogPreferenceEvent. Determines how the targetId parameter is interpreted.
Items
| Name | Value | Description |
|---|---|---|
| User | 0 | The target is another Roblox user. The targetId is the user key. |
| Universe | 1 | The target is a universe. The targetId is the universe ID as a string. |
| CustomTag | 2 | The target is a custom content tag. The targetId is the tag string. |
User
The target is another Roblox user. The targetId is the user key.
| Field | Value |
|---|---|
| value | 0 |
Universe
The target is a universe. The targetId is the universe ID as a string.
| Field | Value |
|---|---|
| value | 1 |
CustomTag
The target is a custom content tag. The targetId is the tag string.
| Field | Value |
|---|---|
| value | 2 |