Real-time analytics: core concepts
The analytics system gives you precise insights into the activities going on inside of your game.- How many players did you have today?
- Where do they struggle?
- What do they like?
- How many games were played?
- How much XP was gained?
- How many chests were opened - and on which levels?
- What is the average time for completing a certain level?
PlayFab event
An event - as a data structure - represents a change in state for your game. Events are represented as JSON objects. Each event has four parts:- Name (or unique type identifier) - (What happened?)
- Entity (player, title, or character) - (Who’s guilty?)
- Timestamp - (When did it happen?)
- Associated Data (also known as Body) - (What are the relevant details?)
Event flow
The core of any analytics system is the event flow - which is an all-inclusive list of events sorted by time. Your players are going to produce a large number of different events. But these events aren’t captured by themselves - you need an analytics system to capture them for later analysis. A solid analytics system allows you to group, sort, filter, count, transform, and perform calculations on a given set of events, turning the event flow into valuable, up-to-date information that you can use to run efficient LiveOps.See Also
- Actions and rules: Take real-time actions on PlayStream Events.
- Webhooks: Automatically trigger non-PlayFab servers on specific game events.
