Skip to content
Home Tutorials Roadmaps Courses
Log in Join free
Tutorials Digital Marketing Keyword Research
Introduction to Digital Marketing
What is Digital Marketing?
Search Engine Optimization
SEO Fundamentals Keyword Research
Content Marketing
Content Strategy
Social Media Marketing
Social Media Strategy
PPC Advertising
Google Ads
Analytics & Data
Google Analytics
Affiliate Marketing
Affiliate Marketing Basics
Conversion Optimization
CRO Basics
Marketing Automation
Marketing Automation Tools
Influencer Marketing
Influencer Marketing Basics
E-commerce Marketing
E-commerce Marketing Strategy
Brand Building
Brand Strategy
Data-Driven Marketing
Data-Driven Decision Making
Digital Marketing Beginner FREE

Keyword Research

Lesson 2 of 17 Beginner Interactive

Keyword research finds the terms people search for. It's the foundation of SEO strategy.

Syntax

DIGITAL-MARKETING
# Keyword types
Short-tail: "shoes" (high volume, high competition)
Long-tail: "best running shoes for flat feet" (low volume, low competition)

# Tools
Google Keyword Planner, Ahrefs, SEMrush, Ubersuggest
Keyword Analysis
PYTHON
keywords = [
    {"keyword": "web development", "volume": 40000, "difficulty": 75, "cpc": 3.50},
    {"keyword": "learn coding", "volume": 22000, "difficulty": 45, "cpc": 2.80},
    {"keyword": "html tutorial", "volume": 35000, "difficulty": 30, "cpc": 1.20},
    {"keyword": "css guide", "volume": 18000, "difficulty": 25, "cpc": 0.90},
]

for kw in keywords:
    opportunity = kw["volume"] / max(kw["difficulty"], 1)
    kw["opportunity"] = round(opportunity, 1)

keywords.sort(key=lambda x: x["opportunity"], reverse=True)

print("Keyword Opportunities:")
for kw in keywords:
    print(f"  {kw[\"keyword\"]:20} Vol:{kw[\"volume\"]:>6} Diff:{kw[\"difficulty\"]:>3} Opp:{kw[\"opportunity\"]}")

Practice

1
Exercise

What is the difference between short-tail and long-tail keywords?

Answer
Short-tail: 1-2 words, high volume, high competition. Long-tail: 3+ words, low volume, low conversion intent.

Quick Quiz

1

Which keyword type typically has higher conversion rates?

Long-tail keywords have more specific intent and higher conversion rates.

Interview Questions

Use tools like Google Keyword Planner, analyze competitors, check search volume and competition, target keywords with good volume and low-medium competition.