docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IAnalyticsUserId

    Contract for obtaining the user ID of the analytics pipeline.

    Namespace: Unity.Services.Core.Analytics.Internal
    Assembly: Unity.Services.Core.Internal.dll
    Syntax
    [RequireImplementors]
    public interface IAnalyticsUserId : IServiceComponent

    Methods

    GetAnalyticsUserId()

    Returns the user ID value that the Analytics SDK is currently recording events against.

    Declaration
    string GetAnalyticsUserId()
    Returns
    Type Description
    string

    The current Analytics user ID.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)