mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-10-06 19:26:55 +08:00
fix(analyitcs): make sure to flush events before they close
This commit is contained in:
parent
077472af55
commit
680b219662
2 changed files with 10 additions and 2 deletions
|
@ -7,7 +7,15 @@ export default class WelcomePage extends React.Component {
|
||||||
static displayName = "WelcomePage";
|
static displayName = "WelcomePage";
|
||||||
|
|
||||||
_onContinue = () => {
|
_onContinue = () => {
|
||||||
Actions.recordUserEvent('Welcome Page Finished');
|
// We don't have a NylasId yet and therefore can't track the "Welcome
|
||||||
|
// Page Finished" event.
|
||||||
|
//
|
||||||
|
// If a user already has a Nylas ID and gets to this page (which
|
||||||
|
// happens if they sign out of all of their accounts), then it would
|
||||||
|
// properly fire. This is a rare case though and we don't want
|
||||||
|
// analytics users thinking it's part of the full funnel.
|
||||||
|
//
|
||||||
|
// Actions.recordUserEvent('Welcome Page Finished');
|
||||||
OnboardingActions.moveToPage("tutorial");
|
OnboardingActions.moveToPage("tutorial");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
2
src/pro
2
src/pro
|
@ -1 +1 @@
|
||||||
Subproject commit 590b767ebcd186be0a932a08015fb3f1c67d947f
|
Subproject commit 46d249d99f754fe5dfb719583b398bdcc0d3ba5f
|
Loading…
Add table
Reference in a new issue