android-components
android-components copied to clipboard
Extended experiment tagging for unenrolled users
When a user unenrolls from an active experiment (e.g. because they no longer meet the filter requirements for the experiment), we need to continue associating that user's telemetry with the experiment branch in order for the experiment results to be robust.
Therefore, until the experiment itself becomes inactive, unenrolled users need to remember and report the branch that they were in before unenrolling. Given a ping, we should be able to distinguish whether a given user was:
- not-yet enrolled in an experiment (i.e. the experiment isn't mentioned in their ping), or
- currently enrolled in an experiment (and what branch they're in), or
- unenrolled from a still-active experiment (and what branch they were in)
┆Issue is synchronized with this Jira Task