Skip to main content
Product costs (COGS) power profitability metrics like gross profit and contribution margin across your SourceMedium dashboards.

How Product Costs Work

SourceMedium pulls product costs from Shopify’s Cost per item field at the variant level. This enables:
  • Order-level profitability: Gross profit per order
  • Customer-level LTV: Profit-based lifetime value
  • Product-level margins: Gross margin by product/collection
SourceMedium tracks cost changes over time. Orders use the product cost that was active when the order was placed.

Where Costs Appear

ModuleCost Usage
Executive SummaryGross profit, contribution margin
LTV & RetentionProfit-adjusted LTV
Product PerformanceProduct-level margins
Orders Deep DiveOrder-level profitability

Setting Up Product Costs

1

Enter costs in Shopify

Go to Products → select product → select variant → enter Cost per item
2

Use landed cost

Include product cost + inbound shipping/duties for accurate margins
3

Notify SourceMedium

Let your team know costs are ready so we can enable the feature

Common Scenarios

FAQs

Use landed cost: product cost + inbound shipping + duties/tariffs. This gives the most accurate gross margin.
Update the cost in Shopify when it changes. SourceMedium tracks historical costs—old orders keep old costs, new orders use new costs.
Cost changes typically reflect in dashboards within 24 hours after the next data sync.