How is it different from identity stitching in general?

Identity stitching is the general method: join events that arrive under different IDs. Player identity stitching applies it to games, where one player is spread across more places than a web user: the website, the Steam page, each game install, the Steam and Discord accounts, and a launcher or web shop. Each place has its own ID, and few of them share one.

Sources: Manalens core concepts documentation; Steamworks ISteamUser documentation.

What is a worked example?

Example: a player reads your devlog in a browser (ID A), installs the game on a PC (ID B) and on a Steam Deck (ID C). In the game on the PC, they open your wiki from the menu with a handoff link, which joins A and B. The game then calls identify() with their Steam ID on both devices, which joins B and C. All three IDs now show as one player.

Sources: worked example; Manalens identify users guide.

How does Manalens stitch a player?

Call identify() with a stable player ID in the website and the game, such as a Steam ID read from Steamworks or your own account ID. For players who never sign in, open your website from the game with link_url() in Godot or LinkUrl() in Unity and Unreal; the link joins the two IDs for 10 minutes. The profile lists the linked IDs, and the Steam and Discord IDs show as linked accounts.

Sources: Manalens identify users and known traits documentation.

Frequently asked questions

Should I use the Steam ID as the player ID?

Yes, if Steam is your only sign-in, because it is stable and the same on every device. Read it in the game with GetSteamID and send it as a string, since a 17-digit SteamID64 loses digits as a JSON number. If you have your own accounts, use your account ID and send the Steam ID as a property.

Can I stitch a player who never signs in?

Yes, between your website and one game install. Open a page of your website from the game with a handoff link, such as link_url() in the Godot SDK or LinkUrl() in Unity and Unreal. The website then joins the browser ID to the install ID. To join two devices, the player needs a sign-in.

What happens when two players share one PC?

Each player keeps their own signed-in events. In Manalens, if several players sign in on one browser or device, its anonymous events stay unassigned instead of going to the last player. A network match also never merges two profiles, because two people in one home share the same network.

Sources and implementation