Tools · Taxonomy Tool

Ecommerce Taxonomy Tool

The Taxonomy Tool is a Next.js and TypeScript application I built to generate SEO category structures for ecommerce and large content sites. It reads exports from Screaming Frog, Google Search Console, GA4, and Semrush, then has Gemini build a nested category tree where every category comes with a slug, meta title, meta description, keywords, and a rationale that cites the data behind it.

Book a Discovery Call

Taxonomy Tool visualization tab for a fictional outdoor gear store, Summit & Trail Outfitters, showing a revenue heatmap of the category tree in rollup mode with total rollup revenue of $2,807,420, where Backpacks ($725,922), Tents ($570,413), and Sleeping Bags ($515,805) are shaded darkest, plus Download CSV, PNG, and SVG buttons.
Revenue rolled up through the category tree for a fictional outdoor gear store built on simulated data. Darker green means more revenue than sibling categories at the same level.

Why Build an Ecommerce Taxonomy Tool?

Most ecommerce taxonomies are built by merchandisers from the product catalog outward. That’s a reasonable way to organize inventory and a poor way to organize a site for search. The categories people search for (“waterproof hiking boots for women”) rarely match how a buyer organizes the warehouse (“Footwear > Women’s > Boots”).

The data to fix it already exists. It’s just split across four tools. Screaming Frog has the current structure, Search Console has real demand, Semrush has the wider market, and GA4 has the revenue. I’ve been automating pieces of this for years (see AI Categorization With Screaming Frog & ChatGPT), and this tool is the end-to-end version: all four sources in, a category tree out.

What Data Goes Into the Category Tree?

Everything comes in as CSV exports. The file type is detected automatically from the column headers, so there’s no mapping step.

SourceWhat it contributes
Screaming Frog crawlThe current site structure: directories, page counts, crawl depth, titles, H1s. Only 200-status pages count.
Google Search ConsoleReal demand: query themes ranked by clicks, top landing pages, and high-impression, low-click gaps.
SemrushThe wider market: search volume, keyword difficulty, CPC, and intent for keywords the site doesn’t rank for yet.
GA4 (landing pages, ecommerce, content)Commercial value: sessions, conversions, and revenue by section, item category, and brand.
PersonasWho the taxonomy is for: goals, pain points, search behavior, and expertise level.
Current navigationAn indented outline of the existing nav, used as context or reviewed directly.
Taxonomy Tool upload data tab with a CSV drop zone that auto-detects format from column headers, and a loaded datasets list showing GA4 Ecommerce Items (28 rows), Search Console (152 rows), Semrush (80 rows), and Screaming Frog (68 rows).
Four simulated exports loaded. Each file type was detected from its column headers.

How Is the Ecommerce Category Tree Built?

1. Summarize Each Source Dataset in Code

Raw exports are too large and too noisy to hand to an LLM. Deterministic code turns each one into a compact summary first: the directory tree with page counts, query themes with click totals, revenue by item category, and so on. Same input, same summary. No model involved yet.

2. Analyze Each Data Source Separately

Each summary gets its own Gemini analysis with a prompt written for that source. The crawl analysis looks for hierarchy problems, inconsistent URL patterns, and pages that belong somewhere else. The Search Console analysis looks for topic clusters and intent. The Semrush analysis looks for high-volume, low-difficulty openings. The GA4 analysis looks for where revenue concentrates and which sections underperform.

3. Synthesize Category Insights Across Sources

When there’s more than one dataset, a synthesis step compares the analyses: where sources agree (strong demand and strong revenue), where they conflict (high search volume, no revenue), and which categories look like candidates to merge or split. This is where a taxonomy stops being a keyword list.

4. Generate the Category Tree

Gemini 2.5 Flash then builds the category tree in structured JSON, scoped to the selected personas and aware of the current navigation and any categories already in the project. Categories are named as the phrases people actually search, high-value areas get deeper subcategories, and every category carries a rationale that has to quote the numbers behind it. A category with no data behind it doesn’t get a made-up justification.

5. Expand Any Category Branch

Any category can be expanded into subcategories. The tool finds every row across every dataset that matches the category, weights them by commercial value, and asks Gemini to group them along one consistent dimension (brand, material, use case, price, and so on). Suggestions that duplicate an existing child are dropped. If no data matches, it returns nothing rather than inventing subcategories.

Taxonomy Tool category tree with Backpacking Tents selected and a node details panel showing name, slug backpacking-tents, a Screaming Frog match with a use existing site metadata button, meta title and meta description fields with character counters, keywords, and a data backing box of 10 matching rows with $362,205 revenue, 81 clicks, 4,722 impressions, and 15,309 monthly search volume.
The category detail panel. This tree was imported from the store’s existing navigation, so the meta fields are still blank, but the data backing box already shows what each category is worth across all four sources.

6. Review the Current Site Navigation

Paste the existing nav and the tool returns specific suggestions to add, remove, merge, rename, or restructure items, each with a reason grounded in the uploaded data. Useful when a full rebuild is off the table and the goal is to fix what’s there.

What Does the Final Taxonomy Include?

Taxonomy Tool export tab with four export options: JSON nested tree, CSV flat list, Markdown outline, and JSON-LD Schema.org BreadcrumbList structured data.
Export options. JSON-LD produces a BreadcrumbList for every category path.

What Doesn’t the Ecommerce Taxonomy Tool Do?

When Does an Ecommerce Taxonomy Rebuild Make Sense?

Working With Me on Ecommerce Taxonomy

The Taxonomy Tool runs on client engagements as part of my SEO services. Generating the tree is fast. The real work is the review: getting merchandising, SEO, and engineering to agree on a structure, then planning the rollout and redirects. If your category structure needs rethinking, feel free to reach out.

← All Tools