Examples of Confounding Variables
Discover 8 key examples of confounding variables in A/B testing, social science, & e-commerce. Learn to detect & control them for reliable data.

You ran an A/B test. Variant B hit significance, the dashboard looked clean, and the team rolled it out. A week later, conversion rate slipped, support tickets went up, and nobody could explain why the “winner” stopped winning.
That's usually not a tooling problem. It's a confounding variable problem. A hidden factor changed who saw each experience, how they behaved, or what else was happening around the test. The variant gets the credit, but the lift came from something else.
This happens all the time in digital experimentation. Traffic mixes shift. A campaign lands mid-test. Logged-in users pile into one branch. A mobile-heavy audience sees a design built for desktop. If you don't catch that early, you end up shipping noise.
The idea isn't new. In UK health research, smoking studies after the Royal College of Physicians report Smoking and Health pushed researchers to control for third variables such as age, sex, and social class because confounding can make relationships look stronger, weaker, or even reversed, as summarised by LibreTexts on confounding variables/01:_Basics/1.05:_Confounding_Variables). The same logic applies on product teams. Different context, same failure mode.
If your work touches international acquisition, infrastructure can become part of that context too. Teams dealing with region-specific access issues often need operational fixes before they can trust the data, especially when testing from restricted markets. That's where Evoproxy solutions for China access become relevant.
Below are practical examples of confounding variables that show up in CRO, product analytics, and growth experiments, plus how to detect and control each one before it wastes a sprint.
1. Time of Day / Circadian Effects

Some tests don't have a design winner. They have a clock winner.
A pricing page shown to people at lunch behaves differently from the same page shown at night. B2B buyers browse during work hours, compare options, then return later with approval context. DTC shoppers often convert when they're off work and less distracted. If variant exposure isn't balanced by hour, the test result can drift without anyone noticing.
A UK e-commerce case study on holiday sales makes this concrete. Two checkout layouts split traffic evenly on Shopify. Layout B first appeared to win with a higher conversion rate, but the branch had been shown disproportionately to users browsing between 18:00 and 22:00, and it also drew more traffic from people with positive prior sentiment. After regression adjustment for time-of-day and prior purchase frequency, the layout effect dropped to statistical insignificance, as reported in the verified UK case study provided in your brief.
Bias
Time-of-day is a confounder when it affects both variant exposure and conversion likelihood. That happens more often than teams expect. Email sends, paid budget pacing, social spikes, and queueing in edge delivery can all create uneven hourly traffic.
One common mistake is looking only at aggregate significance. Aggregate numbers can hide the fact that one branch collected more high-intent evening sessions while the other absorbed lower-intent daytime browsing.
Practical rule: Don't trust a winning test until you've checked the hour-by-hour traffic mix.
Detection
Start with a simple breakdown by hour block. If one branch over-indexes in specific windows, especially around commute time, lunch, or late evening, you may be measuring schedule effects rather than UX effects.
Useful checks include:
- Hourly exposure balance: Compare how much traffic each branch received in the same hourly buckets.
- Hourly conversion pattern: Look for a variant that only “wins” in one narrow time window.
- Source overlap: Check whether your email or paid traffic landed more heavily in one branch during those hours.
Control
Run tests across complete weekly cycles, not partial windows. If weekday and weekend behaviour differs, a short test can freeze an accidental pattern into a fake result.
For business-critical experiments, stratify assignment by time block or at least review the hourly mix before calling a winner. In practice, this is one of the most useful examples of confounding variables because the fix is often operational, not mathematical. Better scheduling beats heroic post-hoc analysis.
2. Device Type and Screen Size

A button that feels obvious on an iPhone can look oversized and clumsy on a desktop. A long trust block that works on a laptop can bury the CTA on a smaller screen. Device mix changes user behaviour before your copy or layout even gets a chance.
This is why “the page won” is often the wrong conclusion. More accurately, the page won for one device group and lost for another, but the blended average hid the trade-off.
Bias
Device type becomes a confounder when one branch gets more mobile users, more tablet sessions, or more desktop traffic than the other. Screen size, viewport height, keyboard friction, touch precision, and browser chrome all influence how easily a person can complete the flow.
I've seen mobile-optimised checkout tweaks look brilliant in aggregate because one branch happened to pick up more smartphone traffic. Once segmented, the supposed lift disappeared on desktop and barely held on mobile.
A few situations create this quickly:
- Ad placement shifts: Paid platforms may send a burst of mobile traffic mid-test.
- Responsive breakpoints: A layout change may alter the page more dramatically on one screen range than another.
- Form friction: Autofill behaviour, password managers, and payment methods differ by device.
Detection
Pull separate reads for mobile, desktop, and tablet before making any product decision. Don't stop at conversion rate. Check bounce, scroll depth, form completion, and checkout abandonment if those events are available.
If a branch only wins on one device family, that isn't necessarily bad news. It may mean you've found an interaction effect worth turning into a targeted rollout rather than a universal release.
If the experience changes by breakpoint, analyse it like a different product surface.
Control
Balance traffic by device at assignment where possible. If your testing setup can't do that directly, monitor branch allocation by device and stop the readout if the mix drifts too far.
For high-impact pages, separate experiments often work better than one blended test. Mobile CTA spacing, checkout input design, and headline length are all sensitive to screen constraints. Teams working on mobile UX often also need a stronger technical baseline, so this guide to mobile site SEO and conversions is a useful companion for diagnosing what is design-related versus what is merely poor mobile execution.
3. Traffic Source and User Intent
A visitor from branded search doesn't arrive with the same mindset as someone from a cold paid social click. One is already looking for you. The other may barely know what category you're in.
That difference creates some of the messiest examples of confounding variables in growth work because source mix often shifts unnoticed. Spend gets reallocated. Email goes out. An affiliate partner features you. Suddenly the “winner” is just the branch that received more qualified intent.
Bias
Traffic source affects both user expectations and conversion propensity. Organic search traffic may want detail and clarity. Email traffic may need less persuasion because trust already exists. Paid social often needs stronger framing, proof, and friction reduction.
A hero section can therefore perform in opposite directions depending on source. A direct response headline may help paid search and hurt direct traffic. A longer explainer may support organic evaluation and drag down warm returning visitors who only need a CTA.
Detection
Review variant results by source channel before rollout. If source tags are messy, fix that before running more tests. Bad UTM hygiene turns diagnosis into guesswork.
Look for these patterns:
- Branch source imbalance: One variant received more direct, email, or branded traffic.
- Source-specific reversals: The losing version overall wins within one or two source groups.
- Campaign overlap: A media push changed the intent mix partway through the experiment.
Control
Randomise within the key traffic sources, not just across the total audience. If that isn't possible, at least hold major channel changes constant while the test runs.
This matters even more when acquisition teams move fast. A landing page test can't be interpreted cleanly if performance marketing changes ad creative and targeting halfway through. In those cases, freeze the variables you can and annotate the rest. Most false wins I've seen in landing page work come from source shifts, not from dramatic design breakthroughs.
4. Seasonal Factors and Marketing Calendar Events
Seasonality isn't background noise. In many tests, it is the story.
UK teams run into this constantly because buying patterns move with Bank Holidays, school breaks, weather swings, payday cycles, and retail moments. Yet generic explainers on confounding usually stay stuck on textbook examples and never tell growth teams how calendar timing distorts experiments.
Bias
If a variant runs through a demand spike, urgency rises even when nothing meaningful changed on the page. If a test overlaps with a demand dip, a strong variant can look weak. What you interpret as UX impact may just be timing.
The UK-specific angle matters here. Verified background in your brief notes that seasonality and policy timing are under-covered confounders in e-commerce and web experimentation, and that UK digital behaviour is strongly calendar-sensitive, with retail and labour data routinely adjusted for calendar effects, as summarised in the Wikipedia overview of confounding.
Detection
Start every experiment with a calendar check, not just a launch date. Mark Bank Holidays, promotional windows, pricing changes, shipping deadline periods, and any national events likely to shift intent or traffic quality.
Then compare trend lines rather than only end-state totals. A clean-looking overall lift can conceal a branch that merely rode the stronger part of the trading window.
Control
The practical fix is boring, which is why many teams skip it. Exclude volatile periods when possible. Block by weekday versus weekend. Record major events as covariates in your analysis notes.
A few rules are worth adopting:
- Avoid distorted windows: Don't launch a test into Black Friday week and pretend the result generalises to March.
- Use normal trading periods: Baseline tests belong in calmer windows.
- Document calendar context: If the test must run during a volatile period, note that constraint in the readout.
UK marketers should treat Bank Holidays and moving seasonal dates as possible confounders, not as harmless footnotes.
This is one of the most valuable examples of confounding variables for e-commerce teams because the treatment is planning discipline. Most of the damage happens before the first visitor even lands.
5. External Marketing and Messaging Changes
A product page rarely operates in isolation. While the test runs, email might spotlight the same offer. Paid ads may echo one CTA. Influencers may mention the exact feature your variant happens to emphasise. Then the experiment gets credit for persuasion that happened somewhere else.
That's how teams end up shipping pages that only worked inside a temporary message bubble.
Bias
External marketing becomes a confounder when campaign activity affects both who lands on the page and how ready they are to convert. A landing page doesn't just inherit traffic volume from campaigns. It inherits framing, trust, urgency, and expectation.
This is especially dangerous on coordinated launches. The page variant may align better with campaign copy by accident, so the branch looks stronger without actually being more persuasive in a neutral setting.
Detection
Before reading the result, review what else changed during the same window. Product marketers, CRM managers, paid media teams, affiliates, and PR all shape incoming intent.
A healthy experiment review should include a short operations log with:
- Campaign launches: Email sends, ad refreshes, influencer pushes, or PR coverage.
- Message alignment: Whether one branch matched campaign language more closely.
- Landing path changes: Navigation edits, audience exclusions, or new entry pages.
If your team already uses Otter A/B, keep experiment health monitoring in the workflow so branch allocation, anomalies, and implementation issues are visible before the post-test meeting.
Control
The best control is coordination. Put a lightweight freeze on major messaging changes while high-stakes tests run, or deliberately plan the experiment around campaign timing.
What doesn't work is pretending post-hoc explanation will save a poorly isolated test. Once campaign activity and variant exposure are tangled together, the clean causal read is gone. You can still learn from the pattern, but you shouldn't label it a universal page winner.
6. User Cohort Characteristics (New vs. Returning, Logged-In vs. Anonymous)
The same page means different things to different people. New visitors need orientation. Returning visitors may only need reassurance. Logged-in users already trust you more than anonymous users in many flows, and they often face less friction.
That makes cohort mix a frequent confounder in both growth and product experiments.
Bias
If one branch gets more returning customers, more logged-in users, or more high-familiarity visitors, it can outperform even when the experience itself isn't better. The issue isn't just conversion propensity. It's information need.
A trust-heavy page may help first-time visitors and do almost nothing for repeat purchasers. A stripped-down onboarding flow may work for new users but frustrate experienced users who want control and detail.
The UK relevance goes beyond simple segmentation. Verified context in your brief highlights immigration, ethnicity, and neighbourhood composition as under-discussed confounders in UK health and consumer research, where deprivation, ethnicity, and local area can be associated with both exposure and outcomes. It also notes that variables such as postcode or ethnicity may act as confounders, mediators, or proxies depending on the causal path, as discussed in this UK-focused public health analysis.
Detection
Break the readout into meaningful cohorts before deciding anything global. New versus returning is the obvious cut. Logged-in versus anonymous often matters just as much. For subscription products, trial stage or account maturity can be even more informative.
If you're running tests in Otter A/B, cohort review is easier when you define and inspect segments in the analysis workflow.
Control
Randomise within major cohorts when you can. If you can't, at least inspect the cohort balance before interpreting performance.
Be careful with adjustment, though. Not every demographic or behavioural variable should be tossed into a model automatically. Some variables sit on the causal path. Others act as rough proxies for trust, access, or device quality. Good analysts don't just “control for demographics”. They decide why a variable belongs in the model and what bias it may introduce if handled badly.
7. Browser Type, Technical Performance, and Network Conditions
Sometimes the confounder isn't behavioural at all. It's technical.
A variant with richer JavaScript, heavier media, or more client-side logic may perform well on fast machines and stable connections, then stumble on older iPhones, constrained Android devices, or patchy mobile networks. If the branch also happens to collect more high-performance sessions, the conversion data flatters the experience.
Bias
Browser engines render differently. Connection quality changes load speed. Device capability affects script execution, animation smoothness, and form responsiveness. These factors alter outcomes even when the visual design looks identical in Figma.
A common failure mode is the “fancier variant” trap. The updated experience feels more premium in internal review because the team is testing on office wifi and recent hardware. Real users on weaker setups get a slower, more brittle page.
Detection
Check the technical layer alongside the business metric. Break down outcomes by browser family, page speed, and major performance events if you collect them. Support tickets, rage clicks, and field errors often tell the story before conversion reports do.
Good diagnostics include:
- Browser-specific outcome checks: Safari, Chrome, Edge, and Firefox can behave differently with the same code.
- Performance deltas by branch: If one variant loads later or shifts layout more, that may be the actual treatment.
- Network and device quality signals: Low-end environments reveal fragility that internal QA misses.
A design test can quietly become a performance test if the implementation burden differs between branches.
Control
Keep implementation parity tight. If one branch needs heavier assets or more scripts, account for that before launch. Test on real devices and throttled connections, not just desktop simulators.
This is one of those examples of confounding variables that engineering teams catch earlier than marketers do. The best CRO programmes don't separate UX testing from front-end performance review. They treat them as one system.
8. Prior Exposure, Learning Effects, and Test Fatigue

Not every lift is durable. Some are just novelty.
Users react differently the first time they see a new layout, CTA, or onboarding pattern. Returning visitors learn where elements live, adapt to the flow, or get irritated if repeated exposure feels inconsistent. If you call a test too early, you may ship novelty instead of improvement.
Bias
Prior exposure becomes a confounder when familiarity affects both how users experience the branch and how likely they are to convert. Newness can create attention. Repetition can reduce it. In some cases, repeated switching between experiences creates frustration and suppresses engagement.
This gets worse when many tests run at once. People don't experience your experiments one at a time. They experience the total surface.
Detection
Read the trend over time, not just the final aggregate. If a branch surges early and then fades, that's a warning. Returning user behaviour often reveals whether the treatment has staying power.
Control logic matters too. If your team needs a refresher, Otter A/B's explanation of control groups is a useful baseline for keeping the comparison grounded.
Control
Run tests long enough to include repeat visits and behavioural settling. Keep users in consistent experiences where possible. Limit overlapping experiments on the same journey.
An operational checklist helps here:
- Watch early spikes carefully: Day-one excitement is not the same as durable lift.
- Track repeat-session behaviour: Returning users often expose fatigue first.
- Reduce experiment clutter: Too many simultaneous tests make interpretation harder and user experience worse.
Teams also underestimate infrastructure effects in repeated visits across regions. If international audiences experience inconsistent speed or access during test exposure, behavioural noise compounds. For teams optimising site responsiveness in another market, UpTime Web Hosting for faster Australian sites is a practical reminder that performance consistency matters to experiment quality, not just SEO.
Comparison of 8 Confounding Variables
| Item | 🔄 Implementation complexity | ⚡ Resource requirements | 📊 Expected outcomes | 💡 Ideal use cases | ⭐ Key advantages |
|---|---|---|---|---|---|
| Time of Day / Circadian Effects | Moderate, easy to measure but needs stratified assignment and longer windows | Low–Moderate, analytics/timezone handling; extend test duration | Variable, can bias conversions if unbalanced; controllable for better precision | E‑commerce, B2B scheduling, global-audience tests | Predictable patterns allow improved precision when controlled |
| Device Type and Screen Size | Moderate–High, requires responsive checks and device-specific variants | Moderate, analytics segmentation, design/dev work for variants | Divergent by device, mobile vs desktop can flip results | Mobile-first sites, checkout flows, responsive redesigns | Enables targeted UX wins and higher conversion lifts per device |
| Traffic Source and User Intent | High, needs strict UTM discipline and source stratification | Moderate, tracking setup, separate analyses per source | Source-driven, intent differences create large variance in outcomes | Landing page messaging, campaign-driven experiments | Identifies which channels respond best; improves ROI allocation |
| Seasonal Factors and Marketing Calendar Events | Moderate, predictable but often forces extended test timing | Low–Moderate, planning, calendar coordination, longer tests | Large periodic shifts, holidays/promos can inflate/deflate results | Holiday promotions, seasonal product messaging, forecast validation | Predictable windows let you run deliberate seasonal tests and improve forecasting |
| External Marketing and Messaging Changes | High, isolating cross-channel effects is complex and requires coordination | Moderate–High, UTM tracking, team coordination, campaign monitoring | Confounded, concurrent campaigns can falsely credit variants | Tests outside major campaigns or tightly coordinated campaign+test runs | When aligned, campaigns amplify learnings; improves interpretation if tracked |
| User Cohort Characteristics (New vs Returning, Logged-in vs Anonymous) | Moderate, requires user IDs and cohort stratification | Moderate, analytics integration and cohort tracking | Cohort-dependent, large conversion differences between segments | Personalisation, onboarding, retention and acquisition experiments | Enables targeted optimisation and reduces cohort-driven bias |
| Browser Type, Technical Performance, and Network Conditions | High, cross-browser/network validation and performance testing required | High, real-device labs, performance monitoring, engineering effort | Performance-sensitive, technical regressions can dominate results | JS/CSS-heavy pages, global audiences, low-bandwidth regions | Detects regressions early and improves UX consistency across segments |
| Prior Exposure, Learning Effects, and Test Fatigue | Moderate–High, needs time-series analysis and concurrent-test management | Moderate, longer durations, monitoring, coordination to limit overlap | Time-dependent, novelty bias causes early wins that may regress | Long-term UX changes, sites with many repeat visitors, test portfolios | Reveals unsustainable gains and promotes durable, long-term decisions |
From Confounded to Confident: Building a Robust Testing Culture
Many teams don't lose experiments because they lack ideas. They lose because they trust a result before they've ruled out the hidden variables around it.
That's the lesson behind confounding. A test result isn't only about the variant. It's also about who saw it, when they saw it, what device they used, which campaign sent them, what else changed that week, and whether they'd seen the journey before. If those factors aren't balanced or accounted for, significance can still point in the wrong direction.
The practical shift is cultural. Teams need to stop treating experimentation as a final dashboard read and start treating it as controlled decision-making. That means writing better test notes, checking allocation quality before launch, reviewing segment balance before analysis, and logging marketing or product changes that overlap with the window. It also means being willing to say, “We can't trust this result yet.”
The strongest programmes make this boring on purpose. They use repeatable operating habits. They annotate campaign launches. They inspect device and source splits. They avoid volatile calendar windows when possible. They segment before they celebrate. When the result is still strong after all of that, rollout decisions become much easier to defend.
There's also a more advanced habit worth adopting. Don't throw every available variable into a regression model and assume the job's done. Some variables are true confounders. Some are mediators. Some are proxies for deeper structural effects. In practice, blind adjustment can create a cleaner-looking report and a worse decision. Good analysts combine statistical controls with domain knowledge from marketing, product, engineering, and operations.
That's why examples of confounding variables matter so much in CRO. They train your team to ask the right question. Not “Did B beat A?” but “What else could have produced this apparent lift?” That single shift improves test quality more than any flashy experimentation ritual.
Use these eight patterns as a pre-read before launch and a post-test audit before rollout. If you consistently check time, device, source, seasonality, messaging, cohorts, technical conditions, and prior exposure, you'll discard more false positives and keep more of the wins that compound.
That's how teams move from confounded to confident. Not by running more tests blindly, but by trusting fewer results and learning more from each one.
Otter A/B helps teams run cleaner experiments without turning testing into an engineering project. If you want a lightweight way to launch variants fast, monitor significance, inspect segments, and tie test outcomes to real revenue metrics, Otter A/B is built for exactly that.
Ready to start testing?
Set up your first A/B test in under 5 minutes. No credit card required.