Skip to content

Portfolio project. Properties, prices, reviews and reservations are fictional and room photos are stock images; no real bookings are made.

Stopover

Search card design

Leading with the total price and its parts, spelling out the cancellation terms and making "Choose a room" the primary action helps guests decide, so more exposed guests reserve.

Variants
A Standard50%
B Total-first50%
Metrics
Primary: reservation conversion
Secondary: stay-view click-through
Guardrail: cancellation rate, at most 2 pp higher
Plan, fixed horizon
10,317 participants per variant
Baseline 4.0%, MDE +0.8 pp (20% relative), α 0.05, power 80%
Traffic allocation
100% of participants
Assignment
MurmurHash3 of salt, key and participant id; salt search-card-design-v1
Default when not running
Standard cards, no exposure logged

Stop the experiment in this browser?

Search results will show the standard cards and log no exposures. The analysis ends at the stop. Starting again later begins a new run, and this run's data will not count towards it.

Results

Two sources, analysed by the same code and never combined.

Traffic

The same seed and settings always produce the same run.

21,000

Who reach the search results during the 14-day run.

100%

Share of visitors in the experiment.

50% A, 50% B
Hypothetical behaviour

Each step is a probability given the step before. Not measured from anything.

StepAB
Searches againof exposed
Opens a stayof those
Reservesof those
Cancelsof those
Implied reservation rate4.02%4.84%
Data problems

Inject faults and watch the checks catch them.

Simulated run: seed 2026, 21,000 visitors over 14 days, 100% allocated, 50/50 split. No data problems injected. 74,894 synthetic events.

True reservation rates set by the controls: A 4.02%, B 4.84%. The analysis below does not know them; it only sees the events.

Decision-ready

Simulated. Every condition of the fixed-horizon plan holds.

B reserved at 4.72% against 3.87% for A: a difference of +0.85 pp (95% interval +0.31 pp to +1.40 pp), p = 0.0022.

Statistically significant at α = 0.05. With randomisation, a passed sample ratio check and the planned sample, this is evidence that B changes reservation conversion, under the assumptions listed below. It is an estimate, not proof: the true difference is plausibly anywhere in the interval.

  • Secondary and guardrail metrics are not corrected for multiple comparisons; read their p-values as descriptive, not as separate findings.

Primary metric: reservation conversion

Exposed participants who made at least one reservation after first seeing the cards.

Simulated
Reservation conversion per variant, with 95% Wilson intervals
VariantParticipantsRate
A Standard10,555408 converted3.87%3.51% to 4.25%
B Total-first10,445493 converted4.72%4.33% to 5.14%
Rate per variant with its 95% interval (axis zoomed to the intervals)
Difference B − A with its 95% interval (the dark line is no difference; MDE is the effect the plan is sized to detect)
Absolute difference
+0.85 pp
+0.31 pp to +1.40 pp (Newcombe)
Relative uplift
+22.1%
+7.4% to +38.8% (log ratio)
Two-proportion z-test
p = 0.0022
z = 3.06, two-sided, pooled
Power at this sample
81%
To detect +0.80 pp; planned 80%

Sample

Fixed horizon: every variant must reach its planned sample before the result counts. The split must match the configured weights.

Simulated
  • A Standard10,555 of 10,317
  • B Total-first10,445 of 10,317

21,000 of 20,634 planned participants (101%).

Sample ratio check

Split as configured

Observed A 50.3%, B 49.7%; configured A 50%, B 50%. χ² = 0.58 with 1 degree of freedom, p = 0.448. Flagged below p = 0.001.

The black tick marks the configured split.

Why peeking misleads

The p-value of this run after each 2.5% of its participants. A p-value is only calibrated for one look at the planned sample.

Simulated
Show every look
P-value and interval for the difference after each look
Participantsp-valueDifference, interval
525p = 0.020+0.64 pp to +8.59 pp
1,050p = 0.031+0.23 pp to +5.29 pp
1,575p = 0.0011+1.34 pp to +5.49 pp
2,100p = 0.00094+1.19 pp to +4.70 pp
2,625p = 0.0010+1.07 pp to +4.28 pp
3,150p = 0.0030+0.73 pp to +3.60 pp
3,675p = 0.0093+0.43 pp to +3.11 pp
4,200p = 0.015+0.29 pp to +2.78 pp
4,725p = 0.018+0.24 pp to +2.58 pp
5,250p = 0.029+0.12 pp to +2.31 pp
5,775p = 0.037+0.07 pp to +2.14 pp
6,300p = 0.166−0.29 pp to +1.71 pp
6,825p = 0.194−0.32 pp to +1.58 pp
7,350p = 0.150−0.25 pp to +1.60 pp
7,875p = 0.053−0.01 pp to +1.79 pp
8,400p = 0.025+0.13 pp to +1.88 pp
8,925p = 0.011+0.25 pp to +1.97 pp
9,450p = 0.013+0.23 pp to +1.89 pp
9,975p = 0.019+0.16 pp to +1.76 pp
10,500p = 0.016+0.17 pp to +1.73 pp
11,025p = 0.041+0.03 pp to +1.55 pp
11,550p = 0.016+0.17 pp to +1.65 pp
12,075p = 0.022+0.12 pp to +1.56 pp
12,600p = 0.013+0.18 pp to +1.60 pp
13,125p = 0.017+0.15 pp to +1.54 pp
13,650p = 0.010+0.21 pp to +1.58 pp
14,175p = 0.0077+0.24 pp to +1.58 pp
14,700p = 0.030+0.07 pp to +1.39 pp
15,225p = 0.011+0.19 pp to +1.48 pp
15,750p = 0.018+0.13 pp to +1.41 pp
16,275p = 0.016+0.14 pp to +1.40 pp
16,800p = 0.010+0.19 pp to +1.42 pp
17,325p = 0.0068+0.23 pp to +1.45 pp
17,850p = 0.0044+0.27 pp to +1.47 pp
18,375p = 0.0038+0.28 pp to +1.46 pp
18,900p = 0.0035+0.28 pp to +1.44 pp
19,425p = 0.0025+0.31 pp to +1.45 pp
19,950p = 0.0051+0.24 pp to +1.37 pp
20,475p = 0.0073+0.21 pp to +1.32 pp
21,000p = 0.0022+0.31 pp to +1.40 pp

This is one run. With a real difference the line drifts down; with none (set B equal to A) it still wanders, and dips into the shaded region more often than the 5% the test promises.

Computing 400 A/A runs to show the false-positive rate of peeking…

Funnel after exposure

Share of exposed participants who did each thing at least once after first seeing the cards. Steps do not have to happen in order.

Simulated
A StandardB Total-first
Show the numbers
Participants reaching each step, per variant
StepA, StandardB, Total-first
Saw the cards10,555 (100.0%)10,445 (100.0%)
Searched again6,328 (60.0%)6,382 (61.1%)
Opened a stay3,134 (29.7%)3,305 (31.6%)
Reserved408 (3.9%)493 (4.7%)
Cancelled a reservation54 (0.5%)80 (0.8%)

Secondary metric and guardrail

Reported to understand the result, not to decide it. Their p-values are not corrected for multiple comparisons.

Simulated
Secondary and guardrail metrics per variant
MetricABB − A, 95% intervalTest
Stay-view click-throughSecondary29.7%3134 of 1055531.6%3305 of 10445+1.9 pp+0.7 pp to +3.2 ppp = 0.0022
Cancellation rateGuardrail, lower is better13.2%54 of 40816.2%80 of 493+3.0 pp−1.7 pp to +7.6 ppp = 0.209
Inconclusive

Cancellation rate: Inconclusive: the data cannot yet rule out a rise of more than 2.0 pp. Its denominator is who reserved, which the design itself can change, so this is a warning signal rather than a randomised estimate.

Where every event went

74,894 events received; the rows below add up to 74,894. Exclusions are counted, never dropped silently.

Simulated
Events by how the analysis used them
BucketEventsMeaning
Counted41,184First exposures and the behaviour after them.
Malformed0Failed the event schema.
Duplicate deliveries0An event id seen before; counted once.
Other source0Simulated, demo and API events are never mixed.
Before the run started0From an earlier run of the experiment.
After the stop0The variant was no longer served.
Other experiments0Exposures to a different experiment.
Unknown variant0Exposure to a variant this experiment does not define.
Seen in two variants0Every event of a participant exposed to more than one variant.
Repeated exposures12,710Later renders for a participant already counted.
No exposure0Behaviour of participants never exposed (outside the allocation, or the exposure was lost).
Before first exposure21,000The variant could not have influenced it, such as the search that rendered the results.
Unmatched cancellations0Cancelled a reservation that did not count.

Assumptions behind the numbers

What has to be true for the analysis to mean what it says. Each is also recorded in ADR 0003.

Participant-level randomisation
The anonymous participant is assigned, so the participant is the unit of analysis: one trial each, converted or not. Counting events would treat one guest’s repeated actions as independent trials and overstate certainty.
Independence (SUTVA)
One guest’s design does not change another guest’s outcome. Shared inventory breaks this a little: a B guest who books the last room takes it from an A guest.
Fixed horizon
The sample size is set before the start and the result is read once, when every arm reaches it. Reading it repeatedly and stopping at the first p < 0.05 inflates false positives (see the chart above). Sequential tests that allow early looks are future work.
Normal approximation
The z-test treats the difference of rates as normally distributed. That holds when every arm expects at least 10 conversions and 10 non-conversions; below that the dashboard withholds the verdict. Wilson and Newcombe intervals stay usable for small counts.
Novelty and learning
A new card can do well because it is new, or badly because it is unfamiliar. A two-week run on the same returning guests cannot separate that from a lasting effect.
Multiple metrics
Only the primary metric decides. The secondary metric and guardrail get uncorrected p-values; looking at many metrics and reporting the one that moved is how false findings are made.
Browser assignment on a static page
The page is pre-rendered with the standard cards and assignment happens in the browser, so a B guest briefly sees A before B appears. The exposure is logged only once B is on screen; a server or edge assignment would avoid the flash.
Significance is not proof
A small p-value says the data would be unusual if the designs performed the same. It does not prove the card caused the difference, and it means nothing if any assumption above is broken.

What a smaller effect costs

Participants needed per arm for a 50/50 test, by the smallest lift it should reliably detect. The search-card plan is the highlighted row.

Required participants per arm by minimum detectable lift
Relative liftAbsolutePer armTotal
+5%+0.20 pp154,304308,608
+10%+0.40 pp39,47578,950
+15%+0.60 pp17,94335,886
+20%Search-card plan+0.80 pp10,31720,634
+30%+1.20 pp4,7839,566

Halving the effect roughly quadruples the sample: the required n grows with 1 / effect².