Sub topic 12
Measuring motivation with surveys and behavioural data
This chapter assumes you know the main motivation models from earlier chapters: Bartle's types, Yee's components, and the Quantic Foundry clusters. It also assumes you can read short Python functions. You need no statistics beyond averages and proportions.
Models are only useful if you can estimate where your own players sit in them. There are two main ways to do that. You can ask players, which is a survey. You can also watch what they do, which is behavioural data, often called telemetry. Each method sees something the other misses, and each fails in predictable ways.
What you are trying to measure
Motivation is not directly observable. It is a reason for acting, and you can only infer it from something else. A survey infers it from what players say about themselves. Telemetry infers it from what they do.
Two terms help here:
- A construct is the thing you want to know about, such as "enjoys discovery".
- An indicator is something you can observe that stands in for the construct, such as a survey answer or a logged event.
Every measurement problem in this chapter comes from the gap between construct and indicator.
Surveys
How motivation surveys are built
Established instruments such as Yee's questionnaire and the Quantic Foundry Gamer Motivation Profile ask many short items. A typical item is "How much do you enjoy exploring hidden areas?", answered on a 1 to 5 scale. Several items feed each motivation. Averaging them gives a more stable score than any single question. This is why a single "Which player type are you?" question is a weak measure.
The function below does the averaging step. It takes pairs of motivation and score, and returns the mean per motivation.
from collections import defaultdict
def motivation_profile(answers):
"""Average 1-5 survey scores per motivation.
answers: list of (motivation, score) pairs.
Returns a dict of motivation -> mean score.
"""
scores = defaultdict(list)
for motivation, score in answers:
scores[motivation].append(score)
return {m: sum(v) / len(v) for m, v in scores.items()}
def top_motivations(profile, n=2):
return sorted(profile, key=profile.get, reverse=True)[:n]
answers = [
('completion', 5), ('completion', 4),
('social', 2), ('social', 3),
('discovery', 4), ('discovery', 5),
]
profile = motivation_profile(answers)
print(profile)
print(top_motivations(profile)) # ['completion', 'discovery']Note that completion and discovery both average 4.5. The sort is stable, so ties keep their input order. With real data, a tie like this tells you the player has two strong motivations. That is the point of a profile over a single type label.
Strengths of surveys
- They reach motivations that leave no trace in the game, such as why someone plays or what they wish the game did.
- They work before launch, when no telemetry exists. You can survey players of competing games or of a prototype.
- They let you ask about attitudes directly, including motivations the current game does not serve.
Common survey errors
- Self-report bias. People describe the player they want to be. Few admit to enjoying destruction or to caring about rewards more than story.
- Social desirability. This is the same bias applied to answers that feel acceptable to say. Aggressive or competitive motivations are often under-reported.
- Sampling bias. Players who answer a survey are not a random sample. They are more engaged, more loyal, and more likely to be on a forum or mailing list. Players who quit in week one rarely respond.
- Leading or double-barrelled items. "Do you enjoy fighting and winning?" mixes two motivations in one question. The answer cannot be interpreted.
- Context blindness. Players answer for "games in general". Their motivation in this game, on this day, can differ.
- Survey fatigue. A long questionnaire produces careless answers near the end. Randomise item order, and keep the instrument short enough to finish.
Behavioural data
From events to motivation tags
Telemetry is a stream of logged events: quests completed, areas discovered, chat messages sent. To read it as motivation, you map each event to the motivation it most plausibly expresses, then count.
from collections import Counter
EVENT_TO_MOTIVATION = {
'quest_completed': 'completion',
'achievement_unlocked': 'completion',
'map_area_discovered': 'discovery',
'lore_entry_read': 'discovery',
'party_joined': 'social',
'chat_message_sent': 'social',
}
def behaviour_share(events):
"""Return the share of tagged events that belong to each motivation."""
counts = Counter(
EVENT_TO_MOTIVATION[e] for e in events if e in EVENT_TO_MOTIVATION
)
total = sum(counts.values())
return {m: c / total for m, c in counts.items()} if total else {}
events = ['quest_completed', 'map_area_discovered', 'quest_completed', 'login']
print(behaviour_share(events)) # completion about 0.67, discovery about 0.33The login event is ignored because it has no tag. That is a deliberate choice, and an assumption you should write down.
Strengths of telemetry
- It records what players actually did, so it is free of self-report bias.
- It covers everyone who played, including players who would never answer a survey.
- It is continuous. You can see how a profile changes over weeks, which a one-time survey cannot show.
Common telemetry errors
- The tag is an assumption. Completing a quest might express completion. It might also be the only way to progress the story, or the only way to earn currency. The event is the same, and the motivation differs.
- Design shapes behaviour. Players can only do what the game allows. If the game has no social features, nobody shows social behaviour, whatever they want. Absent behaviour is not absent motivation.
- Counting is not caring. A repeatable action, like picking up loot, produces many events. A rare, meaningful action, like finishing a hard boss, produces one. Raw shares overweight cheap events. Weigh events or compare per-session rates.
- Missing events. Offline play, off-platform chat, and wikis or Discord servers are invisible to your logs.
- Privacy. Behavioural data about individuals is personal data. Collect only what you need, aggregate where possible, and follow the applicable data protection rules.
Comparing the two
Neither source is the truth. The useful move is to put them side by side and look at the gaps. A gap is a finding, not an error. The function below computes it.
def motivation_gap(survey_profile, behaviour_profile):
"""Behaviour share minus survey share, per motivation.
Positive: the player does more of this than they say they value.
Negative: they say they value it but do little of it in game.
"""
total = sum(survey_profile.values())
survey_share = {m: v / total for m, v in survey_profile.items()}
keys = sorted(set(survey_share) | set(behaviour_profile))
return {
m: round(behaviour_profile.get(m, 0) - survey_share.get(m, 0), 2)
for m in keys
}
survey = {'completion': 4.5, 'social': 2.5, 'discovery': 4.5}
behaviour = {'completion': 2 / 3, 'discovery': 1 / 3}
print(motivation_gap(survey, behaviour))
# {'completion': 0.28, 'discovery': -0.06, 'social': -0.22}Here the player behaves in a more completion-heavy way than they say. Several explanations fit:
- The game's reward structure pulls players toward completion.
- The tags overcount completion events.
- The player's stated social interest has no outlet in the game.
The data cannot tell you which one is right. It only tells you where to look.
Choosing a method
| Question | Better source | Reason |
|---|---|---|
| What do players of a game I have not built yet want? | Survey | There is no behaviour to log. |
| Which activities do players spend time on? | Telemetry | It is direct and complete. |
| Why did players leave? | Survey or interview | The reason is not in the event log. |
| Does a new feature change what players do? | Telemetry with an experiment | You need a before and after, or a control group. |
| How do motivations differ between groups? | Both | Compare stated and observed profiles per group. |
Treat results as profiles
The earlier chapter on profiles argued that players hold several motivations at once, in different strengths and in different contexts. Measurement supports that view in practice. A good analysis reports:
- a score for each motivation, not a single label
- the sample size and how people were recruited
- which events map to which motivation
- a confidence statement, such as "the difference between these groups is small compared to the spread within each group"
A common failure is to cluster players into "types" and then treat the clusters as real categories. Clustering will always return groups, because that is what it is asked to do. Check whether the clusters stay stable on new data before you design for them.
Summary of failure modes
- Surveys misreport and over-represent engaged players.
- Telemetry reflects what the game allows and relies on assumed tags.
- Comparing the two shows gaps, and gaps need explanation from a third source.
- Averages and cluster labels hide variation. Report spread and sample size.
Exercise
A survey of your game's players shows high scores for social motivation, but telemetry shows few party or chat events. Give two different explanations that would each fit this result, and say what data you would collect to tell them apart.
Show answer
Explanation 1: the game makes social play hard, for example matchmaking is slow or party tools are hidden, so players who want social play cannot get it. Explanation 2: the survey sample is biased toward players who are social in other ways, such as forum users, or players do their socialising off-platform on Discord, which the logs cannot see. To tell them apart, compare the survey respondents with a random sample of players, ask in the survey where players socialise, check funnel data on how many players open the party feature and drop out, and run a short interview with a few respondents.
Exercise
In the behaviour_share function, the event login is ignored. Name one situation in which ignoring it would be wrong, and one change to the function that would handle it.
Show answer
If login frequency is itself an indicator you care about, for example daily return as a sign of habit or social obligation, dropping it hides that signal. You could add a separate counter for untagged events, or add login to the mapping with its own motivation tag, and weight events so that frequent cheap events do not dominate the shares.