Donors will click on the call-to-action in their email and be brought to the wiki to create an account, hopefully to go on to edit. We want to be able to analyze the behavior of this cohort in all the ways that we usually analyze Growth newcomers through EventLogging and edit tags -- but we want to be able to separate out this cohort to see them distinctly.
We'll do this through identifying a URL query parameter in the call-to-action link. We may want to keep track of multiple query parameters if there are different subgroups in the cohort (e.g. new donors / repeat donors) or if we try different versions of the email. For example, the call to action link might be to https://es.wikipedia.org/wiki/Special:CreateAccount?campaign=growth-mexico-2021-a for variant A of an email or https://es.wikipedia.org/wiki/Special:CreateAccount?campaign=growth-mexico-2021-b for variant B, for an email campaign sent to donors in Mexico.
Engineering tasks
- Hook into account creation process (like with the geForceVariant parameter) to look for the campaign parameter and then a known string pattern for the campaigns we want to track (e.g. growth-advancement-{blah-blah}
- Create a hidden preference to store campaign URL query parameter for the user, for analytics purposes
- Opt-in the user to Growth features (see also T284119: Growth: options for disabling/enabling Growth features for groups of users)
We have decided that there will only be two variants of the email: one for Portuguese-speaking recipients and one for Spanish-speaking recipients. These are the URLs they will use: