Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Feature flag turned off a funnel step: how to find and fix it

OPS-298High impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

Feature flags (also called feature toggles) let developers ship code that stays hidden until someone switches it on. Teams use tools such as LaunchDarkly, Unleash, Split or PostHog, or a simple config value or environment variable.

The problem appears when a flag that controls part of your funnel is off, or defaults to off, in production. The page still loads and nothing shows an error. The step is just missing: no phone button, no payment option, no second form step.

Where a flag breaks the funnel
  1. Ad clickVisitor lands on the page
  2. Product or form pageLoads normally
  3. Flagged stepFlag is off, step not rendered
  4. Purchase or leadCannot happen
  5. Conversion tagNever fires

The flag guarding the checkout step is off, so everything after it is never reached.

Why it costs you leads or sales

Nothing looks broken, so nobody reports it. Visitors simply find no way to continue. Ad spend keeps flowing to a page that cannot convert, and your conversion tracking shows a drop that looks like a demand problem rather than a fault.

Because there is no error page and often no console error, uptime monitors report the site as healthy. The loss can last days, until someone notices low numbers in a weekly report.

Daily leads before and after a flag goes offExample numbers
Daily leads before and after a flag goes off (example)Before release: 40 leads per day; Flag off, day 1: 2 leads per day; Flag off, day 2: 1 leads per day; After fix: 39 leads per day01531402139Before releaseFlag off, day 1Flag off, day 2After fixleads per day

Example: numbers are illustrative. Leads fall to near zero the day the flag is off and recover once it is switched on.

How to check if your site has it

Confirm a flag is hiding a step
  1. Walk the journey in a clean browser

    Open a private window, click through from your landing page to the final step (form submit, checkout, booking). Compare it with what you expect and with staging.

  2. Check recent releases

    Ask which flags were added or changed in the last deploys. A step that vanished right after a release is the strongest clue.

  3. Open your flag tool

    Find the flag for the missing step. Check its value in the production environment (not staging), its rollout percentage and its targeting rules.

  4. Look at the flag response in the browser

    If flags are fetched client side, open DevTools, Network tab, and look for the request to your flag service. Check the returned value for that flag.

  5. Compare conversion data

    In GA4 or your ad platform, look for a sharp drop in a specific funnel step starting at a release time.

How to fix it

Restore the funnel step
  1. Turn the flag on in production

    In your flag tool, select the production environment and enable the flag. Set the rollout to 100% for the audience that should see the step.

  2. Fix the targeting rules

    Remove rules that exclude real customers by mistake, such as a rule limited to internal emails left over from testing.

  3. Set a safe default

    For flags that guard a conversion step, make the code fall back to the working version if the flag service is unreachable, not to hidden.

  4. Clear caches

    If a CDN or page cache stored the page without the step, purge it so visitors get the new version.

  5. Record the change

    Note who changed which flag and why, so the next incident can be traced.

Fail open for a conversion stepjavascript
// The second argument is the fallback used if the flag service fails.
// For a step that earns money, fall back to showing it.
const showCheckoutStep = flagClient.getBoolean('new-checkout-step', true);

if (showCheckoutStep) {
  renderCheckoutStep();
}
Where flags usually live by platform
  1. Check your flag tool or config

    Look in the flag dashboard, or in environment variables and config files used in production. Redeploy if the value is read at build time.

How to confirm it's fixed

Confirmation checklist
  • The step is visible in a private window on desktop and mobile
  • You can complete the journey from landing page to the final action
  • The conversion tag fires on the last step
  • A test lead or order reaches your inbox or CRM
  • The flag shows on in production, with the correct rollout
  • Cached copies of the page have been purged

How to prevent it happening again

Flag handling

Risky

  • New flags default to off with no owner
  • Flags enabled in staging only
  • No one tests the journey after a release
  • Fallback hides the step when the flag service fails

Safer

  • Each flag has an owner and a removal date
  • Release checklist includes setting production values
  • Full journey tested after every flag change
  • Fallback keeps the working funnel step visible

Remove old flags once a feature is fully released, so fewer switches can go wrong. Add a line to your release checklist: 'Are any funnel flags changing, and what is their production value?'

How FunnelGuard handles this

FunnelGuard detects this today. It does not read your flag settings. Instead, a robot visitor runs your real customer journey on a schedule, from the EU or the US, and checks each step. If a flag hides a form, button or checkout step, the journey cannot complete, so the check fails at that step.

The failure is re-checked from a second region before one alert goes out (email, Slack, Teams, WhatsApp, webhook or PagerDuty), with a screenshot and a likely cause. It also checks tracking hits and whether test leads arrive. The Free plan covers 1 site and 2 journeys with daily checks and no card. Paid plans have a 3-day free trial.

Questions people ask

Why is my checkout step missing after a release?

The most common cause is a feature flag that is off, or at 0% rollout, in production. It may have been enabled only in staging. Check the flag's production value, rollout and targeting rules in your flag tool.

How do I know if a feature flag is hiding part of my funnel?

Walk the journey in a private window and compare it with what you expect. Then check the flag's value for the production environment and the flag response in the browser Network tab. A step that vanished right after a release points to a flag.

Can a feature flag cause a drop in conversions without any error?

Yes. A flag that is off just hides the step, so there is no error page or console error. Uptime monitors still report the site as healthy, while leads or sales fall.

What should a feature flag default to if the flag service is down?

For a step that earns revenue, default to the working version so the step stays visible. Defaulting to hidden means a flag service outage can silently remove your checkout or form.

How do I stop feature flags breaking my marketing funnel?

Give every flag an owner, set and verify production values in the release checklist, and test the full journey after any flag change. Remove flags once a feature is fully live.

Can I monitor for a flag turning a funnel step off?

Yes. Scheduled journey checks that click through the real funnel will fail when the step is missing. FunnelGuard does this and sends one alert with a screenshot and a likely cause after a second-region re-check.

Why does the step show for me but not for customers?

Targeting rules may show the flag only to certain users, such as staff, a country or a test cohort. Test as a new visitor on mobile and desktop, and review the rules for leftover internal-only conditions.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.