Learn how to compare quote forms, define exposure and read conversion lift through one complete B2B A/B testing example.
A team at a B2B supplier wants to turn a three-step quote form into a single page. Fewer steps should mean more enquiries. It is a plausible idea—but buyers may find the longer page harder to use, and a technical fault could prevent some of them from submitting anything.
The team needs a way to compare the two experiences before rolling out the change. An A/B test can help: keep the existing form for one randomly selected group and give the new form to another, then compare a result agreed in advance.
This article follows that decision from the first assignment to the final review. The company, interface concepts and numbers are a constructed teaching example, not a customer experiment or a Statsig result.
1. Give A and B a clear job
In this example, buyers use a logged-in customer portal. Their company identities are reliable. Eligible companies are external accounts with permission to request a quote; predefined internal and test accounts are excluded. Version A is the existing three-step form; version B puts the same required information on one page. Eligibility, validation and the backend definition of a valid request stay the same.
On its first eligible portal visit, each company is randomly assigned to A or B, with a 50:50 allocation. All its employees retain that version. This avoids a buyer seeing one form while a colleague sees another. A company counts once; ten employees do not create ten independent companies. Other websites may need a different randomisation unit. [1]
Random assignment helps make the groups comparable on average. Running them at the same time also reduces the problem of comparing a quiet week with a busy one. It does not guarantee identical groups or remove every source of error.
Here is what the two experiences might look like:
Figure 1. Original portal concept: A shows step 2 of a three-step form; B puts the same required information on one page. This is a constructed interface, not a deployed product screenshot. Credit: mingmingcodes.
The team's hypothesis is specific: reducing navigation between steps will increase the proportion of companies submitting a valid quote request.
Before starting, it defines a valid request: a backend-recorded enquiry containing the required contact and project information, with duplicate requests removed. The primary outcome is whether a company submits at least one such request within 14 days of assignment. Two submissions still count as one company with a successful outcome.
Fourteen days is an illustrative window, not a B2B standard. The team also agrees its sample plan, analysis rule and tolerable technical regressions before seeing the results. Sales qualification will be reviewed separately over 28 days from assignment. A valid request is an earlier signal; it does not establish lead quality, an order or revenue.
2. Record the opportunity before recording success
Assignment happens at the portal entrance. Many companies will only check an order and leave. They have been assigned a form without opening it.
For the narrower form analysis, the team therefore records the first request to open the quote form, before loading either version. This is the common trigger: the same opportunity in A and B. The control group still reaches it, even though its members receive the old form. Microsoft's counterfactual-logging guidance explains why the corresponding opportunity must be identifiable in control. [1]
In this case, the assigned version changes nothing before that request: no different button, navigation or preloaded bundle. If B already slowed the portal or changed who clicked the entry point, the proposed trigger would need reconsideration.
The form may then load, fail or eventually be submitted. Logging only a successful render would lose loading failures. Logging only a submission would lose everyone who tried but did not finish. Use the same company ID to connect assignment, opening requests, readiness or failure, and valid submissions. The chance to encounter a change and the success of that encounter are different records. An event called “exposure” needs checking against the platform's actual definition. [3]
The following Microsoft figure is useful for seeing how analysis can select different records:
Figure 2. Microsoft Research's standard, triggered and complementary analyses. User A and User B identify two people, not the A/B test arms. Source: Microsoft Research. Microsoft Research.
Read it from top to bottom. Standard analysis includes all the displayed records. Triggered analysis keeps the triggered user's records from the first trigger onwards. The bottom panel shows the remaining records. Blue means included in that panel; black means excluded; a red line marks a trigger.
Our example applies this idea at company level. The broader analysis keeps every eligible assigned company. The narrower analysis keeps companies reaching the valid common trigger and counts qualifying submissions after that trigger, within the same 14-day assignment-based window. A complementary check can help reveal an earlier or missed route of influence; finding no anomaly does not prove that none exists. [2]
3. Follow the same companies through the numbers
At the planned analysis point, suppose 1,000 assigned companies have completed their windows. There are 500 in each arm. In each arm, 100 companies reached the common trigger and 400 did not.
The complete paths are shown below. For this simplified case, a company either submits a valid request, gets a usable form without a valid submission, or never gets a usable form during its window.
Figure 3. Constructed company-level data: each arm has 500 assigned companies and 100 reaching the trigger. Non-converters and companies with unusable forms remain in the intended denominators. Credit: mingmingcodes.
| Observed company outcome | A: three steps | B: one page |
|---|---|---|
| Assigned; complete 14-day window | 500 | 500 |
| Requested to open the form | 100 | 100 |
| Submitted at least one valid request | 20 | 30 |
| Usable form, no valid submission | 77 | 60 |
| Never obtained a usable form in the window | 3 | 10 |
Two comparisons now answer two different questions.
Across all assigned companies: A converts 20/500 = 4%; B converts 30/500 = 6%. The observed difference is +2 percentage points. This asks what happened when each version was made available to the eligible portal population. Analysing companies as assigned is the intention-to-treat approach, or ITT.
Among companies reaching the common trigger: A converts 20/100 = 20%; B converts 30/100 = 30%. The observed difference is +10 percentage points. This asks what happened among the companies reaching the form opportunity, under the trigger assumptions just described.
The second number has a narrower population behind it. It does not mean the entire portal improved by ten percentage points. Both comparisons happen to show a 50% relative increase here: (6 − 4)/4 and (30 − 20)/20. That is a property of these particular numbers, not a general conversion rule between analysis types.
There is also an important denominator trap. If the analyst keeps only companies whose form became usable, A becomes 20/97 ≈ 20.6% and B becomes 30/90 ≈ 33.3%. That comparison removes more failures from B. It no longer estimates the effect for the intended triggered population. Keep the three and ten affected companies in their respective triggered denominators.
4. More submissions are a signal, not a finished verdict
B has ten more submitting companies. A different random allocation could still have produced a different observed difference. We need to show that uncertainty alongside the estimate.
A confidence interval is one way to do this. It gives a range calculated by a method designed to cover the underlying difference at a stated rate over repeated studies, under its assumptions. It is not a forecast of where an individual buyer will convert.
Using a 95% Newcombe interval for the difference between two independent company-level proportions, the results are: [7], [8]
| Analysis | Observed B − A | 95% confidence interval |
|---|---|---|
| All assigned companies | +2.00 percentage points | −0.74 to +4.81 percentage points |
| Valid triggered companies | +10.00 percentage points | −2.02 to +21.67 percentage points |
Figure 4. B − A is +2 percentage points overall (95% CI: −0.74 to +4.81) and +10 in triggered companies (−2.02 to +21.67). Both intervals cross zero; the populations differ. Teaching example by mingmingcodes.
Both intervals cross zero. In this example, the data leave room for no improvement and for a worthwhile benefit; they do not yet support a firm positive conclusion using this interval criterion. Equally, the result does not establish that the redesign has no effect.
For orientation, this is how a real experimentation product displays metric differences and intervals:
Figure 5. Statsig's official Scorecard screenshot. Its metrics and figures come from the documentation, not this teaching case; statistical settings can differ. Source: Statsig's official results guide.
When reading a result screen, first identify the metric, included companies, observation window, comparison direction and uncertainty. A positive number or a coloured status cannot replace those definitions.
5. Return to the rollout decision
The review now has three findings to act on. B's submission estimate is encouraging, its uncertainty remains material, and ten triggered companies never obtained a usable form compared with three in A.
That last count is a reason to investigate delivery. It is not, on its own, proof that B caused a technical regression. Check reliable server and client records to distinguish real failure from missing telemetry. Do not remove the affected companies to make conversion look cleaner.
For this illustrative review, the recommendation is to hold the full rollout, investigate the readiness difference and complete the agreed lead-quality follow-up. The evidence has not established the business case for rollout. The actual decision also depends on implementation cost, risk and the minimum benefit agreed before the test.
If the implementation changes materially after a fix, treat that as a revised experiment rather than silently pooling the versions. If the implementation stays the same and collecting more observations remains worthwhile, follow the pre-agreed analysis rule; extending a test because a result was disappointing requires statistical care. A fixed-horizon interval should not become a “stop as soon as it looks good” rule.
The team has still learned something useful: where the apparent benefit occurs, which observations must remain visible, and what prevents a confident decision.
6. Why low traffic still matters
Focusing on the form opportunity can make a local effect easier to study. It also reduces the rate at which relevant companies enter the analysis. Selecting fewer companies does not automatically shorten a test. [3]
For a simple scheduling illustration, suppose a pre-experiment plan requires 1,000 eligible assigned companies and the portal gains 20 previously unassigned eligible companies a day across both arms. Enrolment takes about 50 days. The last company's 14-day outcome window then brings the primary readout to roughly 64 days, before any extra late-data allowance. The final 28-day sales-quality follow-up would mature later. This illustrates timing, not a claim that 1,000 companies provide sufficient power for our observed effect.
If planning around form-opening companies, use their daily entry rate as well as their required sample size. Dividing a smaller triggered sample requirement by all portal traffic would produce a misleadingly short estimate. Statsig Part 1 explains the sample-size-to-duration distinction. [4]
There are other choices: a larger worthwhile change, a metric closer to the intervention, or deciding that a formal A/B test is not worthwhile at current volume. Metric changes should be made before the experiment, with their business meaning kept explicit; Part 2 discusses that trade-off. [5] A quick click signal may support diagnosis while leaving the revenue question unanswered.
In this case, the useful chain is concrete: define the buyer problem, change the form, assign comparable groups, retain reliable records, estimate the difference and decide what to do next. That connection between a business question and inspectable evidence is what makes the example useful for growth engineering.
About the author
mingmingcodes (明码) writes about growth engineering, SEO and measurement, with a focus on turning business questions into evidence that teams can inspect.
---
B2B A/B 测试怎么做?用一个报价表单实验讲清楚
用同一个报价表单案例,走完整个分组、记录、计算与判断过程。
一家 B2B 供应商准备把三步报价表单改成单页。少点几次“下一步”,询盘应该会更多。这个想法很合理,但买家也可能觉得长页面更难填;一处技术故障,还可能让部分人根本提交不了。
团队需要在全面上线之前,比较新旧体验。A/B 测试可以帮助完成这件事:把符合条件的对象随机分成两组,一组继续用旧版,另一组使用新版,再比较事先约定的结果。
下面沿着这次决定,从分组一直走到结果审阅。企业、界面和数字均为自拟教学示例,不是真实客户实验,也不是 Statsig 的实验成绩。
一、先说清楚,A 和 B 到底在比较什么
这个案例发生在需要登录的客户门户中,公司身份可以可靠识别。符合条件的对象是具有报价权限的外部公司账户,内部与测试账户按事先定义排除。A 是原有三步表单,B 把相同的必填信息放到一页。申请资格、校验规则和后端“有效询盘”的定义保持一致。
公司首次符合条件访问门户时,以50:50随机分到 A 或 B;同一家公司的员工始终使用同一版本。这样可以避免两位同事看到不同表单。这里按公司计数,十位员工不会形成十家独立公司;其他网站可以根据实际情况选择不同的分组单位。[1]
随机分组有助于让两组在平均意义上可比;同期比较,也能减少淡季与旺季直接对比带来的困扰。它仍然需要可靠执行,不能保证两组恰好完全相同。
两个版本的体验,可以先这样理解:
团队要验证的假设是:减少步骤之间的跳转,会提高提交有效报价申请的公司比例。
“有效”也要在开测前定义:后端记录了询盘,包含必要的联系方式与项目需求,并去除了重复提交。主要观察结果是:公司分组后14天内,是否至少提交一次有效询盘。提交两次,仍只算一家成功提交的公司。
14天是示例,不是 B2B 的通用标准。团队还需要事先约定样本计划、分析规则及可以接受的技术退化程度,并在分组后28天内另行跟进销售合格线索。有效询盘是较早的信号,尚不能证明线索质量、成单或收入。
二、先记录获得机会,再记录是否成功
公司进入门户时就已分组,但其中很多公司只是查看订单,未必会打开报价表单。分到某个版本,不等于接触了这次改动。
为了研究表单附近的效果,团队还记录首次“请求打开报价表单”的时刻,而且记录发生在任一版本开始加载之前。这就是两组共同的触发条件:A 组虽然看到旧版,也会到达同一个机会。微软的反事实记录方法,解释了为什么对照组也要识别对应机会。[1]
本例假定,两个版本在此之前没有任何体验差异:入口按钮、导航和提前加载的资源都相同。如果 B 已经拖慢门户,或改变了谁会点开入口,就需要重新考虑这个触发位置。
随后,表单可能加载、失败或最终被提交。只在渲染成功时记录,会漏掉加载失败者;只在提交时记录,又会漏掉尝试后没有完成的人。同一个公司ID,应能串起分组、请求打开、就绪或失败,以及有效提交这些记录。获得接触改版的机会,与这次接触是否成功,需要分开记录。 软件把哪个事件称为“曝光”,也应核对其实际定义。[3]
微软研究团队的这张图,能帮助理解分析范围如何选择不同记录:
从上往下看:第一行把展示的记录都纳入分析;第二行只纳入发生过触发的用户,并从首次触发开始保留记录;第三行展示其余记录。浅蓝色表示纳入当前分析,黑色表示排除,红线表示触发发生。
本文把这个思路用在公司层面。较广的分析保留全部合格分组公司;较窄的分析保留达到共同触发的公司,计算首次触发之后、同一分组起算14天窗口内的有效提交。其余记录的检查可以帮助寻找遗漏或更早发生的影响;没有发现异常,也不能证明所有问题都已排除。[2]
三、沿着同一批公司,把数字算完整
假设到了预定分析时点,1,000家已分组公司都完成了观察窗口,A、B 各500家。每组都有100家请求打开表单,另外400家没有到达这个机会。
下面把这些公司的去向画完整。在这个简化示例中,触发后的公司分为三类:有效提交、表单可用但没有有效提交、窗口内始终未能获得可用表单。
| 观察到的公司结果 | A:三步表单 | B:单页表单 |
|---|---|---|
| 已分组,完成14天窗口 | 500 | 500 |
| 请求打开表单 | 100 | 100 |
| 至少一次有效提交 | 20 | 30 |
| 表单可用,没有有效提交 | 77 | 60 |
| 窗口内始终没有可用表单 | 3 | 10 |
现在可以进行两种比较,它们回答的问题不同。
按全部已分组公司比较:A 为20÷500=4%,B 为30÷500=6%,观察差异是 +2个百分点。它回答:向这个合格门户人群提供两个版本,结果有什么不同。保留对象原来的分组进行分析,就是意向治疗分析思路,常简称 ITT。
按达到共同触发的公司比较:A 为20÷100=20%,B 为30÷100=30%,观察差异是 +10个百分点。在前述触发条件成立时,它回答:到达表单接触机会的公司,两组表现有什么不同。
第二个数字对应更窄的人群,不能据此说整个门户提升了10个百分点。两个比较在本例中恰好都有50%的相对增幅,即(6-4)÷4和(30-20)÷20。这是这组数字的特点,不是两种分析之间的通用换算规则。
这里还有一个容易让结果变好看的陷阱。如果只保留获得可用表单的公司,A 会变成20÷97≈20.6%,B 则是30÷90≈33.3%。B 被删掉的失败公司更多了,这样已经无法估计原定触发人群的效果。那3家和10家受影响公司,都应该留在各自100家的触发分母里。
四、提交更多,是信号,还需要看不确定性
B 多了10家有效提交公司。换一次随机分组,观察差异仍可能变化,因此需要把不确定性一起展示。
置信区间就是一种表达方式:在方法假设成立、反复开展同类研究时,这种构造区间的方法会按设定比例覆盖实际差异。它不是对某个买家是否转化的预测。
用适合两组独立公司比例差的95% Newcombe置信区间计算,本例得到:[7]、[8]
| Analysis | Observed B − A | 95% confidence interval |
|---|---|---|
| All assigned companies | +2.00 percentage points | −0.74 to +4.81 percentage points |
| Valid triggered companies | +10.00 percentage points | −2.02 to +21.67 percentage points |
两个区间都跨过零。本例数据仍容得下“没有改善”和“有值得关注的收益”,按这一置信区间判断,尚不足以下肯定的正向结论。同样,也不能据此证明改版没有作用。
为了认识真实软件如何呈现差异与区间,可以对照 Statsig 官方文档中的结果界面:
阅读结果界面时,先确认指标、纳入哪些公司、观察窗口、比较方向及不确定性。一个正数或一种颜色,无法代替这些定义。
五、回到最初的问题:现在全面上线吗
到这里,团队有三项发现:B 的提交估计值得关注,不确定性仍然较大,且 B 有10家公司在窗口内始终没获得可用表单,A 为3家。
最后一个差异值得排查,但仅凭10与3还不能证明 B 导致了技术退化。应核对可靠的服务端和客户端记录,分清真实失败与日志缺失,并保留受影响公司的结果。
对于这次示意性审阅,建议是:暂缓全面上线,调查表单可用性差异,并完成约定的线索质量跟进。 现有证据尚未建立足够明确的上线理由。实际判断还要结合实施成本、风险与事先约定的收益门槛。
如果修复后实现发生实质变化,应作为修订后的实验处理,避免悄悄合并不同版本。如果实现不变、继续收集数据仍值得,则遵守事先约定的分析规则;因为结果不理想而延长实验,需要相应统计处理。固定时点分析的区间,不能直接配上“看到好结果就停”的规则。
这场实验仍然带来了可用知识:表面上的收益出现在哪里,哪些记录必须保留,以及什么问题阻碍了可靠决策。
六、小流量的问题,最后仍要回到时间
聚焦表单接触机会,可能更容易研究局部效果;同时,相关公司进入分析的速度也变慢了。选择更少公司,不自动意味着实验更快。[3]
举一个排期例子:假设实验前的某项计划需要累计1,000家合格分组公司,门户每天新增20家此前未分组的合格公司,两组合计约需50天完成入组。再让最后一家公司走完14天窗口,主要结果大约在第64天完整,另外还可能需要等待晚到数据;28天销售质量随访的最终读数还会更晚。这里仅演示时间换算,不代表本例的1,000家公司足以检测观察到的效果。
如果按打开表单的公司规划,就必须同时使用这类公司每天新增的数量与对应样本需求。不能拿更小的触发样本需求,除以全门户流量,得出一个看起来很短的工期。Statsig系列第一篇解释了样本量如何换算为时间。[4]
团队还有其他选择:测试更大且值得实施的变化,选择更贴近改动的指标,或判断当前流量不值得开展正式A/B实验。指标选择需要在实验前完成,并保留它与业务问题的对应关系;第二篇讨论了这类取舍。[5] 一个较快出现的点击信号可以帮助诊断,收入问题仍需其他证据。
在这个案例中,增长工程的工作变得具体:定义买家问题、修改表单、随机分流、保留可靠记录、估计差异,再决定下一步。把业务问题与可检查的证据连起来,才让这场实验真正有用。
关于作者
mingmingcodes(明码) 分享增长工程、SEO与测量方法,关注如何把业务问题转成团队可以检查的证据。
References / 参考资料
Sources checked on 4 November 2026. The case and calculations are original teaching illustrations. / 来源核对日期:2026年11月4日。案例与计算为原创教学示例。
- Microsoft Research — Patterns of Trustworthy Experimentation: Pre-Experiment Stage
- Microsoft Research — Patterns of Trustworthy Experimentation: Post-Experiment Stage, Figure 3
- Statsig — Running faster tests: Shift your targets (Part 3)
- Statsig — Running faster tests: The basics (Part 1)
- Statsig — Running faster tests: Modifying metrics (Part 2)
- Statsig Docs — How to Read Experiment Results
- Newcombe (1998) — Interval estimation for the difference between independent proportions: comparison of eleven methods; see also the statsmodels implementation reference
- statsmodels — confint_proportions_2indep (Newcombe method)