about summary refs log tree commit diff
path: root/src/lib/statsig
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2024-12-18 13:37:46 -0600
committerGitHub <noreply@github.com>2024-12-18 11:37:46 -0800
commite7b015f53fd777654326ed0b30174c09673312ef (patch)
tree82910d8a1faf77fa45076ceaab139dcaa2f4e2d5 /src/lib/statsig
parent05c43ed998430fb7d8d2a57bed54f2f24c71dd88 (diff)
downloadvoidsky-e7b015f53fd777654326ed0b30174c09673312ef.tar.zst
Trending tracking (#7161)
* Add hide to Explore

* Event for show

* Add hide events to each location
Diffstat (limited to 'src/lib/statsig')
-rw-r--r--src/lib/statsig/events.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/statsig/events.ts b/src/lib/statsig/events.ts
index f1dfb0a94..76ba3257f 100644
--- a/src/lib/statsig/events.ts
+++ b/src/lib/statsig/events.ts
@@ -236,4 +236,9 @@ export type LogEvents = {
   'tmd:share': {}
   'tmd:download': {}
   'tmd:post': {}
+
+  'trendingTopics:show': {}
+  'trendingTopics:hide': {
+    context: 'sidebar' | 'interstitial' | 'explore'
+  }
 }