Enable Growth Team Experiments via FxA signup form Query Param Support #148
Comments
|
Thanks @javaun! Let's use this issue to figure out the technical details, then we can decide whether it's small enough to just spin up a couple of implementation bugs, or whether we need a full-on "feature card" with metrics etc. One thing I noticed was this:
Is "sign-up" here referring to the account signup, or just to signing up to a new newsletter in basket? More generally, there are several ways the user could escape this flow other than obvious "create a new account" action, which is where the existing logic for basket opt-in lives. They could have an existing account and sign in, or they could close the page. What do we need to do about the "mandatory signup" in each of these cases? |
|
Clarifying some requirements in IRC: |
|
Based on the above, I think we're going to need to spin up a Feature Card for this work so that we can clarify the edge-cases and expected behaviour. The concrete outcome of this issue will therefore be the creation of such a card. |
|
FYI, the |
|
I suspect the trickiest part of this will be dealing with sign-ins, as we currently do no basket-related activity in the sign-in flow. |
|
@pmac part of the request here, is that we pass on additional query params from the URL to basket, things like |
|
Should be silently ignored. We should test, obviously, but I know of nothing that would error if it received extra info. |
|
@shane-tomlinson and I had a good chat about this yesterday; the simplest approach from our side is probably going to be to send the new subscription data in the existing "login" event that's already going to basket. We currently post an event like this on every login: We could add additional fields to it so it becomes something like: The extra parameters would be:
Will this be sufficient? |
|
Some things to clarify:
|
In fact, I think it may be best if we forget about treating this as a newsletter-subscription problem, and look at it purely as a metrics problem from FxA's perspective. Strawman:
This would let the growth team do whatever they need with that extra bit of information, including flipping flags in basket, and would avoid us having to add a bunch of special-case logic that might need updating in the future. It may even turn out to be useful for other reliers in the future. @shane-tomlinson what do you think about something like the above? |
Do any existing supported query parameter match the semantics of this new parameter, one of the utm_* parameters perhaps? There are |
|
[1] https://support.google.com/analytics/answer/1033867?hl=en |
|
Having a post to |
|
We may be able to fake it in fxa-basket-proxy in the meantime |
|
See mozilla/fxa-basket-proxy#27 for the guts of this proposal - essentially taking certain values of |
|
See https://github.com/schalkneethling/all-aboard/issues/18 for coordination with the addon being developed to drive this from the client side. |
|
@rfk both PRs have been merged, can we close this or is there more to do here? |
|
I'm going to consider this closed until I hear otherwise from the Growth team |
|
@rfk @vladikoff We are having problems getting these flags to work. We are going to these URLs: and and these unique utm_campaign parameters are not passing a slug to basket for mozilla-welcome or firefox-welcome for the onboarding emails that @bniolet1 has setup with project fuel. |
|
We also checked basket and there are no errors with any invalid newsletter IDs. So, I think this is on the FxA side. We need to hopefully get this figured out today (at least where the problem is at) as these onboarding emails are a P1 with our experience. |
|
small clarification: the flags are not being flipped for the mozilla-welcome slug nor the firefox-welcome slug. These are different and distinct from the project fuel slug (firefox-accounts-journey) |
|
That's right @bniolet. It looks like the code is here: https://github.com/mozilla/fxa-basket-proxy/blob/master/lib/config.js#L57 |
The Growth team is conducting some funnel cake build experiments where users will receive ongoing content notifications based on predetermined cohort. Our role is to minimally support this by reading a query param that the Growth team passes in the signup iFrame URL. The initial request was to grab the fully URL (incl. query params) and pass that to Basket. If we have a way to lock this down more we could do it. The important point is that the Growth team has latitude to conduct different experiments without calling on us again.
Deadline: we should strive to complete this in 63 train. We should contact growth if it looks like it'll slip beyond that. (64 may still suffice, we can check w/ growth.)
Screenshot attached.
A helpful way to think of 2 above is that it's an invisible checkbox that the user is enrolled in.
The text was updated successfully, but these errors were encountered: