Before you start
- A multivariate feature flag with the variants you want to test (for example
controlandtreatment). - A conversion you want to measure — a signup, a purchase, or a key page view. You can select an existing goal, create one in the experiment wizard, or add one later.
- Your app calls
window.tinyanalytics.flag()where the visitor experiences the variant. This is what makes the measurement accurate.
How do I choose the experiment goal?
In the experiment wizard, choose Create a new goal, Use existing, or Skip for now. A new goal can match a page path or a custom event. For an event goal, start typing to filter event names recorded in the dashboard’s current date range; you can still enter a new name that has no data in that range. Skipping lets you create the experiment and attach its primary goal later. Conversion, lift, and significance results need a goal before TinyAnalytics can calculate them.How does an experiment count conversions?
The unit of measurement is the session, not the pageview. For each variant, TinyAnalytics counts the sessions that saw it and the sessions that then completed your goal. Attribution is post-exposure: a conversion only counts if it happened at or after the visitor first saw the variant.- A session that converts before ever seeing the variant is not credited to it — a variant can’t take credit for behavior that preceded it.
- A session that converts twice counts once.
- Conversions can never exceed what your goal reports for the same period, because the experiment reuses the goal’s own definition.
Where should I call flag()?
Callwindow.tinyanalytics.flag() at the moment the visitor experiences the variant. This is the one step that decides whether your results are trustworthy. The call records an exposure — proof that this session actually experienced the variant — and the experiment counts those exposed sessions as its primary, statistically correct measurement.
How do I read the results?
Each variant shows its sessions, conversions, conversion rate, and lift versus the control:- Control is the variant named
control, or the first one you declared. Every variant you declared appears in the table even before it has any traffic. - Lift is the variant’s conversion rate relative to control. It reads as blank (not “0%”) when the control itself hasn’t converted yet — there’s no baseline to compare against.
- Statistical assessment uses a beta-posterior comparison against control, rather than a simple z-test. TinyAnalytics needs at least 100 sessions per active arm and 10 total conversions before showing comparative evidence. Until then it shows “Gathering data.”
How do I read uncertainty and progress?
When enough data exists, each non-control variant shows:- Chance to beat control — the posterior probability that its conversion rate is higher. Values near 0% or 100% remain bounded instead of appearing certain.
- 95% lift interval — a relative-lift range, so a noisy percentage does not look like a precise outcome.
- Expected loss if chosen — the estimated conversion-rate cost of choosing that variant incorrectly. This is a risk measure, not a promised loss.
- Projected scale — when a comparison is not yet clear, an estimate of how much more session volume could produce a decision if current rates hold. It is a projection, not a date or guarantee.
p < 0.001. Check allocation before trusting those comparisons. Assignment-fallback results keep their measurement caveat and do not pretend assignment is verified exposure, so they do not run this check.
The cumulative conversion rate chart uses the same date window, filters, post-exposure attribution, and exposure/assignment mode as the summary. It zero-fills missing days and shows at most 366 days. When a longer window is truncated, earlier totals carry into the first visible point so the chart still agrees with the summary.
Frequently asked questions
Why does my experiment say 'Gathering data'?
Why does my experiment say 'Gathering data'?
Each active arm needs at least 100 sessions, with 10 total conversions, before TinyAnalytics shows comparative evidence. Until then it shows “Gathering data” rather than claiming statistical confidence.
Why is the lift column blank for my variant?
Why is the lift column blank for my variant?
The control hasn’t converted yet, so there’s no baseline to compare against. TinyAnalytics shows lift as blank rather than “0%” in that case. Lift is the variant’s conversion rate relative to control.
Do conversions that happen before a visitor sees the variant count?
Do conversions that happen before a visitor sees the variant count?
No. Attribution in TinyAnalytics experiments is post-exposure — a conversion only counts if it happened at or after the visitor first saw the variant. A session that converts twice still counts once.
Does TinyAnalytics pick the winning variant for me?
Does TinyAnalytics pick the winning variant for me?
No. TinyAnalytics never auto-picks a winner and applies no multiple-comparison correction. It surfaces which variant is leading once that lead is statistically significant, and the decision to ship stays yours.
Related
Feature flags
Create the multivariate flag your experiment tests.
Goals
Define the conversion the experiment measures.
Custom events
Send the events your goal is built from.
Funnels
See where visitors drop off on the way to converting.