track successful account creation (#955)
parent
343154a403
commit
269c0687fd
|
@ -12,6 +12,7 @@ interface TrackPropertiesMap {
|
|||
'Sign In': {resumedSession: boolean} // CAN BE SERVER
|
||||
'Create Account': {} // CAN BE SERVER
|
||||
'Try Create Account': {}
|
||||
'Create Account Successfully': {}
|
||||
'Signin:PressedForgotPassword': {}
|
||||
'Signin:PressedSelectService': {}
|
||||
// COMPOSER / CREATE POST events
|
||||
|
|
|
@ -11,6 +11,7 @@ import {networkRetry} from 'lib/async/retry'
|
|||
import {z} from 'zod'
|
||||
import {RootStoreModel} from './root-store'
|
||||
import {IS_PROD} from 'lib/constants'
|
||||
import {track} from 'lib/analytics/analytics'
|
||||
|
||||
export type ServiceDescription = DescribeServer.OutputSchema
|
||||
|
||||
|
@ -388,6 +389,7 @@ export class SessionModel {
|
|||
|
||||
await this.setActiveSession(agent, did)
|
||||
this._log('SessionModel:createAccount succeeded')
|
||||
track('Create Account Successfully')
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue