about summary refs log tree commit diff
path: root/src/lib/statsig/events.ts
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2024-05-13 16:54:12 -0500
committerGitHub <noreply@github.com>2024-05-13 16:54:12 -0500
commit95514e3af715bb1bb632a4c8fee133d9fab47012 (patch)
tree83559378463acb2b4bc3f117a1f21e7f4bb73eb4 /src/lib/statsig/events.ts
parent9980012021bb176d3d84acc3fa14893e6f097f64 (diff)
downloadvoidsky-95514e3af715bb1bb632a4c8fee133d9fab47012.tar.zst
[Reduced Onboarding] Fix forward/backward nav with profile step (#3997)
* WIP

* Fix forward-backward to profile step

* [Reduced Onboarding] Add avatar metric (#3999)

* Add prop to finished event

* Fix type

* Use separate event
Diffstat (limited to 'src/lib/statsig/events.ts')
-rw-r--r--src/lib/statsig/events.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/statsig/events.ts b/src/lib/statsig/events.ts
index d73d21a1a..85254992e 100644
--- a/src/lib/statsig/events.ts
+++ b/src/lib/statsig/events.ts
@@ -53,6 +53,9 @@ export type LogEvents = {
   'onboarding:moderation:nextPressed': {}
   'onboarding:profile:nextPressed': {}
   'onboarding:finished:nextPressed': {}
+  'onboarding:finished:avatarResult': {
+    avatarResult: 'default' | 'created' | 'uploaded'
+  }
   'home:feedDisplayed': {
     feedUrl: string
     feedType: string