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 you see “too many orders in online_dtc” or “TikTok Shop isn’t separated”, it’s usually a channel mapping issue (or missing override rules).
What gets mapped
Key fields:sm_channel: primary channel classificationsm_sub_channel: optional secondary breakdownsm_default_channel: the fallback channel that would apply if no override rules matchsm_order_sales_channel: source-system sales channel (when available) used as an input to mapping
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 expose Shopify’s sales channel (e.g.,pos, TikTok Shop, Instagram, Shop App) as an additional mapping input.
This enables rules like “map POS orders to retail” or “map TikTok Shop via Shopify to a separate channel”.
Where to start
- For the full channel-value list and the priority hierarchy, see Sales Channel (sm_channel).
- For “how do I create or override channels?”, see Create Custom Channel Mappings.

