fix(analytics): add onboarding welcome event

This commit is contained in:
Evan Morikawa 2016-02-12 10:25:08 -08:00
parent 9dff4e22c9
commit 0f9475cc91
2 changed files with 4 additions and 1 deletions

@ -1 +1 @@
Subproject commit 8c4a86eb7ee1a06249a9ae35397e2084a09ad1dc
Subproject commit 8ff46b1b9767d1f3570387d904005e922e7a6b25

View file

@ -124,6 +124,9 @@ class WelcomePage extends React.Component
if @state.step < 2
@setState(step: @state.step + 1)
else
Actions.recordUserEvent('Welcome Page Finished', {
tokenAuthEnabled: PageRouterStore.tokenAuthEnabled(0)
})
if PageRouterStore.tokenAuthEnabled() is "no"
OnboardingActions.moveToPage("account-choose")
else