기술 자료

​
​

Development

User Acquisition

Monetization

산업 분야

Analytics

Unity SDK

Client API

Analytics

이 페이지는 선택한 언어로 제공되지 않습니다.
LiveOps
​
​
Analytics
  • Overview
  • Get started
  • Pricing
  • Concepts
  • Tutorials
    • Create a custom event
    • Record an event
    • Record events with a custom user ID
    • Record transaction events
    • Record ad impression events
    • Copy custom events to another environment
    • Create a custom dashboard
    • Edit a custom dashboard
    • Create a funnel
    • Track user acquisition
    • Create a custom audience
    • Run a query with SQL Data Explorer
    • Query parameter values with SQL Data Explorer
    • Optimize SQL Data Explorer queries
    • Set up Data Access
    • Record an event with the REST API
    • Generate a unique user ID with the REST API
    • Request data deletion with the REST API
    • Debug event reporting
    • SDK 5.0.0 migration
    • Migrate to Unity 6.2 with Analytics SDK 6.1.0
    • Request game data deletion
  • Reference
  • Privacy and consent
  • FAQ
  1. Unity Analytics

Generate a unique user ID with the REST API

Generate a unique user identifier for your application using the Analytics REST API.
읽는 시간 1분
최근 업데이트: 9달 전

The REST API offers the following method for generating a random unique user ID:
https://collect.analytics.unity3d.com/api/analytics/collect/v1/uuid
For more information, refer to the API documentation.
A user ID is an ID that's unique to a user. If you're using Unity Gaming Services or another solution that generates a user ID at the start of the user's lifecycle, use that ID to send to the Analytics REST API. If you don’t have your own user ID in your game, it's recommended that you create a Universally Unique Identifier (UUID). You need to store the returned value locally on the client and reuse it for all future calls to the Collect endpoint from that specific client.
경고
Don't change what you're using.
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.

Copyright © 2026 Unity Technologies
법률 정보개인정보 처리방침쿠키Documentation Terms of Use개인 정보 판매 또는 공유 금지개인정보 보호 선택(쿠키 설정)

'Unity', Unity 로고 및 기타 Unity 상표는 미국 및 기타 지역 내 Unity Technologies 또는 그 계열사의 상표 또는 등록상표입니다(자세한 내용은 여기에서 확인하세요). 기타 명칭 또는 브랜드는 해당 소유자의 상표입니다.

일부 페이지는 편의를 위해 기계 번역되었으며 부정확한 내용이 있을 수 있습니다. 정보가 상충되는 경우, 영어 버전을 우선으로 참조하세요.


    이 페이지의 문제 보고