Sub topic 10
Find content gaps
This chapter assumes you have a clustered keyword list, a site inventory, and a keyword map with one primary keyword per page. You should be comfortable with CSV files and basic Python. A content gap is a cluster of keywords that your site should cover but doesn't, or covers too weakly.
Types of gaps
Gaps come in three kinds, and each needs a different fix.
- Missing page. A cluster has no page at all. The fix is a new page.
- Weak page. A page exists, but its intent doesn't match the cluster. For example, a blog post targets a keyword whose search results are all category pages. The fix is to rewrite the page or build the right page type.
- Missing depth. A topic has a hub page but none of the subtopics that users search for. The fix is a set of supporting pages.
Compare clusters to the map
The map already records which URLs exist and which are planned. Gap analysis compares your cluster list with the primary keywords in the map. A cluster is a gap when no row in the map has its keyword as the primary keyword.
The following script reads a file of clusters and the keyword map from earlier in this tutorial. It prints every cluster that has no page, whether existing or planned.
import csv
with open("keyword_map.csv", newline="", encoding="utf-8") as f:
mapped = {row["primary_keyword"].strip().lower() for row in csv.DictReader(f)}
clusters = [
["running shoes", "best running shoes"],
["trail running shoes", "trail shoes"],
["running shoe size guide", "how to size running shoes"],
]
for cluster in clusters:
lead = cluster[0].strip().lower()
if lead not in mapped:
print(f"Gap: no page targets {lead!r} (supporting: {cluster[1:]})")Here the lead keyword of each cluster is its first keyword. If your map used a different keyword as the primary one, the script reports a false gap. Check the output by hand before you act on it.
Check the status column
The status column separates two situations that look alike in a list of keywords. A row marked planned is already a known gap with an owner. A cluster with no row is an unknown gap. Report them separately. Planned pages need scheduling, and unknown gaps need a decision about whether to build anything.
Look for weak pages
Existing pages can hide gaps. Check each page against its cluster in three ways.
- Intent match. Compare the page type with what the search results show. If every top result for the keyword is a category page and your page is an article, you have an intent gap.
- Coverage. Check whether the page answers the questions that the supporting keywords imply. Supporting keywords that never appear in the page suggest missing sections.
- Position. If the page already ranks on page two or three, it may need a better match, not a new page.
Check competitors
Competitor pages show topics you haven't considered. Take a few sites that rank for your main clusters and list the topics they cover. Compare that list with your map. A topic that several competitors cover and you don't is a likely gap. A topic that only one competitor covers may be a niche choice, not a need.
Keyword tools can export this comparison. Treat it as input to your judgement. Volume figures are estimates, and a missing topic is worth building only if it fits the goals you set at the start.
Record gaps in the map
Add each gap to the keyword map as a row, so it is not lost. Use status to mark the kind of work.
url,page_type,primary_keyword,supporting_keywords,intent,status,notes
/running-shoes/size-guide/,article,running shoe size guide,"how to size running shoes",informational,planned,missing page
/running-shoes/,category,running shoes,"best running shoes; buy running shoes",commercial,existing,weak page: add buying sectionRows for missing pages get a planned URL. Rows for weak pages keep the existing URL, and the note says what to change. The next chapters use these rows to rank the work.
Common errors
- Treating every uncovered keyword as a gap, which produces many thin pages.
- Skipping the intent check, so a page exists but can never rank.
- Judging coverage by exact keyword text and missing pages that answer the topic under other words.
- Counting competitor topics without asking whether they match your goals.
Exercise
Your cluster "trail shoes" has no row in the keyword map, but the map has a row for "trail running shoes" with status "planned". Is "trail shoes" a content gap? What do you do?
Show answer
No. It is a close variant of a keyword that already has a planned page, so it isn't a separate missing page. Add "trail shoes" to the supporting keywords of the "trail running shoes" row. A new page would compete with the planned one and cause cannibalization.
Exercise
Every top result for "best running shoes" is a category page, but your only page for that keyword is a blog article. Which kind of gap is this, and how do you record it?
Show answer
It is a weak page, specifically an intent mismatch. Keep the existing URL in the map and write a note such as "weak page: intent mismatch, build category page". If a category page already exists for the cluster, move the keyword there instead.