Shopify AR Testing: Measure ROI Before Full Rollout
Run a controlled Shopify AR pilot to measure incremental profit per visitor, set sample size, budget, and decision rules before rollout.
Shopify AR is worth rolling out only if it adds enough profit to cover its costs. Start with two to five products, randomly split eligible visitors between standard and AR-enabled pages, and compare purchases and profit - not just AR launches.
A conversion increase from 2.0% to 2.2% can require about 81,000 visitors per group. Set the sample, test dates, and spending cap before launch. Too little data means an inconclusive result, not proof that AR works.
The pilot should cover four steps:
- Check fit: Confirm product margins, traffic, device support, and merchant approval.
- Set up a fair test: Keep products, prices, and page content the same apart from AR. Count everyone assigned, even those who never open it.
- Measure the money: Link assignments to orders, account for refunds and returns, and subtract each cost once.
- Make the call: Roll out, retest, or stop based on profit estimates, uncertainty, and agreed safety limits.
The final merchant scorecard should show what changed, what it cost, and whether the results support more spending.
Shopify AR Testing: From Pilot to ROI Decision
How to use Shopify Rollouts for A/B Testing - Tutorial

sbb-itb-61169e3
1. Design the AR Pilot and Control Group
Build the pilot around incremental profit, not AR engagement. Before launch, set a commercial target: a 10% relative lift in paid-order conversion, from 2.00% to 2.20%, with no drop in contribution per assigned visitor and no increase in return rate. Set guardrails for cancellations, refunds, and returns.
Define contribution as net sales minus product cost, payment fees, shipping subsidies, discounts, expected returns, and allocated AR implementation or media costs. Count each cost once.
Decide who qualifies before assigning visitors to groups: U.S. visitors viewing pilot SKU pages on supported devices and browsers. Exclude employees, bots, wholesale shoppers, prior experiment participants, and visitors from markets where the product cannot be shipped. Keep visitors in their assigned group even if AR fails to load.
Apply the same eligibility rules to both groups. The only difference between control and treatment should be the AR experience.
Compare Control and AR Experiences
Randomly assign each visitor at their first eligible product-page view, and keep that assignment fixed. This lets you isolate the experience’s effect on purchases and contribution. If treatment includes a 3D viewer and in-room placement, label it “3D plus AR.”
Comparing different products - even closely matched ones - gives weaker evidence of cause and effect. Demand, price, seasonality, and purchase intent can differ between products.
| Element | Control | Treatment |
|---|---|---|
| Products | Same predefined pilot SKUs | Same predefined pilot SKUs |
| AR access | Standard product page; no AR option | Same page plus 3D plus AR |
| Traffic allocation | 50%, randomly assigned | 50%, randomly assigned |
| Primary outcome | Paid-order conversion per eligible assigned visitor | Paid-order conversion per eligible assigned visitor |
| Held constant | Pricing, discounts, inventory access, shipping estimates, copy, images, reviews, checkout, layout, and acquisition targeting | Same conditions |
Define Visitor Assignment and Purchase Attribution
Log four separate events: assignment (the visitor’s group), AR availability (feature loaded), entry-point exposure (button seen), and AR launch (experience opened).
Analyze all eligible assigned visitors - not just those who launch AR. Calculate conversion by dividing the number of distinct assigned visitors with a qualifying paid order by all eligible assigned visitors. Count each buyer once, and document exclusions for test, fraudulent, unpaid, and canceled orders.
Choose a fixed attribution window, such as seven days after first assignment. Preserve the original group across repeat sessions with a first-party experiment ID, customer account ID, or consented browser identifier.
If a shopper is assigned on mobile and buys on desktop, count the order only when the platforms can reliably link those sessions. Otherwise, flag that limitation.
For a product-specific claim, use orders containing a pilot SKU as the primary measure and all-store orders as the secondary measure. Don’t switch after seeing the results. Shopify reports session-based conversion, so give this visitor-based metric a separate name.[1][2]
With assignment and attribution fixed, set the sample size, test length, and budget.
2. Set Sample Size, Test Length, and Budget
Once assignment and attribution are fixed, get written merchant approval for the pilot plan. Record the required visitors per group, planned dates, maximum test window, total dollar cap, data owner, and who can pause the test. Agree upfront: running out of time or money can leave the result inconclusive. It does not settle whether AR works.
Calculate the Required Sample and Test Length
Base the sample size on one primary purchase metric, the baseline rate, minimum detectable effect (MDE), significance level, and statistical power.
A move from 2.0% to 2.2% needs about 81,000 independent visitors per variant at 5% significance and 80% power, or about 156,000–162,000 eligible visitors total.[3][5][6]
This sample size helps you assess whether AR changes purchases enough to justify rollout. A purchase-conversion sample does not automatically support profit claims.[8]
To estimate test length, divide the required sample per variant by daily eligible visitors per variant, then round up to full weeks. Run at least two full weekly cycles and allow the final attribution window to close. Use comparable historical traffic - not total site visits or a best-day forecast.
Avoid unusual promotions and inventory disruptions. If traffic cannot support the plan, revise it before launch. Do not stop a fixed-horizon test early just because conversion looks favorable.[3][4]
Set the Spending Cap and Safety Rules
Once the test size is fixed, lock the spending cap and failure rules. Build the cap using vendor quotes and internal labor rates. Include 3D modeling or capture, asset preparation, Shopify implementation, device and browser QA, testing tools, analytics setup, agency labor, recurring pilot fees, and contingency.
Within that cap, reserve money for reporting, order reconciliation, and returns follow-up. Set a maximum calendar window and require written approval for added spending. Do not extend the budget or deadline to chase a favorable result.
Set technical pause thresholds for broken checkout or product pages, incorrect prices, tracking failures, and materially slower page loads. Name who can approve a pause, and document each incident separately from ROI results. Check safety daily, but keep purchase analysis on its planned schedule.
If the spending cap or deadline comes first, stop paid work. Unless the merchant approves a revised plan, report the estimate and confidence interval and label the result inconclusive.[3][7]
3. Track Purchases and Measure Incremental ROI
Build and Check the Tracking Plan
With the pilot rules set, build the dataset you’ll use to measure profit.
Shopify Analytics does not automatically link AR activity to variant assignment. Log each assignment before exposure using a stable experiment ID. Then join orders to assignments through a customer ID, checkout ID, order token, or privacy-compliant session key. Leave orders you can’t link unattributed.[11][12]
| Metric | Source | Denominator | Attribution window | Decision use |
|---|---|---|---|---|
| Variant assignment | Experiment platform or first-party assignment log | All eligible assigned visitors | At first eligible view | Confirm treatment/control allocation |
| Exposure: product views, AR availability, AR launches | Storefront events, capability checks, and AR viewer logs | Eligible assigned visitors; eligible product views for availability and launches | Same page view or session | Separate feature availability from use |
| Paid orders | Shopify orders joined to assignments | Eligible assigned visitors | A predefined window, such as 7 or 14 days | Measure the primary conversion outcome |
| Net revenue | Shopify order and refund records | Eligible assigned visitors | Same purchase window plus refund lookback | Measure revenue after discounts and refunds |
| Contribution | Order economics and variable-cost data | Eligible assigned visitors | Same as net revenue | Calculate incremental profit |
Track these metrics daily during the test. Report revenue and contribution weekly, then again after the refund window closes.
Before launch, place test orders in both variants. Check that the report records assignments, SKUs, discounts, refunds, and cancellations correctly. Exclude internal users, QA sessions, bots, duplicate orders, canceled orders, test payments, and ineligible traffic.
Each day, check group balance, missing IDs and timestamps, unsupported-device rates, and consent-denied traffic. Use Shopify’s Customer Privacy API where applicable, and report both the measurable population and the missing-data rate.[9][10][11]
Report Purchase and Contribution Results
Use eligible assigned visitors as the denominator for each variant’s paid-order conversion, net revenue per visitor, and contribution per visitor. Calculate paid-order conversion as distinct qualifying buyers ÷ eligible assigned visitors. Also report average order value: net revenue ÷ paid orders.
Keep every eligible assigned visitor in their original group - even if they never launch AR.
Set paid-order and cancellation rules before the test. Show gross results alongside refund-adjusted results after the agreed follow-up period. Report confidence intervals for conversion and contribution differences, along with unattributed orders and pending refunds.
Treat AR launches, carts, checkout starts, returns, support contacts, load time, and errors as diagnostics only. Small or post hoc segments must not override the primary analysis.
Use the same cleaned order data to turn measured lift into incremental profit.
Calculate ROI Without Counting Costs Twice
Contribution = net revenue − product, fulfillment, payment, and other agreed variable costs. Keep fixed agency fees and pilot implementation costs separate, then subtract them only once.
- Incremental orders = treatment orders − (treatment visitors × control orders per visitor)
- Incremental contribution before pilot costs = (treatment contribution per visitor − control contribution per visitor) × treatment visitors
- Pilot ROI = (incremental contribution before pilot costs − pilot cost) ÷ pilot cost
Report uncertainty alongside these point estimates; the estimates alone do not prove a positive effect.
4. Conclusion: Roll Out, Retest, or Stop
Apply the Agreed Decision Rules
Before making the call, check that the pilot followed the protocol: a limited product set, random assignment, the planned sample and duration, a spending cap, and clean purchase tracking. Judge the result by incremental contribution per assigned visitor - not AR engagement.
| Decision | Evidence required | Financial and technical guardrails | Next step |
|---|---|---|---|
| Roll out gradually | Incremental contribution clears the agreed threshold; its confidence interval meets the merchant’s minimum acceptable return; purchases reconcile with Shopify orders | Projected return covers rollout costs; returns, support contacts, page failures, latency, and accessibility stay within agreed limits (use a Shopify tech stack tool to monitor app conflicts) | Add a limited product group, keep a holdout where practical, and review weekly |
| Retest | The result is inconclusive, tracking is inadequate, or a specific fix could change the result | Identify a tracking, compatibility, or experience fix - or a feasible larger sample - and approve a new spending cap | Document the change, revise the hypothesis if needed, recalculate the sample and duration, and preregister the decision rule |
| Stop | Incremental economics are negative; returns, refunds, complaints, or support contacts breach guardrails; technical limits are breached; or the spending cap runs out without enough evidence | Stop regardless of engagement when incremental contribution is negative or technical defects undermine the experience | Remove or pause AR, document why, keep a record of lessons learned, and do not recommend rollout |
Assess pilot cost recovery separately from expansion. Report the pilot’s all-in result, then evaluate expansion using recurring and scaling costs. Don’t keep a weak pilot running to recover setup costs. Money already spent doesn’t justify spending more.
Once you’ve made the decision, package the results for the merchant.
Deliver the Merchant's Pilot Scorecard
Give the merchant a one-page scorecard with an evidence appendix for their pilot record. Include:
- Test setup: Baseline period and conversion, contribution margin, return rate, hypothesis, product scope, assignment method, planned and achieved sample, test dates, attribution window, and tracking limits.
- Results and costs: Purchase and contribution effects, confidence intervals, one-time and recurring costs, spending-cap status, and return caveats.
Classify the result as positive, negative, or inconclusive against the agreed threshold. Mark results as preliminary while returns that could affect the decision are still pending. Before expanding, get written merchant approval that includes the expansion budget and safeguards.
Make the scorecard a repeatable agency deliverable. Keep a holdout where practical, and sell the next step on this merchant’s validated economics - not AR launches or another merchant’s case study. Any rollout must meet the agreed threshold for both incremental purchases and return-adjusted economics.
FAQs
How should I choose products for an AR pilot?
Start with products where visualization can ease buying decisions or reduce return risk, such as high-ticket electronics, outdoor gear, or furniture. Keep the selection small and focused on your catalog’s main offerings. Skip items with low stock or high return rates.
Keep the pilot narrow enough to set a clear baseline. Track AR interactions, but measure ROI through purchases - not engagement alone.
Can I test AR with low store traffic?
Yes - but start with a small, 30-day pilot on one high-intent surface. If your store has low traffic, try simpler options, like manual bundles, before using personalization that relies heavily on shopper behavior.
Use GA4 to measure gains in purchase conversion rate and average order value (AOV), not just AR engagement. You’ll typically need about 1,000–5,000 sessions per placement for stable results. Allow more time if needed, especially to account for seasonality.
What if AR boosts sales but lowers profit?
If AR boosts sales but cuts profit, engagement alone isn’t proof of success. Put revenue per session and gains in average order value ahead of AR interactions.
Start with a small product pilot and a control group. Track attach rate, conversions from AR-driven clicks, and returns. Exclude SKUs that produce negative margins.
Run the test for 14–30 days, ideally 60–90 days to get a clearer read on lift. Validate your tracking in GA4 rather than relying only on AR dashboards.