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