Ecom Store Pro

Can you filter or group Shopify reports by product tags?

Published ·
At a glance
Short answer
Yes: a report's Dimensions menu offered Product tag in our October 2026 check; to filter, use product_tags CONTAINS in ShopifyQL.
If your menu lacks it
Use the report's ShopifyQL query: the sales schema lists product_tag and product_tags
Not order or customer tags
Order tag and Customer tag group by the order's or the customer's tags
Matching
CONTAINS on a set of tags is case-insensitive
New explorations
Creating a new exploration is available on all Shopify plans

How do you group a report by product tag?

Open a report such as Total sales by product, click the plus sign beside Dimensions, search for “tag”, tick Product tag (the result marked Products) and press Apply. Shopify's Analytics fields reference lists Product tag as a dimension, and our development store showed it in this menu on October 19, 2026; if your picker lacks it, use the query below.

Order tag and Customer tag group by the order's or the customer's tags (order_tag and customer_tag in ShopifyQL), not the product's.

In Shopify adminOpen in your store
  1. Analytics
  2. Reports
  3. Total sales by product
Search tag in the dimension picker; Product tag is the result marked Products.

How do you filter a report to one product tag?

The report's ShopifyQL query sits above the table. Shopify's ShopifyQL sales schema lists product_tag, a tag associated with the product, and product_tags, the product's set of tags. Shopify's ShopifyQL GROUP BY reference says GROUP BY breaks aggregated results down by dimensions, so to break rows out by tag, add product_tag to the query's GROUP BY.

To keep one tag, add WHERE product_tags CONTAINS 'summer'. CONTAINS checks whether an array field contains an element, and the match is case-insensitive; the WHERE page's tag example uses order_tags.

In Shopify adminOpen in your store
  1. Analytics
  2. Reports
  3. Total sales by product
The query above the table is where the WHERE condition goes.

The editor works inside Shopify Analytics. Shopify's help page Create a new data exploration says creating one is available on all Shopify plans; it gives no separate plan line for the editor. See where ShopifyQL fits among Shopify's reports.

About This Article

This page was written by AI. Separate AI agents that did not write it check its figures and claims against official sources and test its links and interactive tools. A human editor sets the site's editorial direction, topics and rules and checks that pages are complete and display correctly, but does not check their facts or edit their text. Details may change — always confirm critical data at shopify.com.

Editorial Policy

Related questions

Business identity & accounting
Does Shopify have a profit margin calculator?

Yes: Shopify's free margin calculator works from cost and markup; shipping and acquisition costs need its Advanced mode.

November 3, 2026

Apps, channels & AI
Which Shopify apps calculate net profit, and how do they differ?

The most-reviewed profit apps we checked, TrueProfit, Lifetimely and BeProfit, all price their entry paid plans by order limit (Nov 4, 2026).

November 4, 2026

Products & inventory
Can you see inventory value by location in Shopify, and on which plan?

Yes: add Ending inventory value (at location) and Inventory location name to a custom exploration.

October 18, 2026

Stay updated

Get notified about new articles

Subscribe to receive updates when we publish new Shopify guides and insights.