Check Analytics (#2106)
* fix sign in event tracking * add missing analytics events * add more missing analytics * fix like and unrepost event tracking * reset onEndReachedThreshold
This commit is contained in:
parent
7229cda5a5
commit
8e541d753a
11 changed files with 41 additions and 22 deletions
|
@ -10,6 +10,7 @@ import {IS_PROD} from '#/lib/constants'
|
|||
import {emitSessionLoaded, emitSessionDropped} from '../events'
|
||||
import {useLoggedOutViewControls} from '#/state/shell/logged-out'
|
||||
import {useCloseAllActiveElements} from '#/state/util'
|
||||
import {track} from '#/lib/analytics/analytics'
|
||||
|
||||
let __globalAgent: BskyAgent = PUBLIC_BSKY_AGENT
|
||||
|
||||
|
@ -270,6 +271,8 @@ export function Provider({children}: React.PropsWithChildren<{}>) {
|
|||
},
|
||||
logger.DebugContext.session,
|
||||
)
|
||||
|
||||
track('Sign In', {resumedSession: false})
|
||||
},
|
||||
[upsertAccount, queryClient],
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue