-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Best practice for dealing with email address confirmation? #279
Comments
@marckohlbrugge what you suggested—waiting until they confirm their email to add them—is the right way, but I've also experienced some friction with having multiple onboarding paths. I don't have a great answer, except that you could add them to the campaign using an |
I have thought about other ways of doing this potentially, like instrumenting the app for events and then having a way to subscribe to those events. You could technically do that with |
Yeah I actually use I also have a |
The example code shows this:
Which conveniently omits the fact that we'll want to hold off sending emails until the user has confirmed their email address.
The intuitive solution is to add a segment check to the campaign like below, but I believe this won't work as expected. The campaign will be triggered, the user does not fit the segment yet, and thus the campaign will never be sent. Even after email confirmation.
The proper solution then seems to be to hold off on adding the user to the campaign, until the user has confirmed their email address. We could add
OnboardingCampaign.add(user)
in aConfirmationsController
.This seems like a pragmatic solution, but it doesn't work well if you also use OAuth logins where email confirmations can be skipped. Which means we'll need to add another
OnboardingCampaign.add(user)
somewhere in the OAuth signup process.So my question is this: what's the best practice for holding off on sending campaigns until the user has confirmed their email address?
The text was updated successfully, but these errors were encountered: