Sub topic 3
Code Transcripts into Themes
This chapter assumes you have transcripts from at least four customer interviews, a short list of agreed theme codes, and basic Python. Coding means labeling each passage of a transcript with a short theme code, such as price or trust.
Code transcripts into themes
Read each transcript at least twice before coding. Use one codebook for every interview, and write a one-line definition for each code. Two coders should mark the same passage the same way.
Count each theme once per interview. A customer who says "trust" three times still counts as one mention. This keeps one talkative customer from dominating the results.
from collections import Counter
# Theme codes assigned by hand to each interview transcript.
interviews = {
"p1": ["price", "trust", "support"],
"p2": ["trust", "ease_of_setup"],
"p3": ["trust", "price"],
"p4": ["support", "ease_of_setup", "trust"],
}
# Count each theme once per interview, even if it was mentioned repeatedly.
counts = Counter(code for codes in interviews.values() for code in set(codes))
for code, n in counts.most_common():
print(f"{code}: {n} of {len(interviews)} interviews")From themes to positioning and messaging
Pick the themes that appear in most interviews and that competitors cannot easily claim. Then write one message per theme in the customer's own words. If customers say "support answered me within an hour", that phrase is stronger than "world-class support".
| Theme | Customer words | Positioning claim | Message to test |
|---|---|---|---|
| trust | "I knew my data was safe" | We protect customer data | "Your data stays yours." |
| support | "Someone answered within an hour" | Fast, human support | "A real person, within the hour." |
Design a follow-up survey
Interviews explain why customers chose you. A survey shows how many share each reason. Turn each theme into one closed question with a fixed scale, and send it to a larger group of recent customers. Reuse the wording customers used in their interviews, and do not name your brand in the question.
Keep it short
Limit the survey to five to eight questions. Add one open question at the end to catch reasons you missed.
Validate findings and track them over time
Compare the survey results with the interview counts. If a theme appears in 3 of 4 interviews but in only 12% of survey responses, check your sample and question wording before you trust either number. Run the same survey every quarter, and record each theme's share in a table so you can see changes after a price or product change.
Exercise
Using the Python script above, what does it print for the theme "trust", and for "price"?
Show answer
It prints "trust: 4 of 4 interviews" and "price: 2 of 4 interviews". Trust appears in all four interviews, and price appears in p1 and p3.