diff --git a/src/lib/statsig/events.ts b/src/lib/statsig/events.ts index 6b41967eff..81436b7d07 100644 --- a/src/lib/statsig/events.ts +++ b/src/lib/statsig/events.ts @@ -155,6 +155,10 @@ export type LogEvents = { shareType: 'link' | 'qrcode' qrShareType?: 'save' | 'copy' } + 'starterPack:followAll': { + starterPack: string + followCount: number + } 'test:all:always': {} 'test:all:sometimes': {} diff --git a/src/screens/StarterPack/StarterPackScreen.tsx b/src/screens/StarterPack/StarterPackScreen.tsx index a392e542ec..ecd35a4587 100644 --- a/src/screens/StarterPack/StarterPackScreen.tsx +++ b/src/screens/StarterPack/StarterPackScreen.tsx @@ -155,6 +155,10 @@ function Header({ queryKey: RQKEY(starterPack.list.uri), }) + logEvent('starterPack:followAll', { + starterPack: starterPack.uri, + followCount: dids.length, + }) Toast.show(_(msg`All accounts have been followed!`)) } catch (e) { Toast.show(_(msg`An error occurred while trying to follow all`))