Skip to main content
Version: SDK 6.0.x

Set a user ID

If your app already assigns a unique ID to each user, you can share this ID with the justtrack SDK. This allows the justtrack backend to associate events received from third parties with the correct user.

If a user’s ID changes, you must provide the new value to the justtrack SDK:

using JustTrack;

string customUserId = /* get your own user ID from your game */;
JustTrackSDK.SetUserId(customUserId);
info

The user ID must be shorter than 4096 characters and only consist of printable ASCII characters (U+0020 to U+007E).