about summary refs log tree commit diff
path: root/src/lib/statsig/events.ts
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2024-04-09 23:09:42 +0100
committerGitHub <noreply@github.com>2024-04-09 15:09:42 -0700
commitc300d4cab638405e783eb9e96a6d6a836d4ecd6e (patch)
tree2cc296c2f54b1f5347792766ba3006ea6bc088ff /src/lib/statsig/events.ts
parentc96bc92042e2d5cb2a28736fd7a9dd2593a7b040 (diff)
downloadvoidsky-c300d4cab638405e783eb9e96a6d6a836d4ecd6e.tar.zst
[Statsig] Instrument feed display (#3455)
* [Statsig] Instrument feed display

* Back out leftover change
Diffstat (limited to 'src/lib/statsig/events.ts')
-rw-r--r--src/lib/statsig/events.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/statsig/events.ts b/src/lib/statsig/events.ts
index 73e9876ac..3d650b8b7 100644
--- a/src/lib/statsig/events.ts
+++ b/src/lib/statsig/events.ts
@@ -44,6 +44,12 @@ export type LogEvents = {
   }
   'onboarding:moderation:nextPressed': {}
   'onboarding:finished:nextPressed': {}
+  'home:feedDisplayed': {
+    feedUrl: string
+    feedType: string
+    index: number
+    reason: 'focus' | 'tabbar-click' | 'pager-swipe' | 'desktop-sidebar-click'
+  }
   'feed:endReached': {
     feedUrl: string
     feedType: string