Category Metafields Now Power Your Shopify Analytics

Shopify merchants can finally see category attributes like color, material, and fit directly in Analytics. Learn what changed, who it impacts, and how to start using these new dimensions today.

Category Metafields Now Power Your Shopify Analytics
6 sections

If you’ve ever wished you could answer questions like “Which fabric sells best?” or “Which color drives the most revenue?” without exporting a CSV, Shopify has just delivered. Category metafields—those custom attributes you assign when you group products—are now available as native dimensions and filters in the Analytics app. This update turns static product‑level data into actionable insights, all inside the reporting UI you already use.

What’s New: Category Metafields in Analytics

Previously, category metafields such as "color", "material", or "fit" only lived on the product page. To analyze performance you had to export orders, join the data in a spreadsheet, and manually aggregate results. The new functionality surfaces those same metafields in Analytics as first‑class dimensions, allowing you to slice, dice, and filter reports directly. They appear alongside any custom metafields you’ve defined, meaning you can combine product‑level and category‑level attributes in a single view.

Who Is Affected – Merchants vs. Developers

Merchants – If you already use category metafields to tag products, you’ll see the new options automatically. No additional setup is required; just open Analytics and start adding the new fields to your reports. If you haven’t defined any category metafields yet, this is a great moment to start, because the data will be instantly reportable once the definitions are saved.

Developers – The API surface for category metafields hasn’t changed, but you may want to update any custom dashboards or apps that pull analytics data. The GraphQL Admin API now returns category metafield keys in the same shape as product metafields, so you can query them in a unified way. Existing code that builds custom reports should be audited to include the new dimension where relevant.

How to Leverage Category Metafields in Your Reports

  • Open the Analytics app and navigate to the report you want to enrich (e.g., Sales over time, Product performance, or Custom report).
  • Click Add filter or Add dimension and look for the section titled “Category metafields.”
  • Select the attribute you care about—"Material", "Color", "Fit", etc.
  • Apply the filter or break down the chart. Instantly see revenue, units sold, and conversion metrics broken out by that attribute.
  • Because Shopify consolidates multiple values on a single row, a product that belongs to two colors (e.g., "Red" and "Blue") will appear once per order, with both values listed in the same cell. This prevents double‑counting while still giving you the full picture.

    Implementation Tips and Example Queries

    ### Defining a Category Metafield (if you haven’t already)

    Use the Shopify admin or the metafields definition UI to create a new metafield on the Category resource.

    {

    "definition": {

    "namespace": "custom",

    "key": "material",

    "type": "single_line_text_field",

    "description": "Primary material of the category",

    "owner": "CATEGORY"

    }

    }

    Once saved, assign values to each category (e.g., "Cotton", "Wool", "Leather").

    ### Pulling Category Metafields via GraphQL (for developers)

    If you build a custom analytics dashboard, you can fetch the new fields alongside product data:

    graphql

    query CategoryMetafields($ids: [ID!]) {

    categories(ids: $ids) {

    id

    metafields(namespace: "custom", first: 10) {

    edges {

    node {

    key

    value

    }

    }

    }

    }

    }

    The response will include the same key/value pairs that appear in the Analytics UI, making it easy to mirror the native reports in your own tools.

    Things That Remain Unchanged

  • The process for assigning category metafields to products is exactly the same as before—no new UI steps.
  • Custom metafields (those you’ve defined on products, orders, or customers) continue to work as they always have.
  • If a product has multiple values for a single attribute, Analytics groups them on one row, preserving accurate sales totals.
  • No additional permissions or app installations are required; the feature is baked into the core Analytics experience.
  • Next Steps for Your Store

  • Review your existing category metafields. If you’re missing key attributes, create them now so they’ll show up in reports.
  • Open Analytics this week and add a new dimension to a high‑traffic report. Spot trends you’ve never seen before.
  • For developers, update any custom reporting queries to include the CATEGORY owner type.
  • Share the new insights with your team—marketing can target the top‑selling colors, inventory can prioritize fast‑moving materials, and product managers can refine category structures based on real performance data.
  • By turning static categorization data into live analytics, you close the loop between merchandising decisions and revenue outcomes.

    Ready to turn your category tags into growth drivers? Dive into Analytics today, explore the new dimensions, and let the data guide your next product launch. Need help setting up metafields or building a custom dashboard? Contact our Shopify strategy team for a personalized walkthrough.

    Tags
    Sources

    Related Articles

    Unlock Transparency: The New Store Activity Log Lets You Track Every Change

    Unlock Transparency: The New Store Activity Log Lets You Track Every Change

    Shopify’s rebuilt Store activity log centralizes every modification—from products to payments—into one searchable timeline. Learn what’s new, who can see it, and how merchants and developers can act today.

    November 13, 20264 min
    Custom Draft Order Discounts Now Respect Presentment Currency

    Custom Draft Order Discounts Now Respect Presentment Currency

    Shopify now calculates custom draft‑order discounts in the draft’s presentment currency instead of the shop’s default. Learn what this means for merchants, developers, and how to update your workflow today.

    November 13, 20264 min
    Checkout Functions Get Smarter: `cart.deliverableLine` Now Includes Cost Modeling and Direct Cart Line Links

    Checkout Functions Get Smarter: `cart.deliverableLine` Now Includes Cost Modeling and Direct Cart Line Links

    Shopify’s latest checkout function update adds cost modeling to `cart.deliverableLine` inputs and ties them directly to their originating cart lines. Learn what this means for developers, how to adjust your code, and the best practices to stay compliant.

    November 13, 20264 min
    Case-Insensitive Market Metafields: What the 2027-01 Storefront API Change Means for Your Store

    Case-Insensitive Market Metafields: What the 2027-01 Storefront API Change Means for Your Store

    Shopify's Storefront API 2027-01 now matches Market.metafields keys case‑insensitively. Learn why this matters, who is affected, and how to update your apps and custom storefronts before the change breaks your logic.

    November 13, 20264 min