Sub topic 10
Find content gaps
A content gap is a topic your audience searches for that your site does not answer well. In a keyword map, a gap shows up as a keyword cluster with no suitable page. This chapter shows how to find gaps by comparing your clusters with your inventory and map, and how to record them so the next chapter can rank them.
This chapter assumes you already have:
- Keyword clusters, each with an intent label and a volume figure.
- A site inventory listing existing URLs and their current targets.
- A keyword map in the column layout used earlier, with one primary keyword per page.
- Some knowledge of cannibalization, where two pages compete for the same keyword.
What counts as a gap
Gap analysis is a join between two lists: what searchers want (clusters) and what the site offers (pages). A cluster can fail that join in several ways, and each way needs a different fix.
| Gap type | Signal in your data | Typical action |
|---|---|---|
| Unmapped cluster | No row in the keyword map has this primary keyword | Add a row, then decide whether a page is justified |
| Planned page | A row exists with status `planned` | Keep it, and send it to prioritization |
| Intent mismatch | A page exists, but its intent or page type differs from the cluster's | Rewrite the page or build a second page of the right type |
| Depth gap | The page exists and matches intent, but supporting keywords go unanswered | Expand the page with sections or a new child page |
| Competitor gap | Competitors rank for a topic you have no cluster for | Check relevance, then add a cluster and rerun the steps above |
The first two types are about presence. The last three are about quality and coverage, so you will not find them by looking only for empty rows.
The gap-finding workflow
Work through each cluster in turn. Do not start from a list of competitor keywords, because that skips your own goals.
The order matters. Check presence before intent, and intent before depth. Rewriting a page's content is wasted effort if the page is the wrong type for the query.
Automate the presence and intent checks
Presence and intent checks are mechanical, so a script can do them. The script below compares a cluster list with the keyword map and prints one line for each gap, largest first. It uses inline data so it runs as shown. Replace the two io.StringIO sources with open(...) calls on your own files.
import csv
import io
KEYWORD_MAP = """url,page_type,primary_keyword,supporting_keywords,intent,status,notes
/running-shoes/,category,running shoes,"best running shoes; buy running shoes",commercial,existing,
/blog/how-to-choose-running-shoes/,article,how to choose running shoes,"running shoe fit; running shoe size guide",informational,existing,
/running-shoes/trail/,category,trail running shoes,"trail shoes; off-road running shoes",commercial,planned,no page yet
/blog/running-shoes-for-flat-feet/,article,running shoes for flat feet,"flat feet shoes",informational,existing,
"""
CLUSTERS = """primary_keyword,intent,monthly_volume
running shoes,commercial,40000
how to choose running shoes,informational,2400
trail running shoes,commercial,5400
running shoes for flat feet,commercial,3600
running shoe insoles,commercial,1900
"""
def norm(text):
return text.strip().lower()
mapped = {}
for row in csv.DictReader(io.StringIO(KEYWORD_MAP)):
mapped[norm(row["primary_keyword"])] = row
gaps = []
for cluster in csv.DictReader(io.StringIO(CLUSTERS)):
keyword = norm(cluster["primary_keyword"])
volume = int(cluster["monthly_volume"])
row = mapped.get(keyword)
if row is None:
gaps.append((volume, "unmapped", keyword, "no row in the keyword map"))
elif norm(row["status"]) == "planned":
gaps.append((volume, "planned", keyword, "row exists, no page yet"))
elif norm(row["intent"]) != norm(cluster["intent"]):
detail = f"cluster is {cluster['intent']}, page is {row['intent']}"
gaps.append((volume, "intent mismatch", keyword, detail))
for volume, kind, keyword, detail in sorted(gaps, reverse=True):
print(f"{kind}: {keyword} ({volume} searches/month) - {detail}")Running it prints:
planned: trail running shoes (5400 searches/month) - row exists, no page yet
intent mismatch: running shoes for flat feet (3600 searches/month) - cluster is commercial, page is informational
unmapped: running shoe insoles (1900 searches/month) - no row in the keyword mapSorting by volume only orders the output so you can read it. It is not prioritization. Volume is one input among several, and the prioritization chapter weighs it against value and effort.
The script matches on the primary keyword string. If you renamed a primary keyword in the map but not in the cluster list, the script reports a false "unmapped" gap. Treat an unexpected unmapped line as a possible naming mismatch before you plan new content.
Judge intent mismatches by looking at the results
The "flat feet" line in the output is the hardest to resolve. Your page may be an article, while searchers want products. Do not decide from the labels alone. Search the keyword and look at the first page of results.
- If results are mostly product listings and category pages, the intent is commercial. A new category-style page is usually better than editing the article.
- If results are mixed, with guides and stores together, the intent is mixed. You may keep the article and add a product page that links to it.
- If results are mostly guides, your cluster label was wrong. Correct the label in the cluster list, not the page.
Find depth gaps
A page can match intent and still leave questions unanswered. For each existing page, take the supporting keywords from its map row and check whether the page addresses them. A simple version is a text search of the page copy and headings for each supporting phrase. A better version is to read the page next to the top-ranking results and list the subtopics they cover that yours does not.
When you find a depth gap, choose between two fixes:
- Add a section to the existing page when the missing subtopic is a natural part of the same answer.
- Create a child page when the missing subtopic has its own cluster, its own intent, or enough material for a full page.
The second option changes the hierarchy, so mark it in the map as a planned page and leave the link structure to the architecture and internal linking chapters.
Competitor gaps
Competitor keyword exports show terms where other sites rank and you do not. They are a useful source of clusters you missed, but they are not a to-do list. Filter them against the goals and scope you set at the start.
- Drop terms outside your product or audience, even when competitors rank for them.
- Drop navigational terms for another company's brand.
- Group what remains into clusters, then run the same workflow as above.
A competitor ranking for a keyword shows only that the keyword is reachable. It does not show that a page would be profitable for you.
Edge cases
- Seasonal demand. A cluster with low volume this month may spike later. Check the trend over twelve months before you treat low volume as low demand.
- Zero or missing volume. Tools often show no data for new or niche terms. A cluster with no volume can still be valuable if it matches a product you sell. Keep it, and note that the metric is missing, not zero.
- A cluster that belongs on an existing page. Not every unmapped cluster needs a new page. If its SERP overlaps heavily with an existing page's keywords, add it as a supporting keyword to that row.
- Stale inventory. If a page was deleted, redirected, or merged since your last crawl, the map may show a page that no longer exists. Verify URLs return a 200 status before you trust a row marked
existing. - Too many gaps. A large gap count is normal in a first pass. Record all of them with a status and a short note, and leave selection to the next step.
Record gaps in the map
Every gap should become a visible row or note so it is not rediscovered later.
- For an unmapped cluster you want to build, add a row with
statusset toplannedand theurlset to the intended path. - For an intent mismatch or depth gap on an existing page, keep the row as
existingand describe the problem innotes. - For a cluster you decide not to pursue, add it with a clear note, such as "out of scope: B2B only", so the same decision is not repeated.
After this step the map describes both what the site has and what it lacks. The prioritization chapter then orders those planned and fix-needed rows.
Exercise
Your cluster list has "waterproof trail shoes" (informational, 800 searches per month). The keyword map has a row with that primary keyword pointing to /running-shoes/trail/, a category page marked existing, with intent commercial. Which gap type is this, and what should you check before deciding on a fix?
Show answer
It is an intent mismatch: the cluster is informational and the page is commercial. Before choosing a fix, search the keyword and look at the page types that rank. If results are mostly guides, a category page will not satisfy the query, so plan an article that links to the category. If results are mostly product listings, the cluster label is probably wrong, so correct it and keep the page.
Exercise
The gap script reports "unmapped: running shoe insoles". You then find the keyword map already has a row with the primary keyword "insoles for running shoes". What explains the report, and how do you handle it?
Show answer
The script matches primary keywords as exact strings, and the two phrases differ, so a naming mismatch produced a false gap. Check whether the two phrases belong to one cluster, for example by comparing their search results. If they do, use one as the primary keyword and the other as a supporting keyword, then update both files so the names match. If their results differ, they are separate topics and the gap is real.