Lee Foot

BCG Matrix Generator

Plot landing page folders on a BCG matrix of sessions against revenue from a Google Analytics export.

Legacy tool

This tool needs the old Universal Analytics (pre-GA4) data format. It may still work with historical UA exports, but it does not work with GA4.

View the source

#about

Plots landing page folders on a four-quadrant BCG matrix of sessions against revenue (Finders, Keepers, Losers, Weepers), from a Google Analytics Excel export.

Both axes are scaled 0 to 100 against the top folder, so the quadrant lines at 50 mark half the leader's value.

The Colab notebook saves a PNG of the main chart, then one per category a folder level deeper, stopping at the first category with fewer than three subfolders.

Colab notebook

Platform
Google Colab notebook (runs in your browser with a Google account)
Input
GA landing page Excel export
Output
BCG matrix PNG charts by category
Category
Reporting

Use cases

  • Identifying high-revenue/low-traffic anomalies
  • Strategic content portfolio analysis by folder
  • Drilling down into category performance
  • Presenting folder-level ROI to stakeholders

#features

  • Four-quadrant BCG framework (Finders, Keepers, Losers, Weepers)
  • Cascading reports one folder level deeper per category
  • Bubble sizing proportional to session volume
  • Configurable url_depth for folder extraction (default 2)
  • 300 DPI PNG export for presentations

#how-to-use

  1. Export the GA landing page report as Excel with Sessions and Revenue (sheet must be named Dataset1)
  2. Upload the Excel file to the notebook (export all rows; it warns under 100)
  3. Set url_depth for folder extraction level
  4. Configure quadrant labels and text styling
  5. Allow Chrome to download multiple files when prompted
  6. Download PNG charts (main + cascading by category)

#faq

What exact file format does the notebook expect?
An Excel export from Google Analytics containing a sheet named 'Dataset1' with columns called Landing Page, Sessions and Revenue. A CSV will not work because the code reads a named Excel sheet. The notebook also warns if fewer than 100 rows are imported, which usually means you exported only the visible rows rather than all rows.
What do the chart axes actually represent?
Each axis is scaled to a percentage of the best-performing folder: 100 times the folder's sessions (or revenue) divided by the maximum across folders. The quadrant lines sit at 50, meaning half the top performer's value, so the quadrants are relative to your best folder, not averages or absolute thresholds. Bubble size is proportional to the same sessions share.
Why do the cascading sub-category charts stop before covering every category?
Categories are processed in descending sessions order and the loop breaks entirely at the first category with fewer than three subfolders, rather than skipping it. Any lower-traffic categories after that point get no chart, so a small category early in the list can cut the run short.
Are pagination and filter URLs handled?
In the drill-down reports, subfolder rows containing 'page' or '=' are removed to strip pagination and parameter URLs. Note the match is a substring check, so a genuine folder with 'page' in its name (for example landing-pages) is also excluded.
Why do I only get one PNG downloaded?
The notebook triggers a separate browser download for the main chart plus one per category. Chrome blocks multiple automatic downloads by default, so watch for the popup asking to allow the site to download multiple files and approve it, otherwise only the first PNG arrives.

/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.