diff options
author | dan <dan.abramov@gmail.com> | 2024-11-01 16:21:18 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-01 16:21:18 +0000 |
commit | 125ac5049a0abc4825a6a4a318b1a5c916b8d0ab (patch) | |
tree | 53b13538640ebaa6e3c4e234df0b761bb2d043a2 /src/lib | |
parent | 1c2186bc0306dddeebd039668eea6840285ba534 (diff) | |
download | voidsky-125ac5049a0abc4825a6a4a318b1a5c916b8d0ab.tar.zst |
[Statsig] Track threads (#6057)
* [Statsig] Send thread length * Split events
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/statsig/events.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/statsig/events.ts b/src/lib/statsig/events.ts index 9a306ee4f..8f8504021 100644 --- a/src/lib/statsig/events.ts +++ b/src/lib/statsig/events.ts @@ -122,11 +122,16 @@ export type LogEvents = { 'post:create': { imageCount: number isReply: boolean + isPartOfThread: boolean hasLink: boolean hasQuote: boolean langs: string logContext: 'Composer' } + 'thread:create': { + postCount: number + isReply: boolean + } 'post:like:sampled': { doesLikerFollowPoster: boolean | undefined doesPosterFollowLiker: boolean | undefined |