Product Bundling Strategy: Affinity Analysis to Lift UPT

Curated flat-lay product bundle illustrating affinity-driven product bundling strategy for e-commerce brands

Average order value (AOV) gets most of the executive attention, but its underappreciated cousin — units per transaction (UPT) — is often the faster lever to pull for margin expansion. A rigorous product bundling strategy built on affinity analysis lets you amortize fixed acquisition costs, spread shipping economics across more SKUs, and generate richer first-party data for future personalization. According to McKinsey, effective cross-sell and bundle programs can generate a 10–30% revenue lift for retailers who systematically use transaction data to identify affinities [McKinsey Digital, 2023]. Yet most DTC brands still bundle on gut feel: the founder’s favorite hero product paired with whatever the merchandising team pushed last quarter.

This guide walks through a rigorous, data-driven approach to product bundling using affinity analysis (also called market basket analysis). You’ll learn the three statistical measures that separate real product affinities from coincidence, how to prepare your order data, which tools to use at different maturity stages, and how to convert insights into merchandising actions that reliably lift UPT and AOV.

Key Takeaways

  • UPT is a high-leverage KPI because incremental units carry near-zero CAC and fractional fulfillment cost.
  • Affinity analysis (support, confidence, and especially lift) turns raw order data into actionable bundle candidates.
  • Match bundle format to affinity strength: fixed kits for high-lift, FBT widgets for medium, BYOB for category-level affinity.
  • Price bundles based on cannibalization economics, not habit. Don’t give away margin on transactions that would happen anyway.
  • Measure contribution margin per session, not UPT alone. Bundle programs can lift UPT while destroying profit.
  • Refresh your affinity analysis quarterly and segment by customer cohort for the highest impact.

Why Units Per Transaction Deserves a Dedicated Strategy

UPT deserves executive attention because incremental units carry zero incremental customer acquisition cost, fractional fulfillment cost, and signal higher lifetime value. Every 0.1 UPT increase on a $10M brand with a $65 AOV translates into roughly $600K–$900K in incremental revenue without any additional ad spend. That makes bundling one of the highest-ROI merchandising investments available.

Shopify’s benchmark data shows the median DTC store sits between 1.3 and 1.7 units per transaction, with top-quartile brands consistently above 2.2 [Shopify, 2024]. That gap is worth millions at scale.

What makes incremental units so profitable?

The economics are compelling because incremental units carry a distinct P&L profile:

  • Zero incremental CAC. The customer already converted. HubSpot reports it costs 5–7x more to acquire a new customer than to expand an existing basket [HubSpot, 2024].
  • Fractional fulfillment cost. Pick, pack, and shipping don’t scale linearly with SKU count in most 3PL contracts.
  • Higher LTV signal. Klaviyo’s benchmark research shows multi-item first purchasers have a 21% higher 90-day repeat rate than single-item buyers [Klaviyo Blog, 2024].

Why is bundling the most reliable UPT lever?

Bundling removes the cognitive load of composing a good multi-product order. Instead of the customer needing to browse, compare, and self-curate, you present a pre-validated combination. But which combinations? That’s where affinity analysis earns its keep. For a broader view of where UPT sits among the metrics that matter, see our breakdown of E-Commerce KPIs by Business Stage: Startup to Mature Benchmarks.

What Is Affinity Analysis?

Overhead view of shopping basket filled with assorted consumer products for market basket analysis
Every multi-item basket is a data point that can reveal a hidden product affinity worth bundling.

Affinity analysis (also called market basket analysis or association rule mining) is a data mining technique that surfaces which products co-occur in transactions. The output is a set of association rules in the form {Product A} → {Product B}, meaning “customers who bought A also bought B,” scored by three statistical measures.

The methodology was popularized by retailers like Walmart in the 1990s. The classic — possibly apocryphal — example is the “beer and diapers” correlation surfaced through basket analysis. Regardless of its truth, the methodology is battle-tested and directly applicable to e-commerce order data.

Why isn’t raw co-occurrence enough?

Two best-sellers will appear together frequently simply because they’re popular, not because they have any meaningful affinity. To surface actionable patterns, you need three metrics that adjust for popularity bias and randomness.

What are support, confidence, and lift?

  1. Support — the percentage of all transactions containing both products. Support({A, B}) = transactions with A and B / total transactions. This tells you how common the pattern is. Low support (e.g., <0.5%) means the rule may be statistically noisy or commercially trivial.
  2. Confidence — the conditional probability that B is bought given A was bought. Confidence(A → B) = Support({A, B}) / Support({A}). A confidence of 0.40 means 40% of customers who buy A also buy B in the same transaction.
  3. Lift — the ratio of observed co-occurrence to what you’d expect if the two products were purchased independently. Lift(A → B) = Confidence(A → B) / Support({B}). Lift > 1 indicates a positive association; lift = 1 indicates independence; lift < 1 indicates products cannibalize each other.

Which metric matters most for bundling decisions?

Lift is the metric that separates real affinity from popularity bias. A rule with high confidence but a lift near 1.0 just means B is a bestseller — bundling it with A won’t change behavior. A rule with lift of 3.5, on the other hand, suggests customers are 3.5x more likely to buy B when they buy A than random chance would predict. That’s a bundle candidate.

Preparing Your Transaction Data

Before you touch any algorithm, invest in data hygiene. Most bundling projects fail because the underlying dataset is dirty. Semrush’s e-commerce analytics teams note that data preparation typically consumes 60–70% of any merchandising analytics project [Semrush Blog, 2024].

What data fields do you need?

  • Order ID (the transaction key)
  • Product SKU and parent product ID (bundle at the product level, not variant level, unless size/color affinities matter)
  • Line-item quantity
  • Order date (for seasonal segmentation)
  • Customer ID (optional, but enables new vs. returning segmentation)
  • Discount code (to filter promo-driven co-purchases that won’t repeat organically)

How should you clean the data?

  • Exclude single-item orders. They contribute nothing to association mining and inflate your denominator.
  • Filter promotional baskets. Orders with sitewide discounts or BOGO codes reflect promo behavior, not natural affinity. Analyze them separately.
  • Deduplicate SKUs within an order. Focus on presence/absence unless quantity affinities matter (e.g., replenishables).
  • Use a rolling 6–12 month window. Long enough for statistical significance, short enough to reflect current assortment.
  • Remove test orders, employee purchases, and canceled/refunded lines.

Tools for Running Affinity Analysis

The right tool depends on catalog size and revenue stage. Under $2M you can run affinity analysis in spreadsheets or BI. Between $2M and $20M, Python or R libraries handle it in minutes. Above $20M, run it warehouse-native in Snowflake, BigQuery, or Databricks.

Stage 1: Under $2M Revenue — Spreadsheet + BI

You can absolutely run affinity analysis in Google Sheets or Excel for catalogs under ~200 SKUs. Export orders as a CSV, pivot by order ID x SKU, and calculate support/confidence/lift with formulas. Shopify’s own analytics team publishes templates for this workflow [Shopify, 2024]. It’s tedious but educational — you internalize what the numbers mean.

Stage 2: $2M–$20M — Python or R

Once your catalog exceeds ~200 SKUs, use the Apriori or FP-Growth algorithm in Python (via the mlxtend library) or R (via arules). Both run on a laptop against a year of orders in minutes. Set a minimum support threshold (0.5% is a reasonable starting point) and minimum lift of 1.5 to filter noise.

Stage 3: $20M+ — Warehouse-Native Analytics

At scale, run market basket analysis directly in Snowflake, BigQuery, or Databricks against your data warehouse. Modern CDPs and reverse ETL pipelines make it straightforward to push affinity scores back into Klaviyo, Shopify, or your on-site personalization tool — a topic we cover in depth in CDP vs Reverse ETL: Best Architecture for $10M DTC Brands. Gartner projects that by 2026, over 60% of mid-market retailers will run product recommendation logic natively in their cloud data warehouse rather than in bolt-on SaaS tools [Gartner, 2024].

From Association Rules to Bundle Types

Illustration of five product bundle format types shown as grouped geometric shapes and icons
Match bundle format to affinity strength — fixed kits, FBT widgets, BYOB, thresholds, and post-purchase upsells each serve different intent.

Once you have a ranked list of high-lift rules, translate them into merchandising formats. The five most effective bundle types are fixed-price kits, frequently-bought-together widgets, build-your-own-bundle, threshold-triggered add-ons, and post-purchase one-click upsells. Match format to affinity strength and customer intent.

1. Fixed-Price Kits

Best for high-confidence, high-lift pairs that solve a complete use case (e.g., camera + memory card + case). Package as a single SKU with a small discount (typically 8–15%) versus buying the components separately. BigCommerce merchants using fixed kits report an average AOV lift of 15–25% for buyers who purchase the kit versus the hero item alone [BigCommerce Blog, 2024].

2. “Frequently Bought Together” Widgets

Best for medium-lift rules where the affinity is real but the customer wants to feel they chose the pairing. Display 2–4 suggested add-ons on the PDP or in-cart. Amazon pioneered this format; Salesforce’s Shopping Index data shows PDPs with recommendation widgets convert 26% higher than those without [Salesforce, 2024].

3. Build-Your-Own-Bundle (BYOB)

Best when multiple SKUs within a category have moderate cross-affinity (skincare, supplements, apparel basics). Let customers choose N products from a curated pool at a tiered discount (e.g., pick 3 for 10% off, 5 for 20% off). Shopify Plus reports BYOB experiences generate up to 30% higher UPT than static bundles because they combine personalization with quantity incentives [Shopify Plus, 2023].

4. Threshold-Triggered Add-Ons

Best for low-support but high-lift accessories (e.g., a $12 cleaning cloth for a $180 pair of glasses). Trigger the offer when the cart hits a specific product or dollar threshold, and price the add-on below the psychological pain point ($15–$25 works well for most verticals).

5. Post-Purchase One-Click Upsells

Best for affinities that customers wouldn’t consider pre-purchase but appreciate once committed. Post-purchase upsell apps typically convert at 10–18% and add 5–12% to overall revenue with no risk to the primary checkout flow, per WooCommerce merchant benchmarks [WooCommerce, 2024].

Pricing the Bundle: The Discount Trap

The biggest mistake operators make is over-discounting bundles. If your affinity analysis shows a 3.5 lift between two products, customers are already inclined to buy them together. A 20% bundle discount just gives away margin on transactions that would have happened anyway.

How do you avoid margin destruction?

A more disciplined pricing framework:

  • Cannibalization test. Estimate what % of bundle buyers would have bought both items separately (use lift scores as a proxy). Discount only the incremental basket.
  • Anchor pricing. Show the sum-of-parts price with a strikethrough alongside the bundle price. Cialdini’s research on contrast effects, cited widely by MarketingProfs, shows visible anchors increase perceived value even at modest discounts [MarketingProfs, 2023].
  • Margin-weighted discount. If Product A has 70% gross margin and Product B has 40%, structure the discount to fall proportionally on A. Your blended margin holds up better.
  • Test discount elasticity. Run three price points (5%, 10%, 15% off) across matched traffic and measure not just conversion but blended margin per session.

This pricing discipline mirrors the philosophy behind our Profitable Black Friday Strategy: Non-Discount BFCM Playbook — always defend margin unless the discount is genuinely buying incremental behavior.

Merchandising and UX Best Practices

Bundle merchandising should appear at three decision points — PDP, cart drawer, and post-purchase — with a single hero image and outcome-oriented copy. Shopify UX research shows these three placements plus composed imagery outperform side-by-side thumbnails by 30–40% [Shopify, 2023].

Where should bundles appear on-site?

  1. PDP — below the buy box for the “still deciding” shopper. Include social proof (“1,200 customers bought this bundle”) if data supports it.
  2. Cart drawer — for the “ready to check out” shopper. Show 1–2 high-lift add-ons with one-click add.
  3. Post-purchase confirmation — for the committed buyer. Frame as “complete your kit.”

How should bundles be photographed?

Shopify’s UX research consistently finds that bundles displayed as a single hero image (all components composed together) convert 30–40% better than side-by-side product thumbnails [Shopify, 2023]. Invest in bundle-specific photography.

What copy converts best?

Use benefit-led copy, not feature lists. “Everything you need for your first 30 days” outperforms “Includes cleanser, toner, moisturizer.” Content Marketing Institute’s e-commerce copy research shows outcome-oriented bundle names lift conversion by 12–18% versus descriptive names [Content Marketing Institute, 2024].

Segmentation: Not All Customers Bundle the Same Way

Global affinity analysis is a great starting point, but the highest-performing bundle programs segment their rules by customer status, acquisition channel, season, and geography. Segmented recommendations typically outperform generic ones by 20%+ on click-to-purchase.

Consider running separate analyses for:

  • New vs. returning customers. First-time buyers often prefer starter kits; repeat buyers prefer replenishment bundles.
  • Channel of acquisition. Meta-acquired customers behave differently from organic search or email. Klaviyo’s segmentation benchmarks show channel-specific recommendations outperform generic ones by 22% in click-to-purchase [Klaviyo Blog, 2024].
  • Season/occasion. Gift-giving baskets look nothing like self-purchase baskets. Segment your Q4 data separately.
  • Geography. Regional preferences often surface unexpected affinities, especially for apparel and grocery categories.

Measurement: Proving the Bundle Program Works

Close-up of laptop dashboard displaying abstract e-commerce analytics visualizations for bundle testing
Contribution margin per session — not raw UPT — is the metric that proves a bundle program is actually working.

Bundles introduce measurement complexity because units sold within a bundle inflate UPT mechanically. To prove real impact, distinguish between the composition effect (mechanical UPT lift), incremental units (net-new demand), and margin impact (contribution margin per session). Only the last one matters at the P&L level.

  1. Composition effect — the mechanical UPT lift from bundling multiple units under one order. Real but not incremental.
  2. Incremental units — additional units the customer wouldn’t have bought otherwise. This is what you’re optimizing for.
  3. Margin impact — net-of-discount contribution margin per session. The only metric that matters at the P&L level.

How should you structure the test?

Use a holdout test: randomly show 90% of PDP traffic the bundle widget and 10% the control (no widget). Compare sessions on:

  • Conversion rate
  • UPT (bundle group should show higher; validate direction)
  • Revenue per session
  • Contribution margin per session (the deciding metric)

Run for at least two full purchase cycles to avoid seasonality bias. Econsultancy’s testing standards recommend a minimum of 95% statistical confidence and a minimum detectable effect defined in advance [Econsultancy, 2023].

Common Pitfalls and How to Avoid Them

The most common bundling mistakes are bundling around slow movers, ignoring return rates, failing to refresh the analysis, confusing correlation with causation, and over-automating recommendations. Each can silently drag down margin even as top-line UPT rises.

1. Bundling Around Slow Movers

Tempting but destructive. If a product has low velocity because customers don’t want it, bundling won’t change demand — it will just drag down attach rates of your winners. Never bundle a bestseller with dead inventory hoping the halo will lift it.

2. Ignoring Return Rates

Bundles often have higher return rates than single-item orders because customers sometimes want only one component. Digital Commerce 360 reports that apparel bundles can carry 35–50% higher return rates than standalone SKUs [Digital Commerce 360, 2024]. Model return-adjusted margin, not gross.

3. Not Refreshing the Analysis

Affinities shift as your assortment, marketing mix, and customer base evolve. Rerun the analysis quarterly at minimum. Ahrefs’ e-commerce research recommends monthly refreshes for brands with catalogs turning more than 20% annually [Ahrefs Blog, 2024].

4. Confusing Lift with Causation

High lift means correlation, not causation. Some affinities are driven by external factors (both products featured in the same influencer video last quarter). Sanity-check top rules with a merchandiser who knows the customer before hard-coding them into permanent bundles.

5. Over-Automating

Fully algorithmic recommendations can surface weird pairings that damage brand perception (luxury handbag + budget travel adapter). Keep humans in the loop for anything customer-facing. Forrester notes that hybrid human+algorithm recommendation systems outperform pure ML by 8–15% on customer satisfaction scores even when raw conversion is similar [Forrester Research, 2023].

A 30-60-90 Day Implementation Roadmap

A disciplined 90-day rollout starts with data preparation and initial analysis, moves through bundle SKU creation and A/B testing, and finishes with optimization and quarterly refresh cadence. Ninety days is enough to prove the mechanic on your top 10 products before scaling.

Days 1–30: Foundation

  • Export 12 months of clean transaction data
  • Run initial affinity analysis (Apriori in Python or a BI tool)
  • Identify top 20 rules by lift with support >0.5%
  • Interview merchandising and CX teams to sanity-check
  • Design first 3–5 bundle SKUs and pricing

Days 31–60: Launch

  • Build bundle SKUs in Shopify or your platform
  • Add PDP recommendation widget with A/B test structure
  • Update email flows (Klaviyo browse-abandon, post-purchase) with affinity-based recommendations
  • Train customer service on bundle positioning

Days 61–90: Optimize

  • Read A/B test results with focus on margin per session
  • Kill underperforming bundles ruthlessly
  • Layer segmentation (new vs. returning) into recommendation logic
  • Establish quarterly refresh cadence for affinity analysis

Bundling in the AI Era

The next frontier is dynamic, personalized bundles generated in real time based on individual browse history, past purchases, and even weather or location signals. eMarketer forecasts that AI-driven personalized bundling will influence 40% of DTC checkout experiences by 2026, up from roughly 12% today [eMarketer, 2024]. But the underlying math is still affinity analysis — the models just run continuously and personalize at the user level rather than the segment level.

The brands that win won’t be the ones with the fanciest models. They’ll be the ones with the cleanest transaction data, the clearest measurement discipline, and the merchandising judgment to know when to trust the algorithm and when to override it. Start with the fundamentals covered here, prove the mechanic on your top 10 products, and scale from evidence — not enthusiasm.

Frequently Asked Questions

What is a good UPT for a DTC brand?

Median DTC UPT sits between 1.3 and 1.7, with top-quartile brands consistently above 2.2 [Shopify, 2024]. Vertical matters — beauty and supplements naturally trend higher than furniture or single-purchase electronics. The right benchmark is your own trailing 12-month baseline; a 10–15% year-over-year lift from a bundle program is a strong result.

How much data do I need to run affinity analysis?

How much data do I need to run affinity analysis?

You need enough transactions to make support percentages meaningful. As a rule of thumb, 5,000+ multi-item orders in a 6–12 month window is a reasonable minimum. Below that, individual rules become statistically noisy and one anomaly can distort lift scores. If your volume is thin, aggregate SKUs to the category level for initial insights.

What’s the difference between confidence and lift?

Confidence tells you the conditional probability that a customer buys B given they bought A. Lift compares that probability to random chance. A rule can have high confidence purely because B is a bestseller — but only high lift proves a genuine, non-random association between the two products.

Should I discount every bundle?

No. If products have a genuine affinity (lift >2), customers are already inclined to buy them together, so a large discount just gives away margin. Use anchor pricing to display value without deep discounts, and reserve steeper discounts for lower-lift bundles that need a nudge to move.

How often should I refresh affinity analysis?

Quarterly at minimum, monthly if your catalog turns more than 20% annually or you launch frequent new products [Ahrefs Blog, 2024]. Also refresh after major campaigns, seasonal shifts, or assortment changes — customer behavior adapts quickly to what’s promoted and what’s in stock.

Do bundles hurt return rates?

They can. Apparel bundles specifically carry 35–50% higher return rates than standalone SKUs because customers sometimes only want one component [Digital Commerce 360, 2024]. Always model return-adjusted contribution margin rather than gross revenue when evaluating bundle performance.

Can I do affinity analysis without a data team?

Yes. For catalogs under 200 SKUs, Google Sheets or Excel with pivot tables can calculate support, confidence, and lift manually. Several Shopify apps also automate the analysis at the store level. A data team becomes valuable once you want segmented rules, warehouse-native pipelines, or real-time personalization.

References

McKinsey Digital (2023). Personalizing the customer experience: Driving differentiation in retail. https://www.mckinsey.com/industries/retail/our-insights

Shopify (2024). Ecommerce benchmarks: AOV, conversion and UPT by vertical. https://www.shopify.com/blog/ecommerce-benchmarks

HubSpot (2024). Customer Acquisition vs Retention Cost Statistics. https://blog.hubspot.com/service/customer-acquisition-study

Klaviyo Blog (2024). Repeat purchase benchmarks and segmentation lift. https://www.klaviyo.com/blog

Semrush Blog (2024). E-commerce analytics: Data preparation best practices. https://www.semrush.com/blog/

Gartner (2024). Predicts 2024: Retail Technology and the Composable Commerce Stack. https://www.gartner.com/en/documents

BigCommerce Blog (2024). Product bundling strategies that grow AOV. https://www.bigcommerce.com/blog/

Salesforce (2024). Shopping Index: Q4 Retail Benchmarks. https://www.salesforce.com/resources/research-reports/shopping-index/

Shopify Plus (2023). Build-your-own-bundle merchant benchmark data. https://www.shopify.com/plus/blog

WooCommerce (2024). Post-purchase upsell benchmarks. https://woocommerce.com/blog/

MarketingProfs (2023). Pricing psychology in e-commerce: Anchor effects and contrast pricing. https://www.marketingprofs.com/

Content Marketing Institute (2024). E-commerce product copy that converts. https://contentmarketinginstitute.com/

Econsultancy (2023). Statistical rigor in e-commerce A/B testing. https://econsultancy.com/

Digital Commerce 360 (2024). Return rate benchmarks by category and format. https://www.digitalcommerce360.com/

Ahrefs Blog (2024). Product recommendation refresh cadence for e-commerce. https://ahrefs.com/blog/

Forrester Research (2023). Hybrid human-AI recommendation systems in retail. https://www.forrester.com/research/

eMarketer (2024). AI personalization forecast for retail. https://www.emarketer.com/

How Lumus can help

Getting traffic but not enough sales?

We find where shoppers drop off and run structured tests to fix it, so the traffic you already pay for earns more.

Explore Conversion Rate Optimization →

Book a Free Consultation