Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AnalyticsInterface

Hierarchy

Index

Constructors

constructor

Methods

initialize

  • initialize(): Promise<never>
  • Initializes the analytics

    Returns Promise<never>

setUserContext

  • setUserContext(userName: any): void
  • Sets the player name for analytics

    Parameters

    • userName: any

    Returns void

trackStateEnter

  • trackStateEnter(stateId: any): void
  • Tracks when a new state is entered

    Parameters

    • stateId: any

    Returns void

trackUiClick

  • trackUiClick(elementName: any): void
  • Tracks a click no an ui element

    Parameters

    • elementName: any

    Returns void