docs.unity3d.com
    Show / Hide Table of Contents

    Class ConfiguratorAnalytics

    Static analytics engine provider

    Inheritance
    Object
    ConfiguratorAnalytics
    Namespace: UnityEngine.Industrial.Configuring.Providers
    Syntax
    public static class ConfiguratorAnalytics

    Methods

    AddTracker(IAnalyticsTracker[])

    Adds custom tracker to analytic system

    Declaration
    public static void AddTracker(params IAnalyticsTracker[] analyticsTrackers)
    Parameters
    Type Name Description
    IAnalyticsTracker[] analyticsTrackers

    The analytics trackers.

    GetTracker<T>()

    Gets an analytics tracker

    Declaration
    public static T GetTracker<T>()
        where T : IAnalyticsTracker
    Returns
    Type Description
    T

    T.

    Type Parameters
    Name Description
    T

    Init(IAnalyticsEngine)

    Initializes the specified engine.

    Declaration
    public static void Init(IAnalyticsEngine engine)
    Parameters
    Type Name Description
    IAnalyticsEngine engine

    The engine.

    RemoveTracker<T>()

    Removes and disposes custom analytics tracker

    Declaration
    public static void RemoveTracker<T>()
        where T : IAnalyticsTracker
    Type Parameters
    Name Description
    T

    SendEvent(String)

    Sends an analytics event through provided analytics engine

    Declaration
    public static void SendEvent(string eventName)
    Parameters
    Type Name Description
    String eventName

    Name of the event.

    SendEvent(AnalyticsEngineEvent)

    Sends an analytics event through provided analytics engine

    Declaration
    public static void SendEvent(AnalyticsEngineEvent analyticsEvent)
    Parameters
    Type Name Description
    AnalyticsEngineEvent analyticsEvent

    The analytics event.

    TrackContext(Context)

    Sends a context changed analytics event through provided analytics engine

    Declaration
    public static void TrackContext(Context context)
    Parameters
    Type Name Description
    Context context

    The context.

    TrackProduct(Product)

    Sends a product changed analytics event through provided analytics engine

    Declaration
    public static void TrackProduct(Product product)
    Parameters
    Type Name Description
    Product product

    The product.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023