Skip to main content
Version: SDK 4.5.x

Get a justtrack user ID

You can retrieve the justtrack user ID using JustTrackSDK.GetUserId:

using JustTrack;

JustTrackSDK.GetUserId((userId) => {
Debug.Log(userId); // use the justtrack user ID somehow...
}, (error) => {
// the SDK isn't correctly configured or there was a problem generating the justtrack user ID
});