> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PlayFab Statistics overview

> Introduction to the PlayFab Statistics service for tracking player scores, progression values, and leaderboard-ready numeric data across your title.

PlayFab Statistics is a cross-platform service that enables the numerical representation of player activity within a title.

<img src="https://mintcdn.com/microsoft-4404708b/N3T1ucKV7zIMBudj/images/playfab/player-progression/statistics/stats-relationship.png?fit=max&auto=format&n=N3T1ucKV7zIMBudj&q=85&s=d4514433fc96f1a89d306b3b83871a04" alt="PlayFab Stats Architecture" width="3236" height="2184" data-path="images/playfab/player-progression/statistics/stats-relationship.png" />

## Benefits

One of the main benefits of the new statistics service is its cross-platform capabilities and its ability to scale
according to any requirements. In the following sections, we're going to detail a series of new features of the service.

### Multicolumn Aggregation

The Stat service now supports multiple values under a single stat definition, each with its own aggregation method,
including Max, Min, Last, and Sum.

Below are two examples of a stat definition with multiple columns. On the left is a statistic with five columns, each
having their own aggregation method. On the right is an example applied to a in-game experience for capturing long shots,
both the furthest and shortest.

<img src="https://mintcdn.com/microsoft-4404708b/N3T1ucKV7zIMBudj/images/playfab/player-progression/statistics/stat-definition.png?fit=max&auto=format&n=N3T1ucKV7zIMBudj&q=85&s=3038f64781b9c8db2e12b7be67ccbd32" alt="PlayFab Stats multicolumn" width="1636" height="363" data-path="images/playfab/player-progression/statistics/stat-definition.png" />

### Versioning

Each statistic can now be versioned, allowing for the retention of its definition while the content is refreshed.
This behavior is achieved through a reset strategy that can be individually defined for each statistic. Every previous version remains
accessible for historical comparison and analysis.

In this example, we can see how the statistic definition remains the same while the content changes between each version.

<img src="https://mintcdn.com/microsoft-4404708b/N3T1ucKV7zIMBudj/images/playfab/player-progression/statistics/stats-versioning.png?fit=max&auto=format&n=N3T1ucKV7zIMBudj&q=85&s=b056c0b510366f0b57d7de212b262f41" alt="PlayFab Stats versioning" width="1777" height="409" data-path="images/playfab/player-progression/statistics/stats-versioning.png" />

### Metadata

Enhanced flexibility is introduced with the option to attach custom information to each statistic, providing context
and detail that can be tailored to specific needs.

In this example, you can see how metadata is associated with each statistic.

<img src="https://mintcdn.com/microsoft-4404708b/N3T1ucKV7zIMBudj/images/playfab/player-progression/statistics/stat-metadata.png?fit=max&auto=format&n=N3T1ucKV7zIMBudj&q=85&s=059e3cd18b1a209f71b5814b2b5e4396" alt="PlayFab Stats metadata" width="1159" height="664" data-path="images/playfab/player-progression/statistics/stat-metadata.png" />

### Standalone components

One key aspect of the Statistics service is that it can work with the Leaderboards service. This capability allows that
every time a player makes an update to their stats, it's going to be reflected into a leaderboard.
However, also this service can work in a standalone fashion if needed.

## See also

* [Quickstart statistics](/services/playfab/player-progression/statistics/quickstart-statistics).
* [Create basic statistics](/services/playfab/player-progression/statistics/create-basic-statistics).
* [Doing more with statistics](/services/playfab/player-progression/statistics/doing-more-statistics).
* [Seasonal statistics](/services/playfab/player-progression/statistics/seasonal-statistics).
* [Limits](/services/playfab/player-progression/statistics/limits-statistics).
* [Quota](/services/playfab/player-progression/statistics/quota-statistics)
* [Add contextual data to statistics](/services/playfab/player-progression/statistics/metadata-statistics).
* [API reference](/services/playfab/player-progression/statistics/api-reference).
* [Ranking players by statistics](/services/playfab/community/leaderboards/leaderboards-linked-to-stats).
* [Statistics meters](/services/playfab/pricing/meters/statistics-meters).
* [Statistics with PlayStream and Telemetry](/services/playfab/player-progression/statistics/statistics-with-playstream-and-telemetry).


## Related topics

- [PlayFab Statistics overview](/services/playfab/player-progression/statistics/index.md)
- [Ranking players by statistics](/services/playfab/community/leaderboards/leaderboards-linked-to-stats.md)
- [PlayFab Leaderboards overview](/services/playfab/community/leaderboards/index.md)
- [PlayFab for Unreal Engine Overview](/services/playfab/sdks/unified-unreal/overview.md)
- [PlayFab Player progression documentation](/services/playfab/player-progression/index.md)
