Analytics
The Analytics plugin is specifically designed to implement additional analytics aside from the built-in analytics in the PlayFab service, for games built using Construct 3 and Construct 2.
The main features of the analytics plugin include title events (global game events), player events and device information reporting.
The full outcome results of the analytics data is shown in the Analytics Dashboard of the PlayFab Console, with various tools to monitor all tracking events.
You can also use this alongside other PlayFab plugins and platform specific analytics plugins from other mobile, web and desktop plugins.
Introduction
The Construct Master Collection supports the full and easy integration of the PlayFab service for both Construct 3 and Construct 2.
Please click here to learn more about PlayFab.
Features
Here are some of the features of the PlayFab service:
Title Events
Player Events
Device Information Reporting
Built-in PlayFab analytics
Analytics Console
Dashboard Analytics
PlayStream Monitor
Analytics synced
Organized request and update features.
For more information about all the integrated PlayFab service features, please click here to learn the introductory lessons to PlayFab.
Network Services
Here are some of the platform services that can be linked:
PlayFab
Google Play
Game Center
Facebook
Facebook Instant Games
Steam
Xbox Live
Instant Games (Android Studio port)
Nintendo Switch (3rd party porting services)
PS4 (3rd party porting services)
Nintendo Switch (3rd party porting services)
Editor Features
Here are some of the features in the Construct editor:
All platforms support, including web, mobile and desktop.
Construct 3
Construct 2
How to use?
It is easy to use the Real Currencies plugin, you will only need to follow the steps below.
Set up the PlayFab API plugin, please click to visit the documentation. This includes creating a PlayFab account, studio and title.
Set up the Authentication plugin, please click to visit the documentation.
Finally, you can now use the Real Currencies object, and include more PlayFab addons for more features.
Documentation
There is currently nothing to show, we will add more in the future.
Analytics Usage
PlayFab Analytics is built-in the PlayFab SDK, most requests in the PlayFab Master Collection have their own tracking information and events. Although, the Analytics plugin extends that into allowing you to create your own customized tracking for your projects. There are many ways to preview and utilize the analytics data, however the basics that will get you started is very straightforward and quick to look up. Please proceed below to see the steps on how to quickly utilize the PlayFab Analytics feature.
Step 1 : Login into your PlayFab account. Select a game from a studio.
Step 2 : From the Dashboard, it will initially show the analytics overview. This will show the basic analytics data.
Step 3 : From the Dashboard, select the "PlayStream Monitor" tab, then you can monitor the events happening in your current title.
Step 4 : Finally, to monitor your your main analytics data, select the Analytics Dashboard's menu option.
There are various options here to monitor tracking, so at best, explore all of them.
That covers the basic of analytics. If you need more learning resources, we highly recommend reading Microsoft PlayFab's own documentation regarding analytics.
Actions, Conditions & Expressions
Actions
The following action groups:
Report Device Info
Write Title Event
Write Player Event
Report Device Info
Add Device Info Stack - Adds a new stack for "Report Device Information".
Key - The "Key Name" for the information.
Value - The "Value" for "Key Name" for the information
Report Device Info - Write a PlayStream event to describe the provided player device information.
Write Title Event
Add Title Event Stack - Adds a new stack for "Write Title Event".
Key - The "Key Name" for the information.
Value - The "Value" for "Key Name" for the information
Event Name - The "Event Name" to add this information stack before the "Write Title Event".
Write Title Event - Writes a title-based event into PlayStream.
Event Name - The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the "subject_verb_object" pattern (e.g. "player_logged_in)".
Write Player Event
Add Player Event Stack - Adds a new stack for "Write Player Event".
Key - The "Key Name" for the information.
Value - The "Value" for "Key Name" for the information
Event Name - The "Event Name" to add this information stack before the "Write Player Event".
Write Player Event - Writes a player-based event into PlayStream.
Event Name - The name of the event, within the namespace scoped to the title. The naming convention is up to the caller, but it commonly follows the "subject_verb_object" pattern (e.g. "player_logged_in)".
Conditions
The following condition groups:
Report Device Info
Write Title Event
Write Player Event
Report Device Info
On Report Info - Triggers when the Report Device Info Succeeded.
On Report Info Error - Triggers when the Report Device Info Failed.
Write Title Event
On Write Title Event - Triggers when the Write Title Event Succeeded.
On Write Title Event Error - Triggers when the Write Title Event Failed.
Write Player Event
On Write Player Event - Triggers when the Write Player Event Succeeded.
On Write Player Event Error - Triggers when the Write Player Event Failed.
Expressions
The following expression groups:
Write Title Event
Write Player Event
Server Response
Write Title Event
getTitleEventID - The unique identifier of the event. The values of this identifier consist of ASCII characters and are not constrained to any particular format.
Write Player Event
getPlayerEventID - The unique identifier of the event. The values of this identifier consist of ASCII characters and are not constrained to any particular format.
Server Response
ServerResponse - Return the "Server Response" from every request from the PlayFab Server. The server response can also be shown in the "Chrome Developer Tools : Console", if in "debug mode".
Showcase
There is currently nothing to show, we will add more in the future.
Game Projects
Instructions Kit
Specifications
-
Instructions - The game project contains instructions and steps on how to use the addon and its features.
-
Action, Conditions and Expressions - It covers the implementation of each action, condition and expression.
-
Tips and Tricks - It provides some tips and tricks on the recommended ways of using the addon.