If your content backlog consists of keyword exports nobody trusts, you probably know you're missing pages but can't say which ones, or which to fix first. Here's how to do a content gap analysis that ends in a ranked list of pages to create or update, in six steps:
- Set goals and pick direct and SERP competitors.
- Audit your existing content.
- Find keyword gaps with Ahrefs, Semrush or free tools.
- Add audience, site search and AI visibility gaps.
- Prioritize gaps and map them to the buyer journey.
- Create or update content and measure results.
Leave out any one of these and the list drifts. Without competitor data you have no outside view. Skip your own analytics and you'll write pages you already have. And if you ignore AI answers, you'll miss the places where buyers now meet your category before they ever search.
What you need before you start
Most of the inputs are free. The paid keyword tools save time, but the process works without them.
- Google Search Console access for your domain
- Google Analytics 4, with site search tracking switched on (setup is covered in Step 4)
- Ahrefs or Semrush (optional, for competitor keyword data)
- A spreadsheet, either Google Sheets or Excel
- Site search logs from GA4 or your search vendor
- A list of 3 to 5 competitors, both direct and SERP competitors
- Notes from sales calls and support tickets, if you can get them
What a content gap is and the types to look for
A content gap is a question your audience asks that your website either doesn't answer or answers worse than the pages they find instead. The Semrush gap analysis guide sorts gaps into four types, and the type tells you what fix to make:
- Topic gap: Your audience cares about a topic and you have no page on it.
- Intent gap: You cover the topic, but the page doesn't match what searchers want, such as a product page ranking for a how-to query.
- Quality gap: The page exists but is thin, outdated or unclear.
- Originality gap: The page repeats what competing pages already say.
Ahrefs adds a second axis in its content gap template. A domain-level gap is a topic competitors cover and you don't. A page-level gap means you and a competitor both have a page on the topic, but theirs ranks for more keywords. Domain-level gaps usually become new pages. Page-level gaps usually become rewrites.
Content gap analysis vs keyword gap analysis
A keyword gap analysis compares the keywords your domain ranks for against the keywords competitors rank for. A content gap analysis covers more ground. It takes that keyword gap as one input and adds an audit of your own pages, audience signals like site search and sales questions, and checks on whether AI answer engines mention you. Teams that stop at the keyword export end up with a list of terms. Teams that run the full analysis end up with a list of pages, each tied to a fix.
How to do a content gap analysis step by step
Each step narrows the next as you define what counts as relevant, check what you already have, pull competitor and audience data, score the gaps, then act. The deliverable is a scored gap sheet plus a brief for every gap you decide to work on.
Step 1. Set goals and pick direct and SERP competitors
Start with the goal, because it decides which gaps count. Tie it to pipeline (for example, more demo-intent traffic to a product line) or to a content cluster you're building authority in. A gap that serves neither goes to the bottom of the sheet, however much traffic it promises.
You'll want two competitor lists. Direct competitors sell what you sell. SERP competitors are the domains ranking for your target terms, and they often include review sites, publishers and forums that have nothing to sell you. Pull SERP competitors from the Organic competitors report in Ahrefs or the Organic Research Competitors report in Semrush. Both rank domains by keyword overlap.
Big generalist domains wreck gap reports. Put Amazon, Reddit or Wikipedia in the comparison and you get thousands of keyword "opportunities" you were never going to win, a pattern laid out in Search Engine Land's workflow. Drop marketplaces, community sites, reference sites and directories from the keyword comparison. The one exception is a publisher business, where comparing against other editorial websites makes sense. End this step with 3 to 5 competitors that share your audience.
Step 2. Audit your existing content
Auditing comes before any competitor data because you need to know which "gaps" are pages you already have. Pull a page list from Search Console's Performance report, Pages tab. Then use the Compare option on the date filter (last 3 months against the same 3 months a year earlier, for example) and sort by the Difference column to find pages losing clicks.
GA4 fills in the engagement side. Open Reports > Engagement > Pages and screens, add a date comparison, and note pages where views and engagement fell. Search Console keeps 16 months of data, so a year-over-year comparison is the longest you'll get without a BigQuery export.
The UI export is limited to 1,000 rows, though the export totals reflect the full data. On a large website, filter by folder before exporting, or use the API or BigQuery bulk export.
Tag every page with one status:
- Growing or stable: Leave it alone for now.
- Declining: Clicks or positions are down against the comparison period.
- Underperforming: It gets impressions but few clicks, or sits on page two.
- Missing: A topic you expected to have a page for, with no page.
That list is the baseline every later step checks against.
Step 3. Find keyword gaps with Ahrefs, Semrush or free tools
With the audit done, use competitor keyword data to find terms others rank for that you don't. The paid tools automate the comparison. The free path takes longer but costs nothing.
In Ahrefs, open Content gap under Competitive Analysis in the top navbar, keep the Keywords option selected, enter your domain as the target and your competitors below, then click "Show keyword opportunities". By default the report shows keywords where at least one competitor ranks in the top 10 and you don't rank in the top 100.
Set the competitors' positions filter to show keywords that all competitors rank for, turn on "Main positions only," cap Keyword Difficulty at around 30, and use a partial-match keyword filter to strip out competitor brand names. For a page-level gap, switch every field to Exact URL mode and compare your page with the top three ranking URLs.
In Semrush, the Keyword Gap tool compares your domain against competitor domains side by side, sorted into tabs:
- Missing: All competitors rank and you don't.
- Weak: You rank, but below every competitor.
- Untapped: At least one competitor ranks and you don't.
- Strong, Shared and Unique: Your strengths and overlaps.
Start with Missing, then Weak. Set a custom position range of 11 to 20 to find striking-distance terms, and filter by intent and difficulty. Comparing subfolders or exact URLs needs a Guru or Business subscription.
The free path has two parts. In Search Console, filter Queries with a Custom (regex) filter, which uses RE2 syntax, to isolate a topic, for example (expense|receipt|reimburse). Queries with impressions but low positions show topics Google already associates with you.
Then check whether you have a page for each gap topic by searching site:yourdomain.com topic. The site: operator returns a sample of indexed URLs rather than a full list. A missing result is a prompt to check your sitemap, not proof the page doesn't exist. For competitor coverage without a tool, review the top results for your core queries by hand.
Here's how the three options compare on the same tasks:
| Task | Ahrefs Content Gap | Semrush Keyword Gap | Free (Search Console + site:) |
|---|---|---|---|
| Find competitor-only keywords | Default report logic | Missing and Untapped tabs | Manual SERP review |
| Find weak rankings | Target position filter | Weak tab | Queries sorted by position |
| Page-level comparison | Exact URL mode | Exact URL (Guru and Business) | Pages tab filtered by query |
| Export | Keyword table export | Excel, CSV, CSV Semicolon, PDF | 1,000 rows from the UI |
Tool menus change often, so check the names against each vendor's help pages when you run this.
Step 4. Add audience, site search and AI visibility gaps
Keyword tools only see what people type into Google. This step adds what people type into your own search box, ask your sales team, and ask AI assistants.
Start with site search in GA4:
- Go to Admin > Data streams, open your web stream, and make sure enhanced measurement is on with Site search enabled. GA4 fires a view_search_results event when a results URL contains one of the default parameters q, s, search, query or keyword.
- GA4 has no built-in site search report, so register search_term as an event-scoped custom dimension.
- Build a free-form exploration with search_term in Rows, filtered to Event name exactly matching view_search_results.
Read those terms in two groups. No-results searches point to missing content or indexing problems. The SearchStax content gap guide explains that searches returning results but getting few clicks can indicate content that isn't relevant enough or easy enough to find. The same guide warns against trying to fill every zero-result query. Fix the dead ends that high-intent visitors hit.
Sales calls and social listening catch the questions nobody searches yet. Pull objections and comparison questions from call recordings, support tickets and the threads where your buyers talk shop, then add them to the sheet as questions rather than keywords.
AI visibility is whether AI answer engines name your brand, and use your pages as sources, when buyers ask about your category. The two signals in Search Engine Land's guide are mentions (your brand named in the answer without a link) and citations (direct links to your content as a source).
Run a fixed set of around 20 buyer prompts in ChatGPT, Perplexity and Google AI Overviews. For each prompt, log whether you're mentioned, whether you're cited, which competitors appear and which third-party pages get cited.
Answers vary from run to run, so a single check shows you one draw. Run each prompt several times over a week and report the share of runs that mention you.
Inside Search Console, AI Overviews and AI Mode traffic sits within the Web search type, and the separate generative AI performance report shows impressions for those features.
Step 5. Prioritize gaps and map them to the buyer journey
Use scoring to turn a list of hundreds into a ranked shortlist. I use one formula:
Score = business value × traffic potential ÷ effort
- Rate business value on the Ahrefs Business Potential scale, from 0 to 3. A 3 means your product is an irreplaceable solution to the problem. A 0 means there's no way to mention it.
- Traffic potential is the organic traffic the current #1 page gets from every keyword it ranks for, which beats single-keyword volume as an estimate.
- Effort runs from 1 (a refresh of an existing page) to 3 (a new page needing original research or design).
Because business value multiplies, a 0 zeroes the score, which is the point.
Then tag each gap with a funnel stage and use it to choose the page type. Top-of-funnel pages educate.
Middle-of-funnel pages support comparison. Bottom-of-funnel pages give validation, like pricing, integrations and proof.
Here's a sample scored list for a fictional expense-management company. The figures are illustrative:
| Gap | Type | Stage | Value | Traffic potential | Effort | Score | Action |
|---|---|---|---|---|---|---|---|
| Expense policy template | Topic | TOFU | 2 | 1,800 | 1 | 3,600 | New page |
| How to automate receipt matching | Quality | MOFU | 3 | 900 | 1 | 2,700 | Update |
| Corporate card for startups | Topic | BOFU | 3 | 2,400 | 3 | 2,400 | New page |
| [Product] vs [Competitor] | Intent | BOFU | 3 | 400 | 2 | 600 | New page |
| What is accrual accounting | Topic | TOFU | 0 | 6,000 | 1 | 0 | Skip |
I give the accrual accounting term the lowest score despite its having the most traffic because it has no business value.
Step 6. Create or update content and measure results
The create-or-update call comes down to whether a URL already serves the intent. Use these rules:
- Update: An existing page targets the same intent and has history (impressions, links, positions 11 to 30). A rewrite keeps the URL and everything it has earned.
- Create: No page answers the question, and the answer is different enough from your existing pages to justify a new one. Search volume alone isn't enough reason, a point the Search Engine Journal column makes directly.
- Merge: Two of your pages compete for the same intent. Fold the weaker one into the stronger and 301 redirect it in your CMS.
Each gap you act on gets a brief with the title, primary keyword, search intent, target persona, gap type, the competitor pages to beat, the questions from Step 4 the page must answer, and the cited sources AI engines already use.
Set expectations before launch. In a 1M-URL Ahrefs ranking study, pages first seen in September 2023 were tracked for a year, and 1.74% reached the top 10. Of the pages that did rank, 40.82% got there within a month. Ahrefs suggests revisiting a page that hasn't reached the top 10 after roughly six months.
Use 30, 60 and 90 days as reporting checkpoints. They're a practical cadence, not a ranking law:
- 30 days: Check indexing and impressions in Search Console.
- 60 days: Review position trends and check for first clicks on the target queries.
- 90 days: Measure clicks to the pages that answer your target questions, AI mentions across repeated prompt runs, AI referral sessions in GA4, and assisted conversions.
Feed new questions from Search Console back into the sheet, both directly relevant ones and adjacent questions your buyers ask.
What ChatGPT can and cannot do in a gap analysis
ChatGPT is useful for sorting and drafting. It's a poor source of data. It has no access to the search volume and keyword metrics that keyword tools report. OpenAI's own help page on ChatGPT web search says results and citations can be incomplete, outdated or incorrect. Ask it for volumes or rankings and you'll get plausible numbers you can't use.
Give it your exported data and narrow jobs instead. These three prompts cover the common ones:
Clustering: Group these keywords into topic clusters. Name each cluster, list its keywords, and give one primary keyword per cluster. Use only the keywords provided.
Intent tagging: Label each keyword as Informational, Commercial, Transactional or Navigational. Return a two-column table. Mark any keyword you are unsure about as "Review."
Brief draft: Using this gap row (keyword, gap type, funnel stage, competitor URLs, audience questions), draft a brief with search intent, H2 outline, and questions the page must answer. Do not invent statistics.Test each prompt before trusting it. Label 50 rows yourself, run the prompt on the same rows, and compare. If the intent tags disagree with yours on more rows than you'd accept from a junior analyst, fix the prompt or tag by hand. Check every number against your tool exports.
A worked content gap analysis example
This walk-through continues the fictional expense-management company from Step 5. All figures are illustrative.
The team picked three direct competitors after dropping two review sites and a large publisher from the SERP list. Semrush's Missing tab returned about 1,400 keywords. The team filtered to competitor positions in the top 20, easy difficulty, and no competitor brand terms, which cut that to 210.
The team used ChatGPT to group the keywords into 38 topics and checked the Content Clusters by hand. They added 12 no-results queries from site search, and five of those matched existing Content Clusters. In most AI prompt runs, they found a competitor cited for receipt automation questions, with the company never named.
The team ranked "how to automate receipt matching" near the top using the scored sheet. An existing page sat around position 14 with steady impressions, so the action was an update, not a new URL. In the brief, the team specified a step-by-step setup section, answers to three questions pulled from sales calls, and the integration detail the cited competitor page had.
In this illustration, the 30-day check showed impressions up on the target queries. At 60 days, the page moved onto page one for two of them.
By 90 days, the team logged the brand's first mentions in repeated ChatGPT runs for the receipt prompts. Your own results will depend on competition and authority, so record your actual numbers at each checkpoint.
Use a spreadsheet template to organize gap data
One row per gap keeps the sheet usable. Use these columns:
- Keyword or question
- Gap type (topic, intent, quality, originality)
- Content cluster
- Funnel stage
- Business value, traffic potential, effort
- Score
- Action (new page, update, merge, skip)
- Owner
- Status and publish date
To see which Content Clusters carry the most value, build a PivotTable in Google Sheets. Select the data (every column needs a header), click Insert > Pivot table, add the Content Cluster column under Rows, then add Score under Values summarized by SUM and Keyword summarized by COUNTA. To combine small Content Clusters, right-click the cells and choose Create pivot group. Sort by the score total and you have your Content Cluster order for the quarter.
Common problems and how to fix them
Four problems show up in almost every first run. Each has one fix.
- Too many gaps: Drop everything with a business value of 0 or 1, then cap the quarter at what your team can ship.
- Irrelevant competitor keywords: Re-run the comparison without marketplaces, forums and publishers, as covered in Step 1.
- Cannibalization from new pages: Before creating a page, search your domain with
site:and check the Search Console Pages tab for the target query. If a page already gets impressions for it, update that page. - Stale audits: Re-run Steps 2 to 4 each quarter with the same date comparison, so the numbers stay comparable.
Keep the analysis running instead of repeating it
A gap spreadsheet starts going stale the day you export it. Rankings shift and competitors publish. AI answers change between runs, and buyers' searches generate new query data for the pages you just shipped.
A website-wide traffic average can hold steady while dozens of individual pages lose clicks, and a team reviewing a quarterly spreadsheet catches those losses late. The fix is to keep the page inventory, the gap list and the AI checks in one place that updates continuously.
That's the job GrowthX, a website portfolio management product, handles. Portfolio sorts every page into performance bands (Freefall, Declining, Stable, Growing, Surging). Opportunities ranks new pages and rewrites against your company context, with relevance weighted highest, and a rewrite keeps the page's URL and history. The AI Visibility product in GrowthX tracks AI visibility across ChatGPT, Claude, Perplexity and Google AI Overviews alongside it, powered by CheckThat. Your team still decides what ships. If your team keeps rebuilding the brief across disconnected tools, explore GrowthX: shared company context, portfolio priorities, and production in one place, with your team making the calls.
