Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Statistics #1168

Open
2 of 8 tasks
niekcandaele opened this issue Aug 24, 2024 · 1 comment
Open
2 of 8 tasks

Statistics #1168

niekcandaele opened this issue Aug 24, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request roadmap

Comments

@niekcandaele
Copy link
Collaborator

niekcandaele commented Aug 24, 2024

Issue to track different statistics/analytics we want to expose.

All of these stats are 'over time', stored in our timeseries DB. This will allow users to pick periods they are interested in and allow more complex queries like dividing into bar charts of 'daily buckets' for example.

A lot of these should have the datapoints per gameserver and globally.

  • Total currency in rotation #1485

    • How much currency is spent (aka deleted from rotation)
    • How much currency is earned (aka money printer)
    • ^ There's some edge cases here, eg transactions between players should not increase these. Currency that is already in rotation should never be counted again
  • Currency per player

  • Average currency per player

    • Consider adding median/min/max too for statistical relevance. Average will get distorted by the richest players
  • Implement shop analytics to show most popular donor packs #1581

  • Function executions over time

    • Filterable by hook/command/cron ID
    • This'll help figure out which commands are most popular for example
  • Player country stats #1467

    • Display a world map showing where players originate from
    • Additionally a table with the 'raw numbers' (?)
    • Can display this domain wide and filtered per gameserver
@El-Limon
Copy link
Collaborator

El-Limon commented Sep 21, 2024

Figma ideas https://www.figma.com/design/KkSDe8Ag27qxXWc5xZZN78/Takaro-dahboarding?node-id=0-1&t=bgR1EfGnwAWaLyYZ-1

Players overview:

  • top 10 players based on amount of events (preconfigured selection on kills, chats) per player
  • Total players (already in api)
    Player detail view:
  • Playtime per player
  • Amount of logins per player per game server
  • Player lifetime value

Economy & Shop :

  • Popular customers based on spent
  • Total revenue
  • Total orders per week
  • Average order value
  • Total orders
  • Add percentage vs last period eg: $ 250 (+30% in green , - 30% in red)
  • Popular products list based on $ or quantity
  • Monthly sales graph

Everything should be viewable on the global shop page but also on the player detail page under economy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request roadmap
Projects
None yet
Development

No branches or pull requests

2 participants