When a user signs up with Firefox Account, their signup_language is blank
STR:
- Set
FXA_ENABLED=1 - Sign up with Firefox Account
psql blurtsSELECT signup_language FROM subscribers WHERE fxa_profile_json is not null
Expected results:
The Accept-Language value from the browser - e.g., en-US,en;q=0.5
Actual results:
blank value 😢
@sandysage @jsavory
We’ve been setting a subscriber’s language based on their browser’s language when they sign up. With FxA, we get a field in their profile: "locale": "en-US,en;q=0.5". The FxA profile locale comes from the user’s browser when they sign up for FxA.
Should we use the locale value from the user’s FxA profile (from when they signed up for FxA), or should we grab it "fresh" from their browser when they sign up for Monitor?
@groovecoder I think grabbing fresh from the browser sounds more reasonable to me, we want to land on their most recent and well used language. I think its more likely that they've kept the browser language up to date rather than their accounts language.