Sub topic 14
Measuring whether closing the gap worked
This chapter assumes you have already published pages from a prioritized gap list. You should also know the core metrics (volume, difficulty, position), the gap categories (missing, weak, shared), and the limits of tool estimates from earlier chapters. You need access to Google Search Console (GSC) for your site. Optional: basic pandas for the script.
Decide what "worked" means before you publish
Publishing a page is not the outcome. The outcome is that your site now ranks for keywords it did not rank for before, and that the ranking produces visits and business results. Define success while you still have the baseline, because you cannot recreate it later.
Record these items at the moment you publish or update each page:
- The target keyword list for the page, with the position, volume, and difficulty the tool showed. Export it. Do not rely on memory or on the live report, which changes.
- The date of publication and the URL.
- The gap category of each keyword (missing or weak).
- A success threshold, for example "top 10 for the primary keyword within 90 days" or "at least 200 organic clicks per month from the page group".
Without a threshold, any result can be described as a win. A threshold written down in advance protects you from that.
Which metrics answer which question
Different metrics answer different questions. Mixing them up is the most common measurement error.
| Question | Metric | Best source |
|---|---|---|
| Did the page get indexed? | Indexing status of the URL | GSC URL Inspection |
| Is the page being shown? | Impressions | GSC Performance report |
| Did we move up for target keywords? | Average position, tracked position | GSC, Semrush Position Tracking, Ahrefs Rank Tracker |
| Did people click? | Clicks and click-through rate (CTR) | GSC |
| Is the gap smaller? | Count of target keywords ranking in the top 10 or top 20 | Re-run gap report |
| Did it matter to the business? | Conversions, assisted conversions, revenue | Analytics platform |
GSC reports what Google measured on your own site. Semrush and Ahrefs report estimates built from their own crawls and clickstream models. Use GSC as the source of truth for clicks and impressions. Use the tools for competitor comparison, since GSC cannot show you competitor data.
Allow time, and know the lag
Rankings do not move the day you publish. A typical sequence is:
- The page is crawled and indexed, which can take hours to several weeks.
- The page appears for long-tail queries with few impressions.
- Google tests the page at different positions, so rankings fluctuate.
- The position settles, and clicks follow.
For low-difficulty keywords on a site with some authority, early movement often appears within weeks. For competitive keywords, settling can take several months. There is no fixed number, so set checkpoints instead of a single verdict date. Four checkpoints work well: 2 weeks (indexed?), 6 weeks (impressions?), 12 weeks (positions?), and 6 months (business results?).
Re-run the gap report
The most direct test is to repeat the original analysis with the same settings and compare. Use the same country and database, the same device setting, and the same competitors. Changing any of these makes the comparison meaningless. Export the new report and compare it with the baseline export.
Useful gap-level measures:
- Closure rate: the share of your target keywords that now rank in the top 20 (or whichever cutoff you chose in advance).
- Category shifts: how many keywords moved from missing to weak, weak to shared, or shared to strong.
- Position change: the median change in position for keywords that ranked both times.
Use the median, not the mean. A few keywords that jumped from position 90 to 5 will distort an average and hide that most keywords did not move.
Script: compare baseline and follow-up
This script takes your list of target keywords and two exports of your own organic keywords, one before and one after. It reports where each target keyword landed. The exports need Keyword and Position columns. Rename columns first if your export uses different headers. A keyword absent from an export is treated as not ranking in the tool's tracked range.
import pandas as pd
def positions(path, label):
df = pd.read_csv(path, usecols=["Keyword", "Position"])
df["Keyword"] = df["Keyword"].str.lower().str.strip()
df = df.drop_duplicates("Keyword").set_index("Keyword")
return df["Position"].rename(label)
targets = pd.read_csv("targets.csv", usecols=["Keyword"])
targets["Keyword"] = targets["Keyword"].str.lower().str.strip()
targets = targets.drop_duplicates("Keyword").set_index("Keyword")
report = targets.join(positions("mine_before.csv", "before"))
report = report.join(positions("mine_after.csv", "after"))
def classify(row):
before, after = row["before"], row["after"]
if pd.isna(after):
return "not ranking"
if pd.isna(before):
return "new, top 10" if after <= 10 else "new, below top 10"
if after < before:
return "improved"
if after > before:
return "declined"
return "unchanged"
report["outcome"] = report.apply(classify, axis=1)
in_top_20 = (report["after"] <= 20).mean()
both = report.dropna(subset=["before", "after"])
median_change = (both["before"] - both["after"]).median() if len(both) else float("nan")
print(report["outcome"].value_counts())
print(f"Share of targets in top 20: {in_top_20:.0%}")
print(f"Median positions gained (ranked both times): {median_change}")A positive median means keywords moved toward position 1. The script cannot tell you why they moved. That needs the controls described next.
Control for other causes
Rankings change for many reasons unrelated to your new content. Before you credit the work, check these:
- Seasonality. A keyword with a seasonal volume curve will show more impressions in its peak months. Compare year over year in GSC, or compare against pages you did not touch.
- Algorithm updates. Check dates of confirmed Google updates against your movement. A jump or drop that lines up with an update is weak evidence about your work.
- Competitor changes. A competitor that drops a page or loses rankings lifts you without any change on your side. Re-check the competitor positions in the follow-up report.
- Other site changes. Redesigns, internal linking changes, and technical fixes made in the same period overlap with your content work.
- SERP changes. New featured snippets, AI answers, or video blocks can lower CTR with no change in position.
A practical control is a comparison group: similar pages or keyword sets that you did not change. If your group improved and the comparison group did not, the case for your work is stronger. This is not a controlled experiment, so describe the result as supporting evidence, not proof.
Handle the common failure patterns
When a page does not reach its threshold, diagnose in order. Each cause needs a different fix.
- Not indexed. Check URL Inspection. Fix crawl, canonical, or noindex problems. Content changes will not help.
- Indexed, no impressions. The page may be too weak or too far from the query. Review whether the page targets the keyword in its title, headings, and body.
- Impressions, poor position. Compare your page with the current top results. The most frequent cause is an intent mismatch: you wrote a blog post and the SERP shows product pages, or the reverse. Revisit the intent check from the earlier chapter.
- Good position, low CTR. Rewrite the title and meta description, and look for SERP features that take clicks.
- Good clicks, no conversions. The keyword attracts visitors who do not match your offer. The problem is keyword selection or page design, not ranking.
- Cannibalization. Two of your URLs compete for one query and Google alternates between them. In GSC, filter by the query and look at the Pages tab. Consolidate or differentiate the pages.
Report results honestly
A useful report has four parts: what you planned, what happened, what else may explain it, and what you will do next. Include the keywords that failed. A list of only the winners hides which kinds of keywords your site cannot yet win, and that is useful input for the next gap analysis.
Feed the outcome back into your process. If low-difficulty keywords closed quickly and mid-difficulty ones did not, adjust your difficulty cutoff in the prioritization chapter. If informational pages ranked but did not convert, weight intent more heavily. Then repeat the gap analysis on a schedule, for example quarterly, because competitors keep publishing and the gap reopens.
Exercise
You published a guide four weeks ago targeting a missing keyword with an estimated volume of 2,400. GSC shows the page is indexed, with 40 impressions and 0 clicks for the keyword, average position 38. A colleague says the gap strategy failed. What do you say, and what do you check next?
Show answer
Four weeks is too early for a verdict. The page is indexed and getting impressions, which is the expected early stage (checkpoints at weeks 2 and 6). Position 38 is not yet useful, but Google may still be testing the page. Check against your written threshold and keep the 12-week checkpoint. In the meantime, check intent by comparing your page with the current top results, confirm no other URL on your site competes for the query, and review internal links to the page. If at 12 weeks the position is still far below the threshold, diagnose by the failure pattern list, starting with intent mismatch.
Exercise
A re-run gap report shows that 30 of your 50 target keywords now rank in the top 20, and organic traffic to the site rose 25% over the same period. Give two reasons you should not credit the content work alone, and one way to strengthen the evidence.
Show answer
Possible reasons: seasonality may have raised search demand for the whole site, and a Google update or competitor changes may have shifted rankings. Other site changes in the period may also have contributed. To strengthen the evidence, compare against a group of similar pages or keywords you did not change, check year-over-year GSC data for the same months, and confirm that the traffic increase comes from the new pages' URLs and target queries rather than from the site as a whole.