indexgap timeline

command

Which content worked, against when it was published and edited.

Links each page's publish and edit history with its search results, for sites with thousands of pages and years of history. The publication date is the file's first git commit and the edits are the later ones, with lines added and removed (one git log -M --numstat over the folder, renames followed); without git the dates come from front matter, JSON-LD and sitemap lastmod. Results come from Performance → Pages exports of Search Console, Bing or Yandex Webmaster passed with --search-performance: either with a date column (the API-style export) or one file per period, with the period in the file name or in a label. For each page it prints the publication date, the number of edits, the last substantive edit (--min-lines), the clicks and impressions trend, and for each substantive edit a comparison of equal windows before and after it (--window, 28 days), labelled rose, fell, no clear change or too little data. The site summary has cohorts by publication month, pages without a single impression, decaying pages, edits followed by a drop and a breakdown by section. --cite and --history add AI citations and indexing state. It is correlation, not cause: every comparison is set against the whole site over the same days. No network; --out writes JSON or CSV.

Inputs

indexgap timeline ./content --site https://lumenly.example \
  --search-performance google=gsc-pages-daily.csv \
  --search-performance bing@2026-01-01..2026-03-31=bing-pages.csv \
  --cite cite-2026-05.json --history .indexgap-history \
  --out timeline.json --out timeline.csv

How an edit is judged

The before window is the --window days before the edit, the after window the same number of days after it; the edit day is in neither. Clicks are compared when both windows together have at least 20, otherwise impressions when they have at least 100, otherwise the label is too little data — as it is when the export does not cover the windows or the before window reaches back past publication. The expected after value is the before value times the change of the whole site over the same windows. The edit is labelled rose or fell only when the page differs from that expectation by more than 20% and by more than twice the counting noise; otherwise no clear change. If another edit falls inside the after window, it is named.

This is correlation in time, not cause. Seasonality, search updates and site-wide shifts move every page; the site-wide comparison makes them visible, it does not remove them.

Site summary

Usage

usage: indexgap timeline [-h] [--site SITE] [--config CONFIG]
                         [--search-performance [google[@START..END]=]pages.csv]
                         [--sitemap SITEMAP] [--cite cite.json]
                         [--history HISTORY] [--window WINDOW]
                         [--min-lines MIN_LINES] [--never-days NEVER_DAYS]
                         [--top TOP] [--out timeline.json|timeline.csv]
                         [root]

[experimental] publication and edit history next to impressions and clicks:
which content worked. No network

positional arguments:
  root                  the content folder (ideally a git repository); by
                        default from indexgap.json

options:
  -h, --help            show this help message and exit
  --site SITE           the full site address; taken from indexgap.json by
                        default
  --config CONFIG       path to indexgap.json; looked for next to the pages by
                        default
  --search-performance [google[@START..END]=]pages.csv
                        a Performance → Pages export (Search Console, Bing,
                        Yandex Webmaster): with a date column or one per
                        period — the period in the file name or in the label
                        google@2026-01-01..2026-01-28=pages.csv. Can be
                        repeated
  --sitemap SITEMAP     a sitemap.xml on disk: its lastmod is the edit date
                        when there is no git
  --cite cite.json      an indexgap cite run: citations of pages in AI
                        answers. Can be repeated
  --history HISTORY     a doctor history folder: whether the page was indexed
                        in each run
  --window WINDOW       the before/after comparison window around an edit, in
                        days (default 28)
  --min-lines MIN_LINES
                        an edit of at least this many lines (added + removed)
                        counts as substantive (default 10)
  --never-days NEVER_DAYS
                        after how many days of data without a single
                        impression a page is listed as "no impressions"
                        (default 90)
  --top TOP             how many rows of each list to print
  --out timeline.json|timeline.csv
                        write the result: .json — everything, .csv — one row
                        per page. Can be repeated

The rest of the pipeline

← integrations · indexnow →