loupsio
Profitability

The margin on your sales, order by order.

Revenue going up can hide a loss when returns and advertising weigh heavily. Loupsio works out the margin on every order and makes it available to every report: Explorer, dashboards, API.

Profitability · NovemberExample
Gross sales€12,400
Discounts−€620
Refunds−€1,180
Cost of goods−€4,210
Shipping and payment fees−€960
Attributed advertising−€2,150
Contribution margin€3,280
POAS 1.5Return rate 9%

What comes off revenue

01

Discounts

Shopify’s, or the discount parameter of items sent with GA4 names.

02

Refunds and returns

Those of the period’s orders, whatever their date, read from Shopify or imported as CSV.

03

Cost of goods

The unit cost imported with your products, or a default rate. An item returned to stock gives its cost back.

04

Shipping and payment fees

Your rules by country and method, as a percentage and a fixed amount. Real Shopify Payments fees replace them when they are known.

05

Advertising

Each channel’s and campaign’s spend, given to the sales your attribution model credits them with. What finds no sale is shown separately.

06

Margin and POAS

Contribution margin, margin rate, profit per visit and POAS (profit on ad spend), by product, channel, campaign or segment.

Returns

The return rate by product, size, channel, campaign and customer cohort, with the reasons and the profit lost.

  • Products that sell but come back: at least 10 items sold and a return rate above the shop’s, even at the bottom of its interval
  • What returns change to a customer’s value, shown as a correlation

How long it takes for a customer to pay back

By month of first order, the cumulative profit per customer at 7, 30, 90, 180 and 365 days, each channel’s acquisition cost and the day that cost is paid back.

The product pages to fix first

For each product page: add to cart, conversion, unit margin, return rate, speed, frictions and clicked zones. The list is ranked by profit at stake over 30 days, with the method, the interval, replays and the page’s heatmap.

Frequently asked questions

Where do the costs come from?

From the product file you import, with the unit cost, from your shipping and fee rules, and from the ad spend read or imported. On Shopify, refunds, return reasons and Shopify Payments fees are read if the shop grants read access to orders. On another platform, a CSV file is enough.

Who sees the margins?

The people with access to costs. For everyone else, profit metrics are hidden everywhere, down to the calculated fields of dashboards.

Why tie a refund to its order?

To know what a period’s sales really brought in. A refund that arrives three weeks later comes off the order it cancels.

Paste one line and your first report arrives on Monday.