SDK 5.2.0 Gameplay Analytics
9 months ago
SDK 5.2.0 has been released, expanding on Pley's analytics system, adding a viewport/aspect ratio automation tool, and fixing multiple issues!
It is available for download at manage.pley.com/downloads
Changelog
A new system for gameplay-level analytics.
- Call any predefined event in the game code and have it delivered to any of your analytics services through the Playable and Game site.
- Create custom events with customized payloads, delivered to any analytics service.
- Added a warning if AnalyticsKit was used, but not initialized properly with the required user properties.
- User properties, such as
username
,currency balance
,game version
, andcustom user ID
for cross-platform attribution. - Predefined gameplay analytics, with events such as
tutorial_advanced
,tutorial_complete
,resource_spent
,premium_gained
(currency),offer_shown
(liveOps / deals), and more! - Click here to see all gameplay events and properties.
New automated viewport system for web
- Allows you to automatically configure viewport behavior without having to rewrite code made for mobile aspect ratios.
- A simple editor-UI setup of viewport size; fixed, adaptable, snapping, free, etc.
- Resolution control.
Fixed multiple issues, bugs, and quality-of-life
- Prevent unity assemblies from reloading while uploading builds to Pley
- Cleaned up the Pley SDK, reducing file size by half.
- Improved responsiveness of error messages in the SDK
- Added a "cancel upload" button during build uploads.
- Fixed an issue on Windows machines where builds would fail to upload.
Event | Description | Properties |
---|---|---|
gameplay_analytics_initialized | Triggered when you initialize AnalyticsKit, setting the basic user properties. | username , level , application_version , custom_user_id , custom[] |
gameplay_tutorial_advanced | When the player advances a step in the tutorial. | tutorial_step |
gameplay_tutorial_completed | When the player completes the tutorial. | - |
gameplay_tutorial_skipped | When the player skips the tutorial. | - |
gameplay_level_advanced | When the player advances a level (levels up or beats a mission, game dependent) | level |
gameplay_premium_spent | When the player spends premium currency. | name , amount , source , new_balance |
gameplay_premium_gained | When the player gains premium currency. | name , amount , source , new_balance |
gameplay_resource_spent | When the player spends game currency. | name , amount , source , new_balance |
gameplay_resource_gained | When the player gains game currency. | name , amount , source , new_balance |
gameplay_offer_shown | When the player is shown an offer, deal, liveOps, or promotion. | offer |
Custom Event | Set any game-specific custom event you need, and deliver it to your analytics services. | name ,parameters[] |