Skip to main content
Known traits are player identity and social fields, such as the Steam ID, the Discord ID and the display name. They have a label and an icon, are listed first on the player profile’s Traits tab, and get a light format check on write. Set them as identify() traits or in a traits event from your game or website, with the player traits API, or on the profile in the dashboard. The protected traits, such as email, come only from your server, the API or the dashboard. Every other key is a custom trait, such as supporter or favorite_class. It accepts any string, number or boolean. Known trait values must be strings, including the Discord ID and the Steam ID. A SteamID64 or a Discord ID sent as a JSON number is above 2^53, so JSON parsers change its last digits. Always send them as strings.

Linked accounts

A valid steam_id or discord_id shows as a linked account under the player’s name on the profile, with a link to the public Steam or Discord profile. In the Players filter menu, Linked account finds the players with (or without) a Steam or Discord account. Your game reads the SteamID from Steamworks (for example SteamUser.GetSteamID()) and sends it in identify():
Send a Steam or Discord ID only when your privacy notice covers it. It is personal data, the same as an email.

Protected traits

Only a trusted channel can set these traits: server events with the secret key, the player traits API, and the dashboard. A website or a game build holds only the publishable key, so anyone can read it and send any value. So Manalens drops these keys from web and app identify and traits events, and keeps the other traits of the event. Send email from your server or with the API.

Reserved names and values

  • user_id is the profile key. It is in the path, and it cannot be set or unset as a trait.
  • The string _is_deleted is refused as a value. Send null to delete a trait.
The format checks apply to identify and traits events, the player traits API and trait edits in the dashboard. The API and the dashboard refuse a bad value. An event keeps its other traits and drops only the trait that fails its check, so one bad value does not lose the event. A custom key starts with a letter, then has letters, digits, _, . or -, up to 100 characters. In all of them, null deletes the trait. Every write has the same limits: at most 50 traits and 8 KB of JSON per player.