configuring-experiment-analytics
Installation
SKILL.md
Configuring experiment analytics
This skill answers: Who is included in the analysis? and How to measure impact?
Exposure criteria
Exposure criteria determine which users are counted in the experiment analysis.
Include people when
Two options:
- Feature flag called (default) — users are included when the
$feature_flag_calledevent fires for the experiment's flag. This is the standard approach — it means a user is included only when they actually encounter the feature flag in your code. - Custom exposure event — users are included when a specific custom event fires. Use this when you want tighter control over who enters the analysis (e.g., only users who actually visit the page where the experiment runs).
Multiple variant handling
When a user is exposed to multiple variants (e.g., due to flag changes or race conditions):
Related skills