diff options
author | Ansh <anshnanda10@gmail.com> | 2023-12-06 11:45:01 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-06 09:45:01 -0800 |
commit | 8e541d753a0718b85e0a754452c8ffbafb181a81 (patch) | |
tree | f9afd09859646cc71e948f391b688d2215107498 /src/state/session | |
parent | 7229cda5a52192266d8e0ee202ae3d3fee7c66a3 (diff) | |
download | voidsky-8e541d753a0718b85e0a754452c8ffbafb181a81.tar.zst |
Check Analytics (#2106)
* fix sign in event tracking * add missing analytics events * add more missing analytics * fix like and unrepost event tracking * reset onEndReachedThreshold
Diffstat (limited to 'src/state/session')
-rw-r--r-- | src/state/session/index.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/state/session/index.tsx b/src/state/session/index.tsx index 37454187a..0d52d2521 100644 --- a/src/state/session/index.tsx +++ b/src/state/session/index.tsx @@ -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], ) |