List of Pley Analytics Events

See all events Pley provides.

C# API References: Analytics Kit

Must-have Events

These events must be triggered in the correct place for your game to function.

EventDescriptionProperties
game_loadedAnalyticsKit.GameLoaded(); should be called whenever the game finishes the initial loading, and the game is interactable for the player. Call this method whenever the loading screen is complete.-
user_interactedAnalyticsKit.UserInteracted(); should be called whenever the player takes their first meaningful action in the game, such as clicking a button or taking their first game action.-
user_engagedAnalyticsKit.UserEngaged(); should be called whenever the user is considered engaged. It is recommended to fire this event after about 5 minutes of uninterrupted gameplay.-
gameplay_analytics_initializedAnalyticskit.Initialize(AnalyticsKit.Config); should be called on startup, after the player data has been loaded. (C# API Reference )username, level, application_version, custom_user_id, currencies[]
gameplay_tutorial_startedAnalyticskit.TutorialStarted(); should be called whenever the first tutorial instructions are displayed on the screen. Used to track the new user journey. (C# API Ref )-
gameplay_tutorial_advancedAnalyticskit.TutorialAdvanced(String); should be called when a tutorial step is completed. Used to track the new user journey (C# API Ref ).tutorial_step
gameplay_tutorial_completedAnalyticskit.TutorialCompleted(); When the player completes the tutorial. (C# API Ref ).-
gameplay_startedPley.AnalyticsKit.GameplayStart(); Whenever active gameplay starts, including on first start.-
gameplay_stoppedPley.AnalyticsKit.GameplayStop(); When the game is paused, menus are opened, UI screens are shown, etc. Not during gameplay.-
loading_startedPley.AnalyticsKit.LoadingStart(); When a loading screen starts.-
loading_stoppedPley.AnalyticsKit.LoadingStop(); When a loading screen finishes.-

Automatic Events

These events are available but require no implementation.

EventDescriptionProperties
game_load_startedTriggers as soon as the loading begins (before the game code executes). This occurs after the "start"-button is clicked or the game automatically starts.-
playable_loadedTriggers when the Web Playable completes its initialization. When playable_loaded fires, the game takes over and continues loading. Web Playable loads the necessary assets (cached or downloaded) for the game and game engine to launch.-
purchase_startedTracks purchases.-
purchase_completedTracks purchases.product_id, product_name, amound_usd
game_crashedRecords crash data. All crashes can be found in the Game Manager Crash Log.-
ad_shownTriggers when a user successfully views an ad to completion.-
show_ad_requestedTriggers when the game requests an ad. It is not guaranteed an ad is provided.-
auth_completedTriggers when the user logs in through Pley. Type tracks Signup/Login, and method tracks social login method.type, method
PageViewTriggers whenever a user views a page on a Gamesite. Contains which URL or subpage the user viewed. Only sent by the Pley Gamesite.url

Optional Events

These events are optional, and must be implemented in the game through the Pley SDK AnalyticsKit.

EventDescriptionProperties
gameplay_tutorial_skippedWhen the player skips the tutorial.-
gameplay_premium_spentWhen the player spends premium currency.name, amount, source, new_balance
gameplay_premium_gainedWhen the player gains premium currency.name, amount, source, new_balance
gameplay_resource_spentWhen the player spends game currency.name, amount, source, new_balance
gameplay_resource_gainedWhen the player gains game currency.name, amount, source, new_balance
gameplay_offer_shownWhen the player is shown an offer, deal, liveOps, or promotion.offer
Custom EventSet any game-specific custom event you need, and deliver it to your analytics services. (API Reference)name,parameters[]