about summary refs log tree commit diff
path: root/src/lib/statsig
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2025-01-26 15:40:02 -0800
committerGitHub <noreply@github.com>2025-01-26 15:40:02 -0800
commitebb6d5cc0f8179a5d1b9b71fc5ea4a64fcb4baee (patch)
tree48bf149cc57c94e3e249b77476f7cf1878d7e41c /src/lib/statsig
parent355c50fc0fe97feb8b4ec4e29d47b725252088c7 (diff)
downloadvoidsky-ebb6d5cc0f8179a5d1b9b71fc5ea4a64fcb4baee.tar.zst
env var tweaks (#7457)
* add new events

* Discard changes to package.json

* Discard changes to src/lib/constants.ts

* Discard changes to src/state/feed-feedback.tsx

* Discard changes to yarn.lock

* remove unused event
Diffstat (limited to 'src/lib/statsig')
-rw-r--r--src/lib/statsig/events.ts21
1 files changed, 20 insertions, 1 deletions
diff --git a/src/lib/statsig/events.ts b/src/lib/statsig/events.ts
index 189153a10..2014f31f5 100644
--- a/src/lib/statsig/events.ts
+++ b/src/lib/statsig/events.ts
@@ -170,6 +170,26 @@ export type LogEvents = {
       | 'PostOnboardingFindFollows'
       | 'ImmersiveVideo'
   }
+  'suggestedUser:follow': {
+    logContext:
+      | 'Explore'
+      | 'InterstitialDiscover'
+      | 'InterstitialProfile'
+      | 'Profile'
+    location: 'Card' | 'Profile'
+    recId?: number
+    position: number
+  }
+  'suggestedUser:press': {
+    logContext: 'Explore' | 'InterstitialDiscover' | 'InterstitialProfile'
+    recId?: number
+    position: number
+  }
+  'suggestedUser:seen': {
+    logContext: 'Explore' | 'InterstitialDiscover' | 'InterstitialProfile'
+    recId?: number
+    position: number
+  }
   'profile:unfollow': {
     logContext:
       | 'RecommendedFollowsItem'
@@ -225,7 +245,6 @@ export type LogEvents = {
     domain: string
   }
 
-  'feed:interstitial:profileCard:press': {}
   'feed:interstitial:feedCard:press': {}
 
   'profile:header:suggestedFollowsCard:press': {}