Replies: 1 comment
-
|
We're trying to balance making sure Kiln is an awesome free product for individuals, and is also sustainable long term. That means for-profit companies using Kiln should contribute to its development (eventually). Technically, we're a mix of true OSS/MIT code with zero analytics (the library, the OSS REST API), open formats (JSON you can read with our library or any other), and source-available code (the UI/app) which will have paid options for larger companies in the future. Analytics are only in the 3rd category. Also important, even in the app: we never track prompts, model inputs, model outputs, project names, or other user-input strings. It's generalize analytics like "how many times did people use feature X / visit screen Y". If a for-profit company needs a zero-analytics solution, we can definitely provide that! You can contact us to discuss details: https://kiln.tech/contact_sales If anyone is doing not-for-profit work for a good cause and needs a no-analytics option, please reach out as well! More details from Privacy Docs: https://docs.kiln.tech/docs/privacy More context copied from the README: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
Users currently have no control over analytics collection. PostHog initializes automatically on app launch and captures usage telemetry including navigation events, feature usage (model/provider selections, tool counts), and optionally work email addresses for users who registered as work users.
While we don't collect task inputs, prompts, or document contents, and we suppress IP capture, users still need a clear opt-out mechanism for privacy preferences and compliance requirements. I'm frustrated when applications don't provide transparent control over telemetry, especially when dealing with potentially sensitive AI workflows.
Checks
Describe the solution you'd like
Add a persistent analytics opt-out toggle in the Settings page (
/settings) under a new "Privacy & Analytics" section that:kiln_ph_opt_outposthog.opt_in_capturing()UI requirements:
Technical implementation:
lib/stores/analytics.tswrapping localStorage + PostHog opt_in/opt_out APIroutes/+layout.tsbased on opt-out flagposthog.capture()calls checking opt-out statelib/ui/analytics_toggle.svelteAcceptance criteria:
Describe alternatives you've considered
Environment variable for disabling analytics - Not user-friendly for desktop app users who don't have easy access to environment configuration. Requires app restart.
Server-side preference storage - Would require user accounts and backend changes. Current privacy model is client-side only, which is simpler and more privacy-preserving.
Consent banner on first launch - Could be added in future as a progressive enhancement, but a settings toggle is more flexible for users who want to change their preference later.
Complete removal of analytics - Loses valuable product improvement insights. An opt-out preserves choice for both privacy-conscious users and product development needs.
Additional context
Current analytics scope (for transparency):
$pageview,$pageleave), feature usage (run_task,create_project,add_documents,connect_provider, etc.)ip=0parameter, autocapture disabledTesting plan:
https://ustat.getkiln.ai/i/v0/e/Related files:
app/web_ui/src/routes/+layout.tsapp/web_ui/src/routes/(app)/+layout.svelte,app/web_ui/src/lib/utils/connect_ph.tsapp/web_ui/src/routes/(app)/settings/+page.svelteBeta Was this translation helpful? Give feedback.
All reactions