A query or page with enough impressions gets fewer clicks than the site's own median at the same position. The curve is built from your export alone: the median CTR of rows in the position buckets 1, 2, 3, 4–5 and 6–10 (average position rounded, so 1.4 is still first). No outside benchmark is used — a navigational brand and a reference article have different curves, and the only fair comparison is the site with itself. A row counts towards the curve with 10 impressions or more and without an AI Overview; a bucket with fewer than --min-rows rows (5 by default) is printed as too little data and raises nothing. The finding needs --min-impressions (100 by default). Missed clicks are a model, impressions × (bucket median − CTR), not a forecast. The usual cause is a title or description that does not answer the query, or one the search engine rewrote; ctr_targets.csv lists each row with the current title and description from the build. The package never suggests click inflation, bots or CTR-manipulation services: they are spam under search engines' policies.
The finding reads:
warning ctr-below-curve CTR …% at position …… is below the site's median for bucket … (…%) with … impressions; model: about … clicks missed over the period
Open the page from ctr_targets.csv and rewrite the title and description so they answer the query directly: what the reader gets, the price, the term or the year if they matter. Check that the search engine shows your title rather than a rewritten one. Two or three weeks later compare the windows: `indexgap ctr-gap … --compare EDIT_DATE`.
Collapsed when it fires template-wide. If it appears on 90% or more of the pages — or of one language version — of a site with at least 20 pages, it is a property of the template and is reported once, with the count, instead of once per page.
pipx install indexgap
cd your-project
indexgap init
indexgap check
Then indexgap brief turns
every finding on this page into a work order in indexgap-briefs/,
with the thresholds the result has to satisfy and the command to check it.