Sub topic 9
Finding themes in comments, tickets, and interviews
What this chapter covers and what it assumes
This chapter assumes you have read the earlier chapters on the promise inventory, touchpoints, and evidence sources. You should know what a touchpoint is and where free-text feedback comes from: survey comments, reviews, support tickets, and interview notes. You should also be comfortable with simple counts and percentages.
Numbers tell you how big a gap is. Words tell you what the gap is made of. A CSAT score of 2.8 at Delivery says customers are unhappy. A set of comments says they are unhappy because parcels arrive on day four and tracking shows "in transit" for three days. Theme analysis is the method that turns thousands of loose comments into a short list of named, countable patterns, each tied to a promise and a touchpoint.
What a theme is
A theme is a recurring pattern in what customers say, described in a short phrase that a colleague could apply to a new comment without asking you what you meant. "Late delivery" is a theme. "Bad experience" is not, because it covers almost anything.
A good theme has four properties:
- It is specific enough that two people would code the same comment the same way.
- It is tied to a touchpoint, so it can feed a gap score.
- It is tied, where possible, to a promise from your inventory.
- It is countable, so you can say how many comments carry it.
The process of attaching theme labels to pieces of text is called coding. A code is the label. A codebook is the list of codes with a definition and an example for each.
The workflow
The steps below run in order, though you will loop back to earlier steps as you learn from the data.
Step 1: Collect text and tag it by touchpoint
Pull comments, tickets, reviews, and interview notes into one table. Record for each item the source, the date, the touchpoint it concerns, and the customer segment if you know it. Touchpoint tagging matters most. If a ticket mentions both a late parcel and a rude agent, it belongs to two touchpoints, so you will code it twice.
Keep the original wording. Do not clean it into summaries, because the exact phrasing is what you will quote in the final report.
Step 2: Read a sample before you code
Read 50 to 100 items, chosen at random across sources and touchpoints. You are looking for the vocabulary customers use, which often differs from your internal vocabulary. Customers say "it never showed up", not "delivery SLA breach". Your codes should be recognizable to the people who must act on them, but your search terms need to match what customers write.
Step 3: Draft a codebook
Write a code for each recurring pattern. For each one, record a definition, an inclusion rule, an exclusion rule, and one example.
| Code | Definition | Include | Exclude | Example |
|---|---|---|---|---|
| Late arrival | Parcel arrived after the promised two days | Customer states a day count or says "late" | Parcel never arrived (use Lost parcel) | "Took five days, not two" |
| Tracking unclear | Tracking status gave no useful information | Status stuck, vague, or contradictory | Parcel late but tracking accurate | "Said in transit for three days" |
| Lost parcel | Parcel did not arrive at all | "Never came", "missing" | Parcel delayed but delivered | "Still waiting after two weeks" |
The exclusion rule does most of the work. Without it, near-identical codes blur together and your counts become unreliable.
Step 4: Code everything
Apply the codebook to every item. One item may carry several codes. Two practical points:
- Code what the customer says, not what you suspect caused it. "Delivery was late" is the code. "The warehouse is understaffed" is a hypothesis for the root-cause chapter.
- Add a code called "Other" and review it. If it grows past about 10 percent of items, you are missing a theme.
If you have more than a few hundred items, a second person should independently code a sample of about 10 to 20 percent. Compare the results. If the two of you disagree on many items, the definitions need tightening. Agreement should be high before you trust the counts. A common rule of thumb treats agreement below about 80 percent as a sign the codebook needs revision, though the right threshold depends on how subtle the codes are.
Step 5: Count and compare
Counting turns themes into evidence. For each touchpoint, calculate how many items carry each theme and what share of that touchpoint's items that is. Then compare across segments and over time.
A small script handles this once your items are coded:
from collections import Counter
items = [
{"touchpoint": "Delivery", "codes": ["Late arrival", "Tracking unclear"]},
{"touchpoint": "Delivery", "codes": ["Late arrival"]},
{"touchpoint": "Delivery", "codes": ["Lost parcel"]},
{"touchpoint": "Support", "codes": ["Slow reply"]},
{"touchpoint": "Support", "codes": ["Slow reply", "Scripted answer"]},
{"touchpoint": "Delivery", "codes": ["Tracking unclear"]},
]
by_touchpoint = {}
for item in items:
by_touchpoint.setdefault(item["touchpoint"], []).append(item)
for touchpoint, group in by_touchpoint.items():
counts = Counter(code for item in group for code in item["codes"])
total = len(group)
print(touchpoint, f"({total} items)")
for code, n in counts.most_common():
print(f" {code}: {n} items, {n / total:.0%} of touchpoint")The share is calculated over items, not over codes. Because one item can carry several codes, shares at a touchpoint can add up to more than 100 percent. That is expected.
From themes to gap evidence
A theme becomes gap evidence when you connect it to a promise. Return to the promise inventory entry "Delivery in two days". Late arrival and Lost parcel directly contradict it. Tracking unclear does not contradict the promise itself, but it damages the experience around it. Record this distinction. It tells you which themes show a broken promise and which show a weak experience around a kept promise.
Use themes in two ways:
- To explain a score. If the Delivery gap is 4 points, themes show which behaviors produce it, so the fix can be aimed.
- To find gaps your metrics missed. A theme that appears often at a touchpoint with a small gap score may point to a promise you did not list. For example, many comments saying "I expected a refund automatically" reveal an implicit promise. Add it to the inventory.
Interviews need extra care
Interviews yield rich explanations but few cases. Treat counts from them as directional only. Saying "7 of 12 interviewees mentioned slow replies" is fine. Saying "58 percent of customers" is not.
Use interviews to:
- Learn why a pattern in tickets happens, in the customer's own account of events.
- Test whether your codes match how customers think.
- Find quotations that make a theme concrete for the people who must act on it.
Ask about specific recent events ("Tell me about the last time you contacted support") rather than general opinions ("What do you think of our support?"). Specific stories reveal what happened. General opinions reveal what people think they should say.
Common errors
| Error | Why it hurts | Fix |
|---|---|---|
| Themes too broad ("Service") | Cannot be assigned to a touchpoint or fixed | Split until each theme maps to one touchpoint and one behavior |
| Themes too narrow (one code per comment) | No pattern emerges | Merge codes that would lead to the same action |
| Counting only loud themes | Rare but severe issues disappear | Add a severity tag, such as "cancelled order", and review high-severity items even if few |
| Mixing sources without labels | Tickets over-represent problems; reviews over-represent extremes | Report counts per source, then compare |
| Coding to confirm a belief | You find the gap you expected | Code a blind sample, and have a second coder check it |
| Ignoring positive comments | You miss promises that are being kept | Code praise too, so each touchpoint shows both |
Using automated help carefully
Keyword searches and text-classification tools can speed up coding on large sets. Treat their output as a first pass. Check a random sample of their labels by hand against your codebook, and measure how often they match. Automated tools often miss sarcasm ("Great, another two-week wait") and negation ("not late at all"). They also split or merge themes in ways that do not match your codebook. The codebook stays under human control.
Reporting themes
For each touchpoint, report:
- The top three to five themes with counts and shares.
- The promise each theme relates to, and whether it breaks the promise or weakens the experience around it.
- Two or three verbatim quotations per theme.
- The source and sample size, so readers can judge how far to trust the figures.
- What the data does not show, such as segments that wrote few comments.
This report feeds the next stages. Gap scoring uses the themes to explain each score, and root cause analysis uses them as the symptoms to trace.
Exercise
You code 200 Delivery tickets. 90 carry "Late arrival", 40 carry "Tracking unclear", and 25 carry both. What share of Delivery tickets mention Late arrival, what share mention Tracking unclear, and how many tickets carry at least one of the two? Then name one reason the "Late arrival" share might overstate how common late delivery is among all customers.
Show answer
Late arrival: 90 / 200 = 45%. Tracking unclear: 40 / 200 = 20%. Tickets with at least one of the two: 90 + 40 - 25 = 105, or 52.5% of tickets. The share may be overstated because tickets come only from customers who chose to contact support, and customers with a late parcel are more likely to do so than customers whose parcels arrived on time. Survey or delivery-time data would give a better estimate of how widespread the problem is.
Exercise
Two coders label the same 50 comments. They give the same code to 36 of them. What is the agreement rate, and what should you do next?
Show answer
Agreement is 36 / 50 = 72%. That is below the common rule of thumb of about 80 percent, so review the 14 disagreements, find which codes caused them, tighten the definitions and exclusion rules in the codebook, then recode a fresh sample and check agreement again.