Page MenuHomePhabricator

Variant tests: query string parameter
Closed, ResolvedPublic

Description

In order to make it easier to test these variants, including their onboarding flow, we want to create a query string parameter that we can use during account creation, so that we can kick off the full experience right at the beginning of the flow.

Event Timeline

Change 629184 had a related patch set uploaded (by Gergő Tisza; owner: Gergő Tisza):
[mediawiki/extensions/GrowthExperiments@master] Add a flag for forcing a given A/B test variant on account creation

https://gerrit.wikimedia.org/r/629184

Do we need a mechanism for differentating forced variants from natural ones for the purposes of analytics?

@Tgr -- I think you're asking whether we need to record whether people have set their own variants through using these query parameters? I do not think we do because very few people will actually wield these new parameters, and also because our analytics filters out known test accounts that contain words like "Zilant" and "Test".

Change 629184 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] Add a flag for forcing a given A/B test variant on account creation

https://gerrit.wikimedia.org/r/629184

To use, add a geForceVariant parameter to the URL which renders the account creation form (e.g. https://en.wikipedia.beta.wmflabs.org/wiki/Special:CreateAccount?geForceVariant=A or https://en.wikipedia.beta.wmflabs.org/w/index.php?title=Special:CreateAccount&returnto=Main+Page&geForceVariant=C).

No issues - moving to PM review to inform that it can be used for forcing new accounts to be assigned to specific variants.

This has been working for me in beta.