Steps to replicate the issue (include links if applicable):
- Navigate to Special:Homepage on a wiki with a community update set up (eg: eswiki beta, testwiki, eswiki)
- Make sure to be in the community-updates-module experiment variant ( can be forced using ge.utils.setUserVariant('community-updates-module') from JS console)
- Inspect http request and lookup for analytics requests with meta.stream: mediawiki.product_metrics.homepage_module_interaction
- Inspect the event payload
What happens?:
The event contains an experiments property but it's empty, eg: { experiments: assigned: {}, enrolled: [] }
What should have happened instead?:
The event contains an experiments property with correct information, eg:
{ "experiments": { "assigned": { "growth-experiments": "community-updates-module" }, "enrolled": [ "growth-experiments" ] } }
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
The experiment variant data is correctly added to other stream events. This only affects the Metrics Platform client instantiated in ext.growthExperiments.Homepage.Logger/useInstrument.js.
This has impacted the analysis in T378251, luckily there was a fallback instrument for the same relevant actions so the analysis should be doable.