Fake door test

Also called: fake door testing, painted door test

Last updated:

A fake door test puts a button, menu item or pricing option in your product for a feature that doesn't exist yet. Whoever clicks it lands on a short note saying the feature is coming. Divide those clicks by the number of people who saw the entry point and you have a demand signal, collected in a week or two for the price of one button and a modal, where building the real thing might have taken a quarter. Some teams call it a painted door test.

How to run one behind a feature flag

Put the entry point behind a flag and serve it to a slice of your users. Ten percent is a common start. A percentage rollout handles the split, and a targeting rule narrows it to one plan or one region when the feature would only make sense there. In a browser app the check is one line:
const showExport = client.boolVariation('fake-door-pdf-export', false)

if (showExport) {
  renderExportButton({ onClick: openComingSoonModal })
}
For a browser client key to read the flag, mark it client-side visible. Ending the test is a dashboard change. Switch the flag off and the button stops rendering, without a deploy or a revert. A dark launch uses the same switch for the opposite job, with the code live in production and no way for a user to reach it.

What to measure

You need two numbers. The first is how many people saw the door. Featureflip's browser and server SDKs accept inspectors, functions called on each flag evaluation, and the analytics integration guide has one that sends every exposure to PostHog or Amplitude along with the user's ID. The second number is the click, logged in that same tool as an ordinary event, so both sides of the ratio sit in one place and join on the same user. Count unique users. One curious person can click five times. Pick the click rate that would justify building before the test starts, because a threshold set after the results arrive is easy to move. The flag's Analytics tab shows evaluations by variation, a quick way to confirm the cohort is the size you set.

Keeping a fake door honest

Each click comes from someone who wanted a thing you don't have, and the page they land on decides whether they feel tricked. Say plainly that the feature isn't built, thank them, and offer a waitlist or one question about what they hoped it would do, since their answers describe the feature in words your roadmap won't. Keep the cohort small and the test short. Fake doors belong well away from flows a user has to finish, checkout and password reset above all. And never take money. A pre-sale that charges a card is a separate test, with refunds to handle.

Fake door test vs A/B test

An A/B test needs two working versions to compare. With a fake door there is only the entry point, so a high click rate shows that the button drew attention and says nothing about whether the finished feature would keep anyone around or bring in revenue. Treat a strong result as permission to build a small first version. Then test that version against the current product and let the numbers decide. Both are forms of experimentation, and a fake door can be live in production a day after someone suggests the feature, since the only code it needs is a button, a modal and one flag check.

Want the full picture? Read the concept guide: Analytics & experimentation integration →

Try it in your own app

The Free plan covers 10 flags and 2 environments. No credit card, no demo call — sign up and ship.