MER (marketing efficiency ratio) and ROAS (return on ad spend) answer different questions, so you need both. MER is your total revenue divided by your total marketing spend; Shopify's own guide also calls it blended ROAS. It tells you how efficiently marketing as a whole turns money into sales, but not which campaign produced a given order. ROAS is the revenue an ad platform attributes to a specific ad, campaign or channel, divided by what that ad, campaign or channel cost. Use ROAS to decide where the next budget goes inside a channel, and MER to judge the business.
The two ratios side by side
| MER | Platform ROAS | |
|---|---|---|
| Numerator | All revenue, from your store or finance system | Revenue the ad platform credits to its own ads |
| Denominator | All marketing spend you choose to count | Spend on that ad, campaign or channel |
| Scope | The whole business, over a period | One ad, campaign, ad set or channel |
| Good for | Budget planning, forecasting, reports to founders and finance | Shifting budget, creative and targeting between campaigns |
| Blind spot | Cannot say which campaign drove a sale | Each platform applies its own attribution rules, so platforms overlap and the sum overstates sales |
Read the two together. A rising MER with a falling ROAS on one platform, for example, can mean that platform is claiming less credit while the business still grows. A high ROAS on every platform with a flat MER often means the platforms are crediting the same orders more than once.
The same ratio can be written the other way round: spend as a share of revenue. An MER of 4 is the same as marketing spend equal to 25% of revenue.
Decide the inputs before you compute MER
MER has no fixed definition of either side, so write yours down and keep it the same from period to period, or the trend means nothing.
Revenue. You can use total sales, net sales or attributed revenue. For the business view, use store revenue, not platform conversion value. In etlmcp, each Shopify row carries a revenue column that holds the same figure as net_sales: product sales after discounts, returns and order edits, without tax and shipping. The row also carries gross_sales, discounts, refunds, shipping, taxes and total_sales if your definition differs. See the Shopify connector and Shopify revenue definitions.
Net sales on a past day can change when an order on that day is refunded, returned or edited later. A routine Shopify sync pulls the last 58 days again, so the MER for recent days moves as those days are restated.
Spend. You can count only media cost, or add influencer fees, creative production, marketing tools, agency and contractor fees and salaries. etlmcp supplies ad spend only: the cost column on each ad platform's rows. Shopify rows have no cost, clicks or conversions, because Shopify reports orders, not advertising. Any non-media cost you include has to come from your own records and be added in your warehouse or spreadsheet.
Put every amount in one currency first
Each ad platform's cost and conversion_value are in the ad account's own currency and are never converted for you; every row carries a currency column. Shopify amounts are in the store's currency. Adding cost from a EUR account to cost from a USD account gives a number with no meaning.
Convert before you add. In a pipeline, the fx rule multiplies an amount by the rate you give for its currency and sets the row's currency to the target; a row in a currency you gave no rate for stops the transform with an error instead of passing through unconverted. Convert the ad cost into the same currency as your store revenue, or convert both into your reporting currency. See currency handling across platforms for how each source states its currency.
Platform ROAS in a pipeline
Within one ad account, ROAS is conversion_value / cost, both in that account's currency, so no conversion is needed for a single account. A derive rule can add it as a column; on a day with zero cost the division gives an empty value, not an error. Remember that conversion_value is each platform's own attributed figure, under its own attribution window and counting, so ROAS from two platforms is not directly comparable, and the sum of attributed revenue across platforms is not your revenue. That gap is exactly what MER exists to show.