SourceMedium checks your Configuration Sheet every 15 minutes, and your store page shows what it read from each tab, including any cell it couldn’t read. Reports use your edits from their next refresh. See Check what SourceMedium read.
General rules
Layout
Each tab keeps the template’s layout: row 2 holds the column headers and your data starts on row 3. Columns are read by position, in the order listed below, so don’t insert, remove or reorder columns. Keep each tab’s name as the template has it (capitalization doesn’t matter).Date formats
Every tab accepts dates in these formats:YYYY-MM-DDMM-DD-YYYYMM/DD/YYYYMM/DD/YY
Cells SourceMedium can’t read
A number column with text in it, a date in another format, or a formula that shows an error such as#REF! or #N/A holds back the whole tab: reports keep using the version they used before, and your store page names each cell to fix.
Date ranges
- Where a tab supports a date range,
date_endis treated as inclusive (the range includes bothdate_startanddate_end). - For tabs that amortize/spread amounts, the spread is done evenly across the number of days in the inclusive range.
Targets tab
Use the Targets tab for KPI targets displayed in scorecards and executive reporting.Targets are treated as daily values across the selected date range. If you want a monthly total target, enter the per-day target value.
If multiple Target rows overlap on the same day for the same channel:
- Summable metrics (e.g., revenue, orders, spend, sessions) are summed
- Ratio-like metrics (e.g., AOV, CPA, ROAS) use the max value for that day
Channel Mapping tab
Use Channel Mapping to route orders (and some marketing records) into consistent channels, subchannels, and vendors using rule-based matching.Rules are evaluated from highest to lowest derived weight, and the comparison spans every channel:
- When
channelis blank or anOnline DTCchannel, the weight isrow. Arowof0disables the rule. - For any other channel, the weight is
row * 1000. Arowof0gives the lowest weight, and the rule stays active.
row 2 with channel Wholesale (weight 2,000) is evaluated before row 500 with channel Online DTC, and after row 2,500 with channel Online DTC.Excluded does not move an order that a built-in rule already placed, such as a POS order in Retail. The sm-exclude-order order tag is the only route that always applies. See Create custom channel mappings.
Supported attribute values
These attributes are supported by the channel mapping ingestion logic:
source(UTM source)medium(UTM medium)source_medium(combined UTM source/medium)campaign(UTM campaign)discount_codes(order discount codes)order_tags(order tags)skus(product SKUs)shopify_sales_channel(Shopify sales channel / marketplace signal)
Sales tab
Use the Sales tab to enter non-integrated sales and have them included in reporting.Orders are stored as whole numbers; when a Sales row spans multiple days, order counts are distributed across the range to stay integer-valued.
Cost tab (Marketing Costs)
Use the Cost tab (sometimes labeled Marketing Costs) for marketing spend that isn’t captured by an integration.Financial Cost tabs
Financial Cost tabs define rates used for profit and cost reporting. These tabs requiredate_start and date_end, in any of the date formats above.
Financial Cost - Product COGS
Financial Cost - Shipping
Financial Cost - Fulfillment
Financial Cost - Merchant Processing Fees
Financial Cost - Operating Expenses
Related resources
Configuration Sheet Overview
Start here for how-to guides and workflows.
How does channel mapping work?
Standard channel labels, Shopify Flow tagging, and how to customize the rules.

