What to measure in a browser game, and what to leave out
Updated
Once your game is live, numbers can tell you what players do, which is different from what they say. You do not need a lot of data. A handful of well-chosen counts will show you where people give up, what they enjoy, and whether an update helped. This guide covers what to measure in a small browser game, how to name your events, and how to do it without collecting anything about the players themselves.
Start with the questions
Measure something only if you will change what you do because of the answer. Good questions for a small game are:
- Do people who open the page start playing?
- How far do most players get?
- Where do they stop?
- What do they come back to?
- Did my last update change any of that?
The numbers worth having
- Views and plays. The page is opened, and the game is actually started. The gap between the two is the first thing to improve, and it is usually about the page, the thumbnail or the load time. See how to make your browser game load fast.
- Progress points. One event for each step a new player must pass, such as
tutorial_done,level_1_completeandlevel_2_complete. Counting them in order shows you the step where most players stop. - A value that shows difficulty. The time to finish a level, or the score at the end of a run. The average, lowest and highest tell you whether a level is too easy or too hard.
- Where players came from. If one link brings people who stay and another brings people who leave, you know where to spend time promoting the game.
- Feedback. Reviews and comments are numbers too, in a way. Read them with the counts beside them.
How to name events
- Use one pattern and keep to it, such as
level_3_complete, notLevel3Donein one place andfinished level 3in another. - Name what happened, in the past tense, and put the detail in the name or in a number.
- Keep the list short. Ten or twenty events you read are better than a hundred you do not.
- Do not send an event on every frame or every click. Send one when something meaningful happens.
- Write your names down once, so you remember what they mean in six months.
What not to collect
You can learn a lot without knowing who anyone is. For a family-friendly game, and for a game that children may play, that is the safest default.
- Do not record names, email addresses, or anything players type.
- Do not build a profile of one person across visits unless you really need it, and say so in your privacy policy if you do.
- Count events, not people. Totals and averages answer almost every question a small game has.
- Check which analytics tools set cookies, and whether you need consent. See cookie consent for web games and COPPA and GDPR for indie games.
How to read the numbers
- Compare, do not stare. A number alone says little. Compare this week to last week, or this build to the one before.
- Wait for enough data. A few plays can look dramatic and mean nothing. Do not change the game based on ten players.
- Look for the biggest drop. If half of players quit at one step, fix that before polishing anything else.
- Change one thing at a time. Otherwise you will not know what made the difference.
- Pair numbers with a person. When a step looks wrong, watch someone play it.
Measuring on indiedev.games
Games here can count their own events with a short script for Godot, Defold or plain JavaScript, and you read the counts, and the average, lowest and highest of an optional number, on your Game Analytics page. Only the name and the number are sent, with no player and no cookie. See Send game events from Godot or Defold and Stats and insights for the details and the limits.
Whatever you measure, say so in your privacy policy. The COPPA and GDPR checklist helps you check that what your game collects matches what you tell players.