Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

feat: send cloud_subscribed as PostHog person property

Louis Beaumont1fbdf5d4bc02
diff --git a/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx b/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx
index 5d811a3f7..8ceb697d7 100644
--- a/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx
+++ b/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx
@@ -671,6 +671,7 @@ export const SettingsProvider: React.FC<{ children: React.ReactNode }> = ({ chil
github_username: settings.user?.github_username,
website: settings.user?.website,
contact: settings.user?.contact,
+ cloud_subscribed: !!settings.user?.cloud_subscribed,
app_version: appVersion,
});
})
@@ -682,11 +683,12 @@ export const SettingsProvider: React.FC<{ children: React.ReactNode }> = ({ chil
github_username: settings.user?.github_username,
website: settings.user?.website,
contact: settings.user?.contact,
+ cloud_subscribed: !!settings.user?.cloud_subscribed,
});
});
}
// eslint-disable-next-line react-hooks/exhaustive-deps
- }, [settings.analyticsId, settings.user?.id]);
+ }, [settings.analyticsId, settings.user?.id, settings.user?.cloud_subscribed]);
// When user becomes a Pro subscriber, default to cloud transcription (one-time)
useEffect(() => {