T434938: [DE3.2.8] App Install ID-based experiment assignments in GrowthBook requires experiment_exposure events that have the following contextual attribute information to power Dimensions in GrowthBook (for digging deeper into experiment results). https://gitlab.wikimedia.org/repos/product-analytics/data-pipelines/-/blob/main/mobile_apps/experiment_assignment_query_iceberg.hql?ref_type=heads shows how the data is used to populate dimensions.
These experiment_exposure events must be produced when the user experience diverges based on group assignment (or "bucketing"). See https://wikitech.wikimedia.org/wiki/Test_Kitchen/Experiment_exposure_logging for more information.
| Dimension in GrowthBook | Derived from these fields |
|---|---|
| user_auth_status | performer.is_bot, performer.is_temp, performer.is_logged_in |
| app_platform | agent.client_platform |
| app_theme | agent.app_theme |
| app_release_status | agent.release_status |
| app_primary_language_code | performer.language_primary |
| country_name | http.client_ip (automatically populated at event ingest time) |
| country_code | http.client_ip (automatically populated at event ingest time) |
AC
- When an experiment's instrumentation produces experiment_exposure events to product_metrics.app_base stream, those events include the requested properties (see above).
- in iOS
- in Android