Product
How Zigbongo learns what pays
Two calls from your server, choices that start from what you show today, and a group of customers who keep seeing it, so every gain is measured. Here is what happens between them.
Watch Zigbongo choose
Three upgrade offers, with true conversion rates Zigbongo can't see. A is the default, the offer shown today. Each curve is what Zigbongo believes an offer converts at: wide while it knows little, narrow as evidence builds, and traffic follows the belief.
A small holdout of people always sees the default. The lift, how much better everyone else converts than the holdout, shows once each side has 20 conversions.
Live simulation
decision: upgrade_offer
Sessions
Conversion vs holdout
0
- A · default — 0%
- B — 0%
- C — 0%
Curves: what Zigbongo believes each offer converts at. True rates, hidden from it: 4.0%, 6.0%, 3.0%.
The two calls
At each decision point (a place where your product chooses something for a customer, such as which upsell to offer), your server asks Zigbongo which option to show. It sends the options you have, the one you'd show today (your default) and, if you like, some context about the customer. Zigbongo answers with the option to show, in milliseconds.
const s = zb.session("checkout", user.id);
const upsell = await s.decide("upsell", ["none", "annual", "bundle"], "none");
show(upsell.option);
Later, when the customer pays, renews or leaves, your server reports the outcome: revenue, margin, a renewal, a cancellation. Any number works, and you say whether higher or lower is better. The outcome can arrive minutes or weeks later, and you can report it for that visit or for the customer.
// when they pay
await s.outcome(invoice.total, invoice.id);
There's nothing to set up first. A flow, one place in your product where Zigbongo chooses for a customer, such as a checkout, exists the first time your code asks about it, and Zigbongo learns each decision point in it on its own. One run of a flow for one customer, such as one visit to checkout, is a session. If you'd rather describe a flow up front, with its steps and default choices, you can register it.
It starts from your default
At first, most people see what they see today. Other options get a small share of traffic, which grows over a decision point's first thousand decisions, and from then on traffic follows the evidence. Trying options has a cost while the evidence is thin: if your default is already the best, some people see worse options until Zigbongo can tell. The holdout measures that cost along with the gains. The holdout is the 5% of customers who always see your default choices; more on it below.
Zigbongo only ever chooses among the options you send. It never writes copy, sets prices or invents steps.
It keeps learning as it chooses
At each decision point, Zigbongo keeps a belief about how well each option pays, and picks options in proportion to how likely each is to be the best one. As outcomes arrive, beliefs narrow, and traffic moves to what earns more. A classic A/B test keeps half its traffic on the loser until it ends; Zigbongo stops paying for losers as soon as the evidence allows. Statisticians call this a multi-armed bandit: Bandit vs A/B testing compares the two.
It keeps learning after it has found a winner. When people change, the season turns or you add an option, old evidence slowly fades, so Zigbongo notices and moves traffic again.
Every choice is judged by the outcome
Every decision in a session is credited with the session's outcome. If a customer saw an onboarding path, a plan order and an upsell, and then paid, all three decisions learn from that payment, so each step is judged by what it leads to, not by its own click.
Outcomes count if they arrive within the flow's attribution window: a day after the session starts by default, and up to 90 days for things like renewals and cancellations. A purchase counts the moment it arrives; the session's final result is learned when its window closes.
Context makes it personal
Send context with a decision, such as the customer's plan, country, traffic source or earlier answers, and Zigbongo finds the best option for each kind of customer, not one winner for everyone. You choose what to send, exact values or bands such as an age range, and you can switch any of it off at any time. Learning for each group of customers needs more traffic, so start without context if your volume is low. The inputs guide has the details.
A holdout proves the lift
A small share of your customers, 5% unless you change it, always see your default choices: the holdout. Who is in it is worked out from the customer's id, so the same person stays in the holdout. Zigbongo compares the outcome per session between them and everyone else (the value, such as revenue, or the conversion rate when outcomes are 0 or 1) and shows the lift, how much more the customers Zigbongo chooses for bring than the holdout, with a 95% interval.
The interval holds however often you look at it: you can check the dashboard every day and act the moment it says "Clearly better", without the false wins that checking early causes in a classic test. The comparison starts once each side has 20 sessions with an outcome. Read more in the holdout and lift.
Guardrails
- Never slows your page. The SDK waits at most 150 ms. On a timeout or an error it shows your default and tells Zigbongo, so that call is never learned from.
- A kill switch on every flow. Pause a flow from the dashboard or from code, and within seconds everyone sees your default choices.
- Your data, kept apart. Each project's data is isolated and never pooled with anyone else's.
- Server-side only. Calls carry your key, so they're made from your server, never the browser.
Tested on simulated people first
We chose how Zigbongo learns by testing it on a simulator of customer behaviour, calibrated to public datasets, over a hundred runs per setting. In simulation, a five-step quiz found its best version after about 20,000 sessions (the median of 100 runs, where the best version earns 44% more than the default). Flows that personalize by context need more. Your own numbers depend on your traffic, your options and how far apart they really are, which is why the holdout measures them.
Where to go next
- Pricing: pay per session, with 10,000 free every month.
- Bandit vs A/B testing: when each one fits.
- The Node.js quickstart or the PHP quickstart: from a key to a first decision in a few minutes.