Skip to main content
Guide 4 of 10 · 3 min read

How to Build a Tag Taxonomy AI Agents Can Use

Most Shopify stores treat product tags like a junk drawer. Random labels, inconsistent naming, tags added on impulse and never cleaned up.

AI agents use tags as categorical signals. When the tags are random, the signals are random. A tag like "sale" or "new" tells an AI agent almost nothing about the product. But color:black or material:cotton — that's data it can use.

What AI agents do with tags

Tags show up in your /products.json feed, which is one of the first things AI agents read when they scan your store. They use tags to:

  • Categorize products — group similar items together
  • Filter by attribute — match customer queries like "black leather bag" to products tagged with those attributes
  • Understand product features — tags like waterproof or organic add context that may not be in the title

If your tags are a mix of "Summer 2023", "BOGO", "bestseller", and "xs" — the AI agent gets noise instead of signal.

The fix: namespaced tags

Namespaced tags use a prefix to group tags by type. The format is simple: category:value.

Examples:

  • color:black, color:navy, color:white
  • material:cotton, material:leather, material:linen
  • fit:slim, fit:regular, fit:oversized
  • occasion:work, occasion:casual, occasion:formal
  • season:spring, season:winter
  • feature:waterproof, feature:organic, feature:handmade

The namespace makes each tag meaningful on its own. An AI agent seeing material:cotton knows exactly what it means without needing any other context.

Tags vs. product types vs. collections

These three serve different purposes, and all three matter for AI:

  • Product type — what the product is. One value per product. Examples: "T-Shirt", "Candle", "Coffee Mug". This is the primary categorization field.
  • Tags — product attributes and features. Multiple values per product. This is where details like color, material, and occasion go.
  • Collections — how products are grouped for browsing. "Summer Collection", "Best Sellers", "Under $50". AI agents use collection membership as a secondary categorization signal.

A well-organized store uses all three. Product type for "what is it," tags for "what are its attributes," and collections for "how is it grouped."

How to audit your current tags

  1. Go to Products in your Shopify admin
  2. Click the filter icon and select Tagged with
  3. Browse the list of existing tags — look for inconsistencies, duplicates, and tags that don't follow a pattern
  4. Also check yourstore.com/products.json?limit=5 and look at the tags field for each product

Common problems you'll find:

  • Duplicate tags with different casing ("Black" vs "black" vs "BLACK")
  • Tags that are just single characters or numbers
  • Promotional tags mixed with attribute tags ("sale", "featured", "new")
  • No consistent naming convention

How to clean up and restructure tags

For small catalogs (under 50 products):

  1. Go through each product in Shopify admin and update the tags manually
  2. Remove promotional and temporary tags
  3. Replace flat tags with namespaced versions (blackcolor:black)

For larger catalogs:

  1. Export your products as CSV from Products > Export
  2. Open the CSV and find the Tags column
  3. Use find-and-replace or a spreadsheet formula to update tags in bulk
  4. Re-import the updated CSV

Start with the most common attributes — color, material, and size cover a lot of ground for most stores.

Keep it consistent

The value of namespaced tags comes from consistency. Once you pick a convention, stick to it across every product.

  • Use lowercase for all tag values
  • Use the same namespace names everywhere (color, not sometimes colour)
  • Use the same values for the same attribute (color:black, not sometimes color:blk)
  • Document your tag taxonomy somewhere your team can reference — a simple spreadsheet works

Check your store

We're launching soon. Get notified when you can scan your store.