Lesson 5: Keyword Research Mastery
Find the right keywords to target using research tools and data-driven strategies.
Why Keyword Research is Critical
Keyword research is the foundation of SEO — it tells you what your audience is actually searching for. Without it, you're creating content blind, hoping someone will find it.
Types of Keywords
| Keyword Type | Example | Search Volume | Competition | Conversion Potential |
|---|---|---|---|---|
| Head Terms | "shoes" | Very High | Very High | Low |
| Body Terms | "running shoes" | High | High | Medium |
| Long-tail Keywords | "best running shoes for flat feet 2026" | Low | Low | High |
| Question Keywords | "how to choose running shoes" | Medium | Medium | Medium |
Mental model: Think of keywords as fishing spots — head terms are crowded lakes where everyone fishes (hard to catch anything), while long-tail keywords are quiet streams with hungry fish (easier to catch exactly what you want).
The Keyword Research Process
Step 1: Brainstorm Seed Keywords
- What does your business offer?
- What problems do you solve?
- What would your customers search for?
Step 2: Expand with Tools
- Google Keyword Planner (free)
- Ubersuggest (freemium)
- Ahrefs/SEMrush (paid)
- AnswerThePublic (free)
Step 3: Analyze & Prioritize
- Search volume (how many people search)
- Keyword difficulty (how hard to rank)
- Search intent (what do they want?)
- Business relevance (does it matter to you?)
Step 4: Map Keywords to Content
- Each page should target 1 primary keyword
- Include related secondary keywords
- Match the content format to search intent
Search Intent: The Missing Piece
| Intent Type | What the User Wants | Content Format | Example Query |
|---|---|---|---|
| Informational | Learn something | Blog post, guide, tutorial | "how to tie a tie" |
| Navigational | Find a specific website | Homepage, landing page | "facebook login" |
| Commercial | Research before buying | Comparison, review | "best laptops 2026" |
| Transactional | Buy something now | Product page, checkout | "buy iphone 16 pro" |
Critical insight: Matching your content to search intent is more important than targeting the "perfect" keyword. Google prioritizes intent match above almost everything else.
Keyword Research Tools Comparison
| Tool | Cost | Best For | Key Features |
|---|---|---|---|
| Google Keyword Planner | Free | Beginners | Official Google data |
| Ubersuggest | Freemium | Small businesses | Easy to use, good suggestions |
| AnswerThePublic | Free | Content ideas | Question-based keywords |
| Ahrefs | $99+/mo | Professionals | Comprehensive data, competitor analysis |
| SEMrush | $119+/mo | Agencies | All-in-one marketing toolkit |
Common Mistakes to Avoid
- Mistake: Only targeting high-volume keywords — Fix: Long-tail keywords often convert better.
- Mistake: Ignoring search intent — Fix: Always analyze the top results for your target keyword.
- Mistake: Keyword stuffing — Fix: Write naturally; keywords should flow organically.
- Mistake: Not tracking keyword rankings — Fix: Monitor your positions monthly to see what's working.
Professional Tips & Tricks
- Start with long-tail keywords — they're easier to rank for and convert better.
- Analyze competitor keywords to find opportunities you're missing.
- Group keywords by topic clusters — it helps build topical authority.
- Update keyword research quarterly — trends and competition change.
Key Takeaways
- Keyword research reveals what your audience is actually searching for.
- Long-tail keywords often have higher conversion potential than head terms.
- Search intent must match your content format for SEO success.
- Use a combination of free and paid tools for comprehensive research.
- Group keywords into topic clusters for better site structure.
Next up: On-page SEO — optimizing your content for search engines and users.
# Keyword Research Framework
## Step 1: Seed Keywords
For a coffee shop business:
- coffee shop
- specialty coffee
- espresso drinks
- coffee beans
## Step 2: Keyword Expansion
Using tools, expand to:
- "best coffee shops near me" (5,400/mo)
- "how to make pour over coffee" (8,100/mo)
- "single origin coffee beans" (2,900/mo)
- "coffee shop ambiance" (1,600/mo)
## Step 3: Keyword Analysis
| Keyword | Volume | Difficulty | Intent | Priority |
|---------|--------|------------|--------|----------|
| best coffee shops near me | 5,400 | 45 | Commercial | High |
| how to make pour over coffee | 8,100 | 32 | Informational | Medium |
| single origin coffee beans | 2,900 | 28 | Commercial | High |
| coffee shop ambiance | 1,600 | 22 | Informational | Low |
## Step 4: Content Mapping
- Homepage: "best coffee shop [city]"
- Blog: "how to make pour over coffee"
- Product page: "single origin coffee beans"
- About page: "coffee shop ambiance"Lesson Code (Python)
# Keyword Research Framework
## Step 1: Seed Keywords
For a coffee shop business:
- coffee shop
- specialty coffee
- espresso drinks
- coffee beans
## Step 2: Keyword Expansion
Using tools, expand to:
- "best coffee shops near me" (5,400/mo)
- "how to make pour over coffee" (8,100/mo)
- "single origin coffee beans" (2,900/mo)
- "coffee shop ambiance" (1,600/mo)
## Step 3: Keyword Analysis
| Keyword | Volume | Difficulty | Intent | Priority |
|---------|--------|------------|--------|----------|
| best coffee shops near me | 5,400 | 45 | Commercial | High |
| how to make pour over coffee | 8,100 | 32 | Informational | Medium |
| single origin coffee beans | 2,900 | 28 | Commercial | High |
| coffee shop ambiance | 1,600 | 22 | Informational | Low |
## Step 4: Content Mapping
- Homepage: "best coffee shop [city]"
- Blog: "how to make pour over coffee"
- Product page: "single origin coffee beans"
- About page: "coffee shop ambiance"Console Output
Keyword Research Framework
## Step 1: Seed Keywords
For a coffee shop business:
- coffee shop
- specialty coffee
- espresso drinks
- coffee beans
## Step 2: Keyword Expansion
Using tools, expand to:
- "best coffee shops near me" (5,400/mo)
- "how to make pour over coffee" (8,100/mo)
- "single origin coffee beans" (2,900/mo)
- "coffee shop ambiance" (1,600/mo)
## Step 3: Keyword Analysis
| Keyword | Volume | Difficulty | Intent | Priority |
|---------|--------|------------|--------|----------|
| best coffee shops near me | 5,400 | 45 | Commercial | High |
| how to make pour over coffee | 8,100 | 32 | Informational | Medium |
| single origin coffee beans | 2,900 | 28 | Commercial | High |
| coffee shop ambiance | 1,600 | 22 | Informational | Low |
## Step 4: Content Mapping
- Homepage: "best coffee shop [city]"
- Blog: "how to make pour over coffee"
- Product page: "single origin coffee beans"
- About page: "coffee shop ambiance"Code Visualization Tips
- Create a keyword mind map with seed keywords in the center and expanded keywords branching out.
- Use a spreadsheet to track keywords, volume, difficulty, and intent side by side.
- Analyze the top 10 results for your target keyword to understand what Google considers 'best'.
Professional Tips & Tricks
- Start with keywords where difficulty is under 30 — they're easier to rank for quickly.
- AnswerThePublic is gold for finding question-based keywords.
- Check what your competitors rank for — there's no point reinventing the wheel.
Python Code Judge & Practice Arena
LeetCode StyleRun real Python 3.12 WebAssembly code directly in your browser against automated test suites.
Keyword Research Exercise
Up next · Continue learning
On-Page SEO Optimization
Optimize your content, meta tags, headings, and internal links for maximum search visibility.