track onboarding steps
This commit is contained in:
parent
b38629b9b5
commit
a231fdf64e
1 changed files with 2 additions and 0 deletions
|
@ -49,12 +49,14 @@ export class OnboardingModel {
|
||||||
|
|
||||||
nextScreenName(currentScreenName?: OnboardingStep) {
|
nextScreenName(currentScreenName?: OnboardingStep) {
|
||||||
if (currentScreenName === 'Welcome' || this.step === 'Welcome') {
|
if (currentScreenName === 'Welcome' || this.step === 'Welcome') {
|
||||||
|
track('Onboarding:Begin')
|
||||||
this.step = 'RecommendedFeeds'
|
this.step = 'RecommendedFeeds'
|
||||||
return this.step
|
return this.step
|
||||||
} else if (
|
} else if (
|
||||||
this.step === 'RecommendedFeeds' ||
|
this.step === 'RecommendedFeeds' ||
|
||||||
currentScreenName === 'RecommendedFeeds'
|
currentScreenName === 'RecommendedFeeds'
|
||||||
) {
|
) {
|
||||||
|
track('Onboarding:Complete')
|
||||||
this.step = 'Home'
|
this.step = 'Home'
|
||||||
return this.step
|
return this.step
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue