Prompt
Why is my feature flag experiment not recording events properly?
Latest observation
Oct 13, 2026
OpenAI APIWeb search: off
A feature flag experiment usually fails to record events for a handful of common reasons. The main ones are:
-
The exposure/event call isn’t actually happening
- The flag is being evaluated, but no tracking/event method is called afterward.
- In some SDKs, evaluation and tracking are separate steps.
-
The event is being called before the SDK is ready
- If the flag client hasn’t fully initialized, the impression/exposure may not be sent.
- This often happens on page load or app startup.
-
You’re using the wrong environment or project key
- The feature flag may be active in one environment, but the experiment/reporting is checking another.
- Verify dev/staging/prod settings and API keys.
-
Experiment targeting isn’t applied to the user
- If the user doesn’t qualify for the experiment, no exposure is recorded.
- Check rollout rules, segments, and bucketing.
-
Events are being blocked by ad blockers, CSP, or network issues
- Browser privacy tools can block analytics/flag endpoints.
- Look in devtools/network logs for failed requests.
-
The SDK is configured not to auto-track impressions
- Some platforms require explicit “track exposure” or “send impression” settings.
- Confirm the experiment mode is enabled.
-
Duplicate suppression or throttling
- Some systems only record one exposure per user/session/flag.
- You may be expecting multiple events, but the platform deduplicates them.
-
Wrong event name or schema
- If you’re sending a custom conversion event, the name/properties may not match what the experiment expects.
- Check required fields like user ID, variation ID, or experiment key.
-
Analytics ingestion delay
- Data may be recorded but not visible yet.
- Some dashboards lag by minutes to hours.
-
User identity mismatch
- The experiment may evaluate under an anonymous ID, but events are sent with a logged-in ID, or vice versa.
- Make sure evaluation and tracking use the same identity context.
If you want, I can help you debug it systematically. Send me:
- which feature flag/experiment tool you’re using,
- a snippet of the evaluation/tracking code,
- and whether this is web, mobile, or backend,
and I’ll narrow down the likely cause.