Generate a unique user ID with the REST API
Generate a unique user identifier for your application using the Analytics REST API.
Read time 1 minuteLast updated 19 hours ago
The REST API offers the following method for generating a random unique user ID:
https://collect.analytics.unity3d.com/api/analytics/collect/v1/uuid
When you have an ID, the user is identified by this value. However, there might be legal restrictions or limitations from licensing restrictions that prevent storing the apparent user ID at third-party locations. A workaround is to create a hash of this ID and use it as a user ID for the integration; this prevents storing the user ID again.