Skip to Content
docs
Concepts

Players and identity

How installs become players, and what happens on shared devices.

Every install gets a device_id the SDK generates and keeps. When the player logs in, call Identify with your account id:

UC.Identify(account.Id, new() { ["cohort"] = "winter_26" });

From then on events carry both ids, and events from before the login on that device are attributed to the player too.

Rules

  • One player, many devices: a player who logs in on a phone and a tablet is one player.
  • One device, many players: on a shared device, call Reset() on logout. The mapping is time-ranged, so earlier events stay with the earlier player.
  • Two player_ids are never merged automatically.
  • Player properties use set semantics; use $set_once for first-touch values like the install campaign.
UC.Identify(account.Id, new() {
    ["vip_tier"] = 2,
    ["$set_once"] = new Dictionary<string, object> { ["first_world"] = "ember" },
});

Look anyone up in Players: profile, properties and their event stream.

On this page