sm_channel is one of the highest-impact dimensions in SourceMedium. It controls how orders roll up into dashboards and many Query Library recipes.
If a channel total does not look right, it is often a channel mapping issue, a missing custom rule, or a difference between SourceMedium and the external report you are comparing against.
What gets mapped
Key fields:sm_channel: primary channel classificationsm_sub_channel: optional secondary breakdown
Override inputs (high level)
Channel mapping rules can evaluate signals like:- UTMs (source/medium/campaign)
- Order tags
- Discount codes
- SKUs
- Shopify sales channel / order source
Sales channel specific overrides
For Shopify orders, SourceMedium can use Shopify’s sales channel as an additional mapping input. This helps separate marketplace, retail, app, and standard ecommerce activity when those signals are available.Default and system-generated channels
Some channel values are generated by SourceMedium’s standard logic even if your team did not create a custom rule. Common categories include standard ecommerce, retail, wholesale, marketplace, draft, exchange, replacement, and excluded orders. Dashboard labels may be friendlier than the warehouse values. If you are querying BigQuery directly, use the values present in your own warehouse rather than copying labels from a dashboard screenshot. If a new channel appears unexpectedly, first check whether the order has source, tag, sales channel, discount code, or SKU details that explain the classification. Then check whether a custom Configuration Sheet rule now matches that order.Troubleshooting a mapping issue
Check the raw inputs
Confirm the order’s UTMs, tags, discount codes, SKUs, source, and sales channel. Mapping rules can only use values present on the order.
Check freshness
Configuration Sheet changes appear after the relevant data and dashboard refreshes complete.
Where to start
- For customer-facing channel definitions, see Sales Channel (sm_channel).
- For “how do I create or override channels?”, see Create Custom Channel Mappings.

