Sub topic 3
Collect keywords from seed topics
This chapter shows how to turn a short list of topics into a raw pool of candidate keywords. It assumes you have read the chapters on goals and scope and on search intent. You should also be comfortable with CSV files and basic Python. Metrics, clustering and page assignment come in later chapters. Here the goal is a broad, well-labeled pool of candidates.
What a seed topic is
A seed topic is a short phrase that names something your site covers, such as "running shoes" or "trail running." Seeds are not the keywords you will target. They are starting points that you expand into many candidate keywords.
Good seeds come from the scope you set earlier. If the map covers a store with five product areas, each area gives you several seeds. If the goal is to support lead generation, seeds should reflect the problems your buyers describe, not only your product names.
Aim for 10 to 40 seeds for a mid-sized site. Fewer than that usually means the scope is too narrow. More than that usually means you are listing keywords instead of topics.
Where seeds come from
Use several sources, because each one has blind spots.
| Source | What it gives you | Typical blind spot |
|---|---|---|
| Your navigation and category names | The topics you already organize around | Uses your vocabulary, not the searcher's |
| Product and service lists | Commercial terms | Misses early-stage questions |
| Customer support tickets and sales calls | Real wording of problems | Small sample, informal phrasing |
| Site search logs | What visitors fail to find | Only covers people already on the site |
| Search Console queries | Terms you already appear for | Misses topics where you have no visibility |
| Competitor page titles and headings | Topics the market treats as important | Copies competitors' gaps too |
Record where each seed came from. Later you will want to know whether a keyword came from your own data or from a tool.
Expanding seeds into candidates
Once you have seeds, expand each one with several methods. No single method finds everything, so combine them.
- Autocomplete suggestions. Type the seed into a search box and note the completions. Add letters or question words after the seed to see more.
- Related searches and "People also ask." These appear on result pages and show how searchers rephrase the topic.
- Keyword tool suggestions. Most research tools take a seed and return phrase matches, related terms and questions.
- Modifiers. Combine each seed with a list of modifiers, such as "best," "cheap," "for beginners," "vs," "near me," or "how to."
- Competitor and ranking-URL analysis. Take a competitor page that ranks for your seed and list the other queries it ranks for.
- Your own query data. Export queries from Search Console and site search. These show wording that real people used.
Match expansion to intent
Search intent is the reason behind a query. Expanding without it gives you a pile of phrases that cannot be mapped to pages. As you collect, label each candidate with a likely intent: informational, commercial, transactional or navigational.
Modifiers hint at intent. "How to," "what is" and "guide" usually signal informational searches. "Best," "review" and "vs" suggest commercial investigation. "Buy," "price" and "discount" suggest transactional intent. A hint is not a verdict. A keyword like "running shoes" can mix several intents, and the result page shows which one the search engine believes dominates.
Keep the label provisional at this stage. You will check it against live results when you cluster and map.
Merge and clean the pool
Several methods will return the same keyword in slightly different forms. Before you do anything else with the pool, normalize it. At minimum:
- Lowercase every keyword.
- Trim leading and trailing spaces and collapse repeated spaces.
- Remove exact duplicates, but keep a record of every source that returned each keyword.
- Drop empty rows and obvious junk, such as phrases containing competitor brand names you will never target.
Keeping the sources matters. A keyword suggested by three independent methods is a stronger candidate than one that appeared in a single tool's output.
The script below merges several source lists into one deduplicated table and writes it as CSV.
import csv
import re
import sys
from collections import defaultdict
def normalize(keyword):
"""Lowercase, trim, and collapse repeated whitespace."""
return re.sub(r"\s+", " ", keyword.strip().lower())
def merge_candidates(sources):
"""Map each normalized keyword to the set of sources that returned it."""
merged = defaultdict(set)
for source, keywords in sources.items():
for keyword in keywords:
cleaned = normalize(keyword)
if cleaned:
merged[cleaned].add(source)
return merged
sources = {
"autosuggest": ["Running Shoes", "running shoes for flat feet", "trail running shoes"],
"competitor_titles": ["running shoes", "Trail running shoes", "Running shoe size guide"],
"search_console": ["running shoe size guide", " "],
}
merged = merge_candidates(sources)
writer = csv.writer(sys.stdout, lineterminator="\n")
writer.writerow(["keyword", "source_count", "sources"])
for keyword, found_in in sorted(merged.items(), key=lambda item: (-len(item[1]), item[0])):
writer.writerow([keyword, len(found_in), ";".join(sorted(found_in))])Running it prints:
keyword,source_count,sources
running shoe size guide,2,competitor_titles;search_console
running shoes,2,autosuggest;competitor_titles
trail running shoes,2,autosuggest;competitor_titles
running shoes for flat feet,1,autosuggestNote that "Trail running shoes" with two spaces merged with "trail running shoes" only because of normalization. Without it you would count two keywords and lose the agreement between sources.
Decide when to stop
Keyword discovery has no natural end, so set stopping rules in advance. Three practical ones:
- Diminishing returns. Run a new expansion method on a few seeds. If fewer than about one in five suggestions is new and relevant, that method is exhausted.
- Coverage. Every seed has candidates for each intent you care about, such as at least one informational and one commercial group.
- Size. The pool is small enough to cluster and review. Tens of thousands of rows are fine for a tool but not for a reviewer who must check the result.
If you run out of effort before you run out of seeds, finish all seeds at shallow depth before going deep on any one. A map with even coverage is more useful than one that covers a single topic in great detail.
Common errors
- Starting from tool output instead of seeds. Exporting a huge list from a tool and filtering it produces a pool that reflects the tool's database, not your site's topics.
- Using only your own vocabulary. Internal names for products or features are often rare in search. Check autocomplete and your query data for the words people actually use.
- Discarding low-volume terms too early. Volume figures are estimates, and they are covered in the next chapter. Specific, low-volume phrases often show clear intent and can belong to a page you would build anyway.
- Losing the source. If you do not record where a keyword came from, you cannot judge its quality or explain it to a reviewer later.
- Mixing languages or markets. Collect for one language and country at a time, since suggestions and results differ between them.
- Treating the pool as the map. A pool has no structure. It becomes a map only after clustering and page assignment.
What to hand to the next step
At the end of this chapter you should have one table with these columns:
- The normalized keyword.
- The seed topic it came from.
- The sources that returned it.
- A provisional intent label.
The next chapter adds metrics to this table and explains why those numbers should be treated as rough guides.
Exercise
You export 3,000 phrases from a keyword tool for the seed "standing desks" and merge them with 400 queries from Search Console. After lowercasing, trimming and removing exact duplicates, you find that "standing desk" and "standing desks" both remain. A teammate says to delete one of them. What should you do at this stage, and why? Also name one thing you must keep for every keyword when you merge the two sources.
Show answer
Keep both. Singular and plural forms can produce different search results, so whether they belong to one topic is decided during clustering by comparing the result pages, not by deleting at the collection stage. For every keyword, keep the list of sources that returned it, such as "tool" and "search_console". That record shows how well supported a candidate is and lets a reviewer trace where it came from.