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
waterproofororganicadd 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:whitematerial:cotton,material:leather,material:linenfit:slim,fit:regular,fit:oversizedoccasion:work,occasion:casual,occasion:formalseason:spring,season:winterfeature: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
- Go to Products in your Shopify admin
- Click the filter icon and select Tagged with
- Browse the list of existing tags — look for inconsistencies, duplicates, and tags that don't follow a pattern
- Also check
yourstore.com/products.json?limit=5and look at thetagsfield 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):
- Go through each product in Shopify admin and update the tags manually
- Remove promotional and temporary tags
- Replace flat tags with namespaced versions (
black→color:black)
For larger catalogs:
- Export your products as CSV from Products > Export
- Open the CSV and find the
Tagscolumn - Use find-and-replace or a spreadsheet formula to update tags in bulk
- 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 sometimescolour) - Use the same values for the same attribute (
color:black, not sometimescolor:blk) - Document your tag taxonomy somewhere your team can reference — a simple spreadsheet works