Lee Foot

Top Traffic Pages Finder

Rank your pages by Search Console clicks, sort them into traffic bands and list pages with no clicks.

View the source

#about

Ranks your pages by organic clicks from Search Console, with total impressions, mean CTR and mean position for each.

The Colab notebook pulls query, page and country data through the Search Console API (OAuth via the google-searchconsole library) and keeps one country, gbr by default.

Pages fall into six traffic bands from 0 to 10,001+ clicks, and those with impressions but no clicks are listed separately.

Results go to a four-sheet Excel workbook, with Plotly charts in the notebook.

Colab notebookUses Search Console data

Platform
Google Colab notebook (runs in your browser with a Google account)
Input
Google OAuth credentialsGSC property and date range
Output
Excel with top pages and traffic analysis

Use cases

  • Identifying your most valuable organic content
  • Reporting on content performance
  • Finding pages to protect during migrations
  • Understanding which content types drive traffic

#features

  • OAuth authentication via google-searchconsole library
  • Traffic range categorisation (0, 1-100, 101-1K, 1K-5K, 5K-10K, 10K+)
  • Zero-traffic page isolation for review
  • Keyword-to-page relationship mapping
  • Four-sheet Excel export with xlsxwriter
  • Plotly interactive traffic distribution charts

#how-to-use

  1. Set up OAuth credentials and authenticate
  2. Enter your GSC property URL and country code
  3. Select date range and search type
  4. Run to aggregate page-level metrics
  5. Review traffic distribution and zero-traffic pages
  6. Download Excel workbook with four analysis sheets

#faq

What setup does the notebook need before it will pull data?
A Google Cloud OAuth client JSON (Desktop app type) uploaded to Colab; the first cell installs the joshcarty google-searchconsole library it authenticates with. The url variable must match your GSC property exactly, including the trailing slash. If the match fails, uncomment the print(account.webproperties) cell to list valid property names and copy one exactly.
Why am I only seeing UK data?
The notebook ships with country_filter = "gbr" and keeps only rows for that country. Change it to another ISO 3166 alpha-3 code, or comment out the filter line (flagged in the notebook) for worldwide data.
What counts as a zero-traffic page?
A page that appeared in the API response (so it had impressions) but whose summed clicks are zero in the date range. Pages with no impressions at all never appear in Search Console query data, so this sheet is not a complete inventory of pages without traffic; cross-check against a crawl for that.
What is in the Excel export?
Four sheets: Top Ten Pages by Clicks; Top Ten Pages by Clicks + KWs, which lists each top page's queries with the percentage of that page's traffic each keyword drives; Zero Traffic Pages; and All Pages with the full per-page stats and traffic range labels.
Can I break the data down by device?
The device dimension is defined in the pull cell but commented out by default; uncomment it to include device. Each extra dimension multiplies the row count and slows the pull.

/contact

Want me to run this for you? I run this tool as a managed service, or build something custom around your data. You get the insights without touching the code.