Transaction-Level Profitability Model
Attribute every sale's costs before optimizing prices or channels
- Difficulty
- Advanced
- Time to result
- ~months to results
- Steps
- 7
- Confidence
- 94%
The Transaction-Level Profitability Model starts with a detailed transaction file and attaches the costs created by each individual sale. Relevant components include logistics, marketplace commissions, returns, outbound fulfillment, and attributable marketing spend. Product attributes and channel identifiers provide additional context for estimating missing values and comparing similar transactions. Once costs can be observed or predicted at this granularity, the merchant can calculate contribution profit rather than relying on topline revenue or blended averages. Aggregating those transaction economics by product, campaign, marketplace, or owned channel then reveals where discounts and marketing budgets should be invested. The model can begin with well-understood logistics and commission costs, then become more accurate as return and marketing attribution mature.
Origin
Extracted from Ecommerce Coffee Break during Felix Hoffmann's explanation of the transaction data required for profitable predictive pricing.
Core principles
- 01Revenue does not reveal transaction profitability
- 02Costs must be attributed at the individual-sale level
- 03Each channel has a distinct economic structure
- 04Better cost prediction enables better commercial decisions
- 05Incomplete attribution should be improved incrementally
How to run it
- 1
Create the transaction spine
Build a file containing every sale with stable transaction, product, date, price, quantity, and channel identifiers.
Pro tip Preserve the lowest available granularity instead of starting with monthly aggregates.
Watch out Blended channel totals can hide loss-making products and orders.
- 2
Attach direct costs
Connect logistics, outbound fulfillment, payment, and marketplace commission costs to each transaction.
Pro tip Begin with costs that can be reconciled directly to invoices or operational records.
Watch out Do not assume marketplaces share the same commission or fulfillment structure.
- 3
Estimate deferred costs
Add expected return, refund, and reverse-logistics costs, using product and channel behavior where the final amount is not yet known.
Pro tip Segment estimates by product category and channel.
Watch out A single blended return rate can badly distort fashion profitability.
- 4
Attribute acquisition costs
Connect campaigns and marketing spend to the traffic and transactions they influenced, using the best defensible attribution method available.
Pro tip Document uncertainty where attribution is probabilistic.
Watch out Do not present estimated marketing attribution as exact fact.
- 5
Calculate contribution profit
Subtract attributable transaction costs from net sales to produce a comparable profitability measure for every sale.
Pro tip Retain each cost component so analysts can explain why profitability differs.
Watch out Revenue and gross margin alone omit material channel-specific costs.
- 6
Aggregate for decisions
Roll transaction economics up by channel, SKU, campaign, and customer segment to compare where pricing, discounts, and marketing investment work best.
Pro tip Compare both total profit and incremental profit from proposed growth.
Watch out An attractive average can conceal unprofitable marginal transactions.
- 7
Audit and refine
Run quality checks for missing joins, impossible values, and inconsistent definitions, then improve attribution over time.
Pro tip Prioritize errors that affect the largest volume or cost pools.
Watch out Optimization on unreliable cost data can confidently recommend the wrong action.
In the wild
A fashion item sells for the same headline price on two marketplaces. The transaction model incorporates different commissions, fulfillment charges, and expected return rates, revealing that sales on one marketplace contribute materially less profit despite equivalent revenue.
→ The merchant changes channel pricing and directs promotional investment toward the economically stronger route.
A retailer cannot reliably attribute campaign spend to individual orders. Instead of delaying the entire project, it first attaches logistics and commission costs, marks marketing attribution as incomplete, and progressively improves campaign-to-transaction links.
→ The business gains an initial profitability view while maintaining transparency about its remaining data gaps.
Common mistakes
Assuming the data already exists
Companies often possess relevant totals but cannot connect the exact costs to the transactions that generated them.
Using channel-wide averages
Averages overlook differences among products, returns, commissions, and campaigns that determine actual contribution profit.
Ignoring attribution uncertainty
Marketing costs are difficult to assign precisely, so models should disclose and improve uncertain links rather than silently treating them as exact.
Is it for you?
Best for
It is best for multichannel merchants whose commissions, logistics, returns, and marketing economics vary by marketplace or product.
Not ideal for
It is not ideal as a quick spreadsheet exercise when transaction IDs cannot be reliably connected to operational and marketing costs.
From the transcript
“So and we are looking for kind of really broken down transactions, trying to understand, okay, what for each sale you did, what were exactly…”
“But of course you can. You can start with logistic cost.”
“How are you able to attribute the cost that you have with the benefit which are basically the transactions?”
From the episode
How To Increase Margins By Moving Beyond Rule-based Pricing — Felix Hoffmann
Felix Hoffmann