Profit Per Visitor: The Metric That Decides Your A/B Tests

Faisal HouraniFaisal Hourani· Founder & eCommerce Growth Strategist
September 29, 2026Updated November 29, 202612 min read

Is your store leaking revenue?

Find out exactly where you're losing sales — takes 2 minutes.

Find Your Revenue Leaks

Why the winning variant is sometimes the one with fewer orders

What Is Profit Per Visitor?

Revenue went up. Profit didn't.

Contribution profit per visitor is net revenue minus ten variable cost lines, divided by sessions. It is the eighth and last metric in the profit per visitor spine, and it decides the test. In the illustrative readout below, conversion falls from 5.0% to 4.7% while this metric rises from 1.68 to 2.12.

Here is the scenario. You ship a bundle test. The testing tool says revenue per visitor is up. You scale it. At month end the P&L shows less cash than the month before.

Nothing was wrong with the maths. The tool measured revenue. Your bank account measures what is left after discounts, product cost, shipping, packing, payment fees and refunds.

So the reframe is this: CRO is not conversion rate optimization. It is profit optimization per visitor. A test can make conversion worse and still be the correct scaling move.

This post is a ledger, not a theory piece. By the end you can rebuild every table in a spreadsheet in about ten minutes and use it to call your next test.

Calculator resting on printed charts beside a laptop on a work desk

One boundary first. Contribution margin as an accounting formula is a different job, and we cover it in the contribution margin formula guide. Here the same arithmetic is applied per session to call a winner. It is a test-decision instrument, not a margin explainer.

What Are the Eight Metrics in the Profit Per Visitor Spine?

Eight definitions, one that decides.

The profit per visitor spine has eight metrics: conversion rate, AOV, units per order, revenue per visitor, gross margin per order, contribution profit per order, contribution profit per visitor, and contribution after CAC per visitor. Seven are diagnostics. Only the last two answer whether a visitor made money.

Most dashboards stop at the fourth line. That is the gap this table closes. For a wider catalogue of store metrics, see our ecommerce metrics guide. That guide lists metrics. This one ranks them for a decision.

# Metric Definition Role in a test
1 Conversion rate Orders / sessions Diagnostic
2 AOV Net product revenue / orders Diagnostic
3 Units per order Total units / orders Diagnostic
4 Revenue per visitor Net revenue / sessions Diagnostic
5 Gross margin per order Net revenue minus product COGS Diagnostic
6 Contribution profit per order Net revenue minus all variable costs Diagnostic
7 Contribution profit per visitor Contribution profit / sessions Decision metric
8 Contribution after CAC per visitor (Contribution profit minus attributed acquisition cost) / sessions Scaling check

Source: WebMedic's profit per visitor model, built from the DTC profit-test frameworks.

The question behind metric 7 is plain: how much profit can this visitor produce after we pay to serve the order? Metric 8 adds the cost of getting the visitor in the first place.

A note on definitions. Tools do not always define conversion the same way. Pick the orders-over-sessions version above and use it for both arms of every test.

Laptop screen showing a website analytics overview with page views and top active pages

But the table only works if net revenue and the cost lines are right. That is where most stores slip.

What Costs Belong in the Contribution Ledger?

Ten lines, not two.

The contribution ledger starts at net revenue and subtracts ten variable lines: discounts, refunds and return reserve, product COGS, gift COGS, shipping subsidy, pick and pack, payment fees, shipping insurance or claims, variable app fees, and variable support cost. Shopify profit reports only count items with a recorded cost.

The Shopify Help Center says profit is reported only for products and variants that had a cost recorded at the time they were sold. If cost per item is blank, that product vanishes from the report. So step zero is filling in cost per item, which Shopify lets you set alongside price in its product details settings.

The same page shows how discounts bend the picture. A T-shirt priced at $20 with a $10 cost shows a 50% margin on the product page. Discount it 25% to $15 and the profit report shows 33%. The product did not change. Net sales did.

Here is the full ledger. Use the same formula for control and variant, every time.

Line Sign What can move it in a test
Net revenue Start Price, bundles, quantity, shipping charge
Discounts Minus Offers, auto-applied codes, sale badges
Refunds and return reserve Minus Guarantees, apparel fit, product mix
Product COGS Minus Bundle and SKU mix
Gift-with-purchase COGS Minus Gift offers, tiered rewards
Shipping subsidy Minus Free-shipping threshold, shipping charge
Pick, pack and fulfillment Minus More units, bigger boxes
Payment processing fees Minus Higher AOV, payment method mix
Shipping insurance or claim reserve Minus Insurance add-ons
Variable app or platform fees Minus Upsell and subscription apps
Variable customer support cost Minus Coupon friction, claims, returns
Contribution profit Equals Divide by sessions for the decision metric

Source: WebMedic's profit per visitor model. Contribution after CAC subtracts attributed media cost from the last line.

Do not let the test tool's revenue number decide the winner when variable costs changed. A free gift, a deeper discount or a lower shipping charge can lift revenue while contribution falls. Revenue is a measure of activity. Contribution is a measure of what you keep.

This is also why our ROAS formula guide and this ledger belong together. ROAS divides revenue by ad spend. It never sees the ten lines above.

Does this sound like your store? Find out where you're leaking revenue. Take the free Revenue Score. 3 minutes. Free. No pitch.

How Can a Test Lose on Conversion and Still Win?

Because orders are not equal.

A variant can cut conversion from 5.0% to 4.7%, a 6.0% drop in orders, and still win. In the illustrative readout below, AOV rises from 70 to 90 and contribution profit per visitor rises 25.9%, from 1.68 to 2.12. The fewer orders were worth more.

Here is the readout shape to use for every test. These numbers are an illustration of the format, in your store's currency. They are not a benchmark and not a client result. Your figures will differ.

Metric Control Variant Delta Interpretation
Sessions 50,000 50,000 0 Equal exposure
Orders 2,500 2,350 -6.0% Conversion fell
Conversion rate 5.0% 4.7% -0.3 pts Expected for a higher AOV test
Net revenue 175,000 211,500 +20.9% AOV moved up
AOV 70 90 +28.6% Higher bundle or order mix
Variable costs 91,000 105,750 +16.2% Costs rose less than revenue
Contribution profit 84,000 105,750 +25.9% Variant wins economically
Contribution profit per visitor 1.68 2.12 +25.9% Primary decision metric

Illustration only, from the profit per visitor framework. The exact numbers will differ by brand. Contribution profit per visitor is 2.115 before rounding, so it rises by the same 25.9% as contribution profit.

Read it top to bottom. Conversion fell, so a conversion-only dashboard calls this a loser. Revenue rose 20.9%, so a revenue dashboard calls it a winner. Only the last line tells you how big the win is after costs.

And the readout shows the trade-off in plain view. That is the point of the shape. You are not arguing from one number. You are showing the cost of the win next to the win.

Red calculator and banknotes on a white desk, representing a profit calculation

So what do you do with a result like that? That is where the media team gets interested.

What Is the CAC Tolerance Gate?

A test result becomes a bidding rule.

The CAC tolerance gate converts a test win into media headroom. Subtract control contribution per visitor from variant contribution per visitor to get incremental contribution. Add that to control allowable CAC. In the illustration above, 2.12 minus 1.68 gives 0.44 more allowable spend per visitor.

Here is the two-line formula.

Variant contribution per visitor
- Control contribution per visitor
= Incremental contribution per visitor

Control allowable CAC per visitor
+ Incremental contribution per visitor
= New allowable CAC per visitor

A worked example. Take the illustrative readout, where incremental contribution is 2.12 minus 1.68, or 0.44 per visitor. Say your media team's control allowable CAC is 1.20 per visitor. That 1.20 is an assumption for the example. The new allowable CAC is 1.64.

The media team now has two choices. Keep CAC flat and bank the extra 0.44 of profit on every visitor. Or spend up to 0.44 more per visitor and hold contribution flat, buying more volume.

That is why AOV and margin tests matter even when conversion dips. The gate turns a lift on the page into a decision on spend.

One caution. Confirm the lift holds for cold paid traffic before you move acquisition targets. A win that came mostly from returning customers will not carry the same way on a new audience. Read it by segment first.

Is Every AOV Lift Actually Healthy?

No. Some are bought.

An AOV lift is healthy only when contribution rises with it. WebMedic's profit per visitor model sorts lifts into six sources: higher price, more units, bundles, add-ons, free-shipping thresholds and subscription defaults. Each has a healthy case and a red flag, and a 28.6% AOV jump can hide any of them.

AOV is powerful because the ad cost and much of the shipping work are already paid once the buyer is in the cart. But a bigger basket is not automatically a better one. Classify the lift before you call it a win.

AOV lift source Usually healthy when Red flag
Higher price Conversion loss is smaller than added margin Paid traffic volume collapses or refunds rise
More units of the same product Incremental unit margin exceeds added discount, shipping and pick-pack cost The second unit sells only because the discount is too deep
Higher-value bundle Product mix has equal or better contribution margin The bundle pushes buyers into low-margin SKUs
Cart add-ons Add-ons are relevant, low-education and profitable Checkout completion falls more than add-on margin rises
Free-shipping threshold Customers add profitable products close to the gap Shipping subsidy grows faster than order contribution
Subscription default Cohort contribution improves after renewal data arrives Day-zero AOV falls and churn cancels the LTV claim

Source: WebMedic's profit per visitor model.

Notice the pattern. Every red flag is a cost line from the ledger moving the wrong way. That is why the ledger comes first.

Neat stack of taped cardboard boxes on a wooden shelf against a white brick wall

Which Decision Rules Apply When Metrics Conflict?

Write the rules before the test.

Nine rules cover conflicting results. The two that carry the most weight: conversion up with contribution per visitor down is a loss, and conversion down with contribution per visitor up is a win if the lift holds in the primary segment. Settle all nine in advance, so no one argues after the numbers land.

Agree these before launch. Rules written after the result are opinions.

When this happens Call it this
Conversion up, contribution per visitor down Lose, unless the test unlocks measurable LTV that more than offsets the loss
Conversion down, contribution per visitor up Win, if the lift holds in the primary segment and brings no unacceptable acquisition or brand risk
AOV up, margin per order down Calculate whether the larger order still produces more contribution after shipping, discounts, gifts and returns
Revenue per visitor up, contribution per visitor flat Tie. Pick the version that is easier to run or improve
Subscription uptake up, AOV down Hold the readout open until the first meaningful renewal window, then judge cohort contribution
New and returning customers differ Personalize rather than average the insight away, when traffic allows
A page wins overall but loses for the traffic it was built for Do not roll out globally. Use the intended segment as the decision segment
Conversion and contribution both rise, but returns, tickets or cancellations worsen Hold rollout until the operating cost is in contribution
A prettier page ties the control Roll out only if it is easier to improve or maintain, and record that reason

Source: WebMedic's profit per visitor model.

For the statistics side, meaning when a result is real and not noise, read our A/B test winner decision matrix. This post assumes the result is real and asks what it is worth.

Which Six Metrics Can You Never Decide From Alone?

Six numbers look like answers and aren't.

  • Conversion rate without AOV and margin.
  • Revenue per visitor without discounts, gifts, shipping and COGS.
  • AOV without units per order and product mix.
  • Subscription signups without renewal and cancellation data.
  • Cart attach rate without checkout completion.
  • New homepage revenue without a new versus returning split.

Each one is a diagnostic. Each one is fine as a clue, and each one fails as a verdict.

What Data Must You Export by Variant Before You Start?

Twelve fields, split by variant.

Before launch, confirm you can export twelve fields by variant: sessions, orders, units, net revenue, discount amount, product COGS, shipping collected, shipping paid, fulfillment cost, returns or a reserve assumption, subscription status, and traffic source with customer status. If daily cost data is missing, launch with a documented cost model.

If you cannot export these, you cannot build the ledger, and you will fall back on the testing tool's revenue number. That is how the opening scenario happens.

# Field Why you need it
1 Sessions or visitors Denominator for every per-visitor metric
2 Orders Conversion rate, AOV
3 Units Units per order
4 Net revenue after discounts Start of the ledger
5 Discount amount Shows when AOV was bought
6 Product-level COGS or gross margin Mix shifts change true margin
7 Shipping revenue collected Threshold tests move it
8 Shipping cost paid Heavier orders can erase margin
9 Fulfillment cost More units raise pick and pack
10 Returns, refunds or a reserve assumption Guarantees and mix change returns
11 Subscription status Needed for renewal-based reads
12 Traffic source and customer status Cold paid versus returning splits

Source: WebMedic's profit per visitor model.

If the full ledger is not available daily, launch with a documented cost model and reconcile after the test closes. A written assumption beats a blank column.

Segment only after the overall test is readable. Then check cold paid traffic against returning customers, mobile against desktop and new visitors against existing ones. A strong split becomes your next test.

Which Malaysia and Singapore Costs Break the Ledger?

Three costs hide in plain sight.

Cash on delivery handling, cross-border shipping and apparel returns are the three costs that most often break a Malaysia or Singapore ledger. Each one sits on a line the testing tool never sees: payment fees, shipping subsidy, return reserve and variable support cost. Price all three per order before you launch a test.

We do not publish a cost figure for these, because they differ by courier, product and store. Pull the numbers from your own invoices. What matters is where each one lands.

  • Cash on delivery handling. COD orders carry collection, remittance and failed-delivery costs that card orders do not. If a test shifts the share of COD orders, it shifts contribution. Add a COD handling cost per order to the payment fee line, and track COD share by variant.
  • Cross-border shipping. A Malaysian store that ships into Singapore, or the other way round, pays a different rate and may carry duties. A free-shipping threshold test that lifts Singapore orders can raise the shipping subsidy line faster than order contribution. Shopify's market-level profit report is built for this kind of split: it groups product charges, shipping, duties and import taxes by market.
  • Apparel returns. Fashion returns are a fit problem as much as a quality one. A bundle test that sells two sizes "to be safe" lifts AOV and also lifts the return reserve. Set the reserve from your own return history by SKU, not from a guess.

Here is the move for your first ledger. Build it for your best-selling product and your most common order type. Then widen. A rough ledger you use beats a perfect one you never finish.

Running a Malaysian store? See WebMedic's Shopify Malaysia service. And once the ledger exists, the CRO operating cadence shows how to turn it into a monthly testing rhythm, while our ecommerce conversion optimization guide covers what to test first.

Frequently Asked Questions

What is profit per visitor?

Profit per visitor, more precisely contribution profit per visitor, is net revenue minus all variable costs, divided by sessions. It differs from revenue per visitor because it subtracts discounts, COGS, shipping, fulfillment, fees and refunds. In the illustrative readout, a variant moved it from 1.68 to 2.12 per visitor.

Can an A/B test win with a lower conversion rate?

Yes. If contribution profit per visitor rises, a lower conversion rate can still win. In the illustrative readout, conversion fell from 5.0% to 4.7% while AOV rose from 70 to 90 and contribution per visitor rose 25.9%. Confirm the lift holds in your primary segment before you scale it.

What is the difference between revenue per visitor and profit per visitor?

Revenue per visitor is net revenue divided by sessions. Profit per visitor subtracts ten variable cost lines first. Two variants can tie on revenue per visitor and differ widely on profit if one used deeper discounts or free gifts. In that case, contribution per visitor breaks the tie.

How do you calculate new allowable CAC after a test?

Subtract control contribution per visitor from variant contribution per visitor. Add the result to control allowable CAC per visitor. With 0.44 incremental contribution and an assumed 1.20 allowable CAC, the new allowable CAC is 1.64. Check the lift on cold paid traffic first.

Is profit per visitor the same as contribution margin?

No. Contribution margin is an accounting formula for a product or business. Profit per visitor applies the same arithmetic per session, between a control and a variant, to call an A/B test. It uses ten variable cost lines and divides by sessions, not by units or revenue.

Keep Reading

Share this article

#profit per visitor #contribution profit per visitor #revenue per visitor #CAC tolerance #a/b test readout #conversion rate optimization

Ready to grow?

Find out exactly where your store is leaking revenue.

Answer a quick set of multiple-choice questions and we'll pinpoint your biggest revenue leaks — and whether we can help plug them.

Find Your Revenue Leaks

Free · No obligation · 2 minutes

Faisal Hourani

Faisal Hourani

Founder & eCommerce Growth Strategist

19 years building for the web, 9+ focused on ecommerce. Faisal founded WebMedic in 2016 to help DTC brands fix the conversion problems that hold them back. He has worked with brands across Malaysia and Singapore — from first-store launches to 8-figure scaling.

Ready to Boost Your Conversion Rates?

Book a quick strategy call. We'll analyze your store, identify your biggest revenue leaks, and show you exactly how we can plug them.

Book Your Strategy Call

Score your store

Find Your Revenue Leaks