Skip to content

Sign up analytics#767

Merged
MelissaAutumn merged 4 commits into
mainfrom
features/164-sign-up-analytics
May 28, 2026
Merged

Sign up analytics#767
MelissaAutumn merged 4 commits into
mainfrom
features/164-sign-up-analytics

Conversation

@MelissaAutumn

Copy link
Copy Markdown
Member

Fixes #164

We don't have a support link, but I'm sure we'll find a spot to stick that in eventually.

Eventually I'll rework the folder structure and setup actual .env files that will control some defines, but for now it's a hardcoded true.

Comment on lines 117 to 131
const nextStep = () => {
let nextStepValue = SignUpSteps.INVALID;
let nextStepValue = SIGN_UP_STEPS.INVALID;
switch (step.value) {
case SignUpSteps.USERNAME:
nextStepValue = SignUpSteps.PASSWORD;
case SIGN_UP_STEPS.USERNAME:
nextStepValue = SIGN_UP_STEPS.PASSWORD;
break;
case SignUpSteps.PASSWORD:
nextStepValue = SignUpSteps.VERIFY;
case SIGN_UP_STEPS.PASSWORD:
nextStepValue = SIGN_UP_STEPS.VERIFY;
break;
case SignUpSteps.VERIFY:
case SIGN_UP_STEPS.VERIFY:
return;
}
captureStep(nextStepValue);
step.value = nextStepValue;
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we are only doing the captureStep when the user moves to the nextStep, we are never capturing the initial SIGN_UP_STEPS.USERNAME.

So maybe we should add a captureStep() call in the onMounted of the Step1 component here:

https://github.com/thunderbird/thunderbird-accounts/blob/main/assets/app/vue/views/SignUpView/views/Step1Username/index.vue#L54-L59

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@davinotdavid davinotdavid self-requested a review April 30, 2026 19:29

@davinotdavid davinotdavid left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@davinotdavid davinotdavid force-pushed the features/164-sign-up-analytics branch from 2e3a27f to d90e919 Compare April 30, 2026 20:54
@kewisch kewisch marked this pull request as draft May 1, 2026 19:42
@radishmouse radishmouse marked this pull request as ready for review May 27, 2026 13:59
@radishmouse

Copy link
Copy Markdown
Collaborator

After discussing at the last thundermail meeting, we're good to go with these changes.
@davinotdavid Do you have bandwidth to update this branch to get it merged?

@MelissaAutumn

Copy link
Copy Markdown
Member Author

After discussing at the last thundermail meeting, we're good to go with these changes. @davinotdavid Do you have bandwidth to update this branch to get it merged?

I missed that unfortunately, how are we allowing the anonymous user to opt-in? Or was it auto opt-in?

@radishmouse

Copy link
Copy Markdown
Collaborator

After discussing at the last thundermail meeting, we're good to go with these changes. @davinotdavid Do you have bandwidth to update this branch to get it merged?

I missed that unfortunately, how are we allowing the anonymous user to opt-in? Or was it auto opt-in?

I defer to @Sancus (who articulated this during the last meeting), but it's auto opt-in.

Users are invited to this early/experimental phase, during which we're figuring out if the FTUE has any serious issues with usability and functionality. Instead of individuals having to fill out a support form, we're automatically checking for significant drop offs during the sign up flow.

@MelissaAutumn

Copy link
Copy Markdown
Member Author

okie dokie. Just checking because last I heard @kewisch had some issues here.

@radishmouse

Copy link
Copy Markdown
Collaborator

okie dokie. Just checking because last I heard @kewisch had some issues here.

No worries! @kewisch was part of the discussion and came to agreement with @Sancus

@davinotdavid

Copy link
Copy Markdown
Contributor

Cool! I will rebase this soon™ (today, in a few)

@kewisch

kewisch commented May 27, 2026

Copy link
Copy Markdown
Member

@MelissaAutumn sorry you missed this, we talked about it in the last accounts meeting. We're going to do a time limited experiment to see if what we're collecting here will actually provide benefit and is answering the questions we're looking at. All things considered, as long as we're not collecting PII and determining only in aggregate where people are leaving the sign up process, we're not being overly invasive.

When we consider more elaborate data points or are considering this a more long term experiment we should definitely have some form of user choice, though we'll need a bit more input from legal counsel to do this right while not artificially limiting ourselves or creating bias in the data that we receive.

@MelissaAutumn

Copy link
Copy Markdown
Member Author

Sounds good to me, as long as it's all clear and no PII is stored.

@davinotdavid davinotdavid force-pushed the features/164-sign-up-analytics branch from d90e919 to 803007f Compare May 27, 2026 20:17
@davinotdavid

davinotdavid commented May 27, 2026

Copy link
Copy Markdown
Contributor

@radishmouse @MelissaAutumn Alright, I think we are good to go but since I helped with a commit, rebased and reviewed it might be good to do one final review by someone else.

Feel free to merge it in if so!

@MelissaAutumn

Copy link
Copy Markdown
Member Author

Looks okay to me, thanks folks!

@MelissaAutumn MelissaAutumn merged commit 883a4f8 into main May 28, 2026
8 checks passed
@MelissaAutumn MelissaAutumn deleted the features/164-sign-up-analytics branch May 28, 2026 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Collect Sign Up Flow metrics to PostHog

4 participants