is there anyway to check from the insight whether a feature flag is active or not?
The knowledge sources don't contain information about checking feature flag status directly from the Insights report. However, based on what's available, here are two relevant things you can do:
What the Knowledge Sources Do Cover
1. User Profile Exposure Table You can view which feature flags a specific user has been exposed to by navigating to their Profile Page in Mixpanel. It displays a table of enabled flags the user has been exposed to, including the most recent exposure time and (for experiments) the variant they saw. [User Profile Exposure Table] 2. Exposure Events in Reports When a feature flag is evaluated and the user is in a rollout group, Mixpanel automatically tracks an $experiment_started event. You could use this event in the Insights report to analyze flag exposure โ for example, filtering or segmenting by users who have that event. [JS Flag Evaluation]
If you're looking for a direct "is this flag currently active/enabled?" toggle or status indicator within the Insights report UI, the knowledge sources do not contain enough information to confirm that such a feature exists. I'd recommend checking the Mixpanel Feature Flags documentation directly or reaching out to Mixpanel support for clarification.
โน๏ธย Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.
You're partially correct, but the distinction is a bit more nuanced based on the documentation. The $experiment_started event is triggered for both Feature Gates and Experiment flags when a user is evaluated and falls within a rollout group โ not just for Experiment-type flags. The key trigger is flag evaluation (i.e., calling isEnabled, getVariantValue, etc.), not the flag type itself. For example, the JavaScript SDK documentation states that calling is_enabled on a Feature Gate flag will trigger an $experiment_started exposure event if the user is in a rollout group. [JS Flag Evaluation] Similarly, the Flutter and React Native SDK docs confirm that calling isEnabled or getVariantValue triggers $experiment_started for any flag type where the user is in a rollout group. [Flutter Exposure Events; React Native Exposure Events] So in summary:
Experiment flags โ triggers $experiment_started โ
Feature Gates โ also triggers $experiment_started โ (when user is in a rollout group)
getAllVariants() โ does not trigger $experiment_started โ
That said, the Experiments report in Mixpanel is specifically designed to analyze Experiment-type flags with statistical rigor, while Feature Gates are more for controlled rollout/kill-switch use cases. [Feature Flags Overview]
โน๏ธย Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.
