diff options
author | dan <dan.abramov@gmail.com> | 2024-03-14 00:21:42 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-14 00:21:42 +0000 |
commit | 1c25c76645564c4581530ec604b7862bb3b8fdda (patch) | |
tree | 794af0132fdfc2961298e746c875b5a38c155b49 /src/lib | |
parent | 7eaa573b57c6fb3a37abe105d4a8de10e9b9f893 (diff) | |
download | voidsky-1c25c76645564c4581530ec604b7862bb3b8fdda.tar.zst |
[Statsig] Track posting, end reached (#3206)
* Track post create * Track feed endReached
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/statsig/events.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/lib/statsig/events.ts b/src/lib/statsig/events.ts index 321a0f681..fa7e597fb 100644 --- a/src/lib/statsig/events.ts +++ b/src/lib/statsig/events.ts @@ -2,6 +2,18 @@ export type LogEvents = { init: { initMs: number } + 'feed:endReached': { + feedType: string + itemCount: number + } + 'post:create': { + imageCount: number + isReply: boolean + hasLink: boolean + hasQuote: boolean + langs: string + logContext: 'Composer' + } 'post:like': { logContext: 'FeedItem' | 'PostThreadItem' | 'Post' } |