Sub topic 10
Code Transcripts into Themes
What coding does
This chapter assumes you have completed customer interviews, have readable transcripts, and can use simple counts and percentages. It also assumes you know the difference between a brand and its positioning.
Coding is the process of labeling parts of a transcript with short, consistent theme names. A theme is a repeated reason, concern, or situation that helps explain a customer decision. For example, “trust,” “low price,” and “easy setup” can be themes.
The goal is not to count every word. The goal is to identify patterns that can support a positioning decision.
A useful coding workflow is:
- Read several transcripts without assigning codes.
- Mark passages that explain the customer’s situation, alternatives, choice, or concerns.
- Create a small list of theme codes.
- Apply the codes consistently to every transcript.
- Review unusual or contradictory answers.
- Count themes by interview and inspect the supporting quotes.
Build a practical codebook
A codebook is a list that defines each code and explains when to use it. Write the definition before coding all transcripts. This reduces the risk of changing the meaning of a code halfway through the project.
| Code | Use it when the customer mentions | Do not use it when |
|---|---|---|
| trust | confidence in your expertise, reliability, or reputation | the customer only says the product worked |
| price | cost, savings, discounts, or budget fit | the customer says the product was valuable without mentioning cost |
| ease_of_setup | simplicity or speed of getting started | the customer describes general ease of daily use |
| support | help from staff, onboarding, or problem resolution | the customer only praises the product documentation |
A single passage can receive more than one code. For example, “The support team helped us set it up in one afternoon” could receive both support and ease_of_setup.
Use the same unit when counting. For brand-choice research, counting interviews that mention a theme is usually safer than counting total mentions. One enthusiastic customer might repeat “trust” ten times, but that should not make the theme equal to ten customers.
Count themes by interview
The following example counts each theme once per interview, even if the participant mentioned it repeatedly.
from collections import Counter
interviews = {
"p1": ["price", "trust", "support"],
"p2": ["trust", "ease_of_setup"],
"p3": ["trust", "price"],
"p4": ["support", "ease_of_setup", "trust"],
}
counts = Counter()
for themes in interviews.values():
# Count a theme once per interview.
counts.update(set(themes))
total_interviews = len(interviews)
for theme, count in counts.most_common():
percentage = count / total_interviews * 100
print(f"{theme}: {count} of {total_interviews} interviews ({percentage:.0f}%)")This produces a frequency view, not proof of causation. If trust appears in three of four interviews, you can say it was a common reported reason. You cannot conclude that trust caused every purchase.
Check the evidence behind each code
After counting, return to the transcript passages. For each important theme, record:
- The exact supporting quote.
- The participant type, such as recent buyer or lost customer.
- The customer’s alternative or decision context.
- Any qualification or contradiction.
- Whether the customer described a reason before or after choosing.
Separate what customers said from your interpretation. “They chose us because we are trusted” is an interpretation. “They mentioned our specialist reputation and a recommendation from a colleague” is closer to the evidence.
Look for negative cases. A negative case is an interview that does not fit the main pattern or directly challenges it. If buyers cite support but lost customers say support was difficult to reach, the difference may reveal a positioning problem or a segment difference.
Avoid common coding errors
- Do not create a new code for every slightly different phrase.
- Do not merge different ideas just because they sound positive.
- Do not count repeated mentions as separate customers.
- Do not remove answers that conflict with your preferred story.
- Do not treat frequency as the only measure of importance.
- Do not change code definitions without documenting the change.
A theme is more useful when it is frequent, specific, connected to the decision, and supported by clear customer language. Rare themes can still matter if they explain lost sales or reveal a serious barrier.
Exercise
Four interviews mention price, but one interview mentions a serious support failure that stopped a renewal. Which finding should you investigate first, and why?
Show answer
Investigate both, but treat the support failure as a priority risk. Frequency shows that price is common, while the support failure may reveal a high-impact retention problem. Review the supporting transcripts before deciding what to change.