Skip to content

Fix #248: Make analytics opt-in with migration for existing users#433

Open
jloutsch wants to merge 1 commit into
ganeshrvel:masterfrom
jloutsch:fix/248-analytics-opt-in
Open

Fix #248: Make analytics opt-in with migration for existing users#433
jloutsch wants to merge 1 commit into
ganeshrvel:masterfrom
jloutsch:fix/248-analytics-opt-in

Conversation

@jloutsch

@jloutsch jloutsch commented Oct 9, 2025

Copy link
Copy Markdown

Summary

This PR addresses issue #248 by making analytics opt-in instead of opt-out. Previously, analytics were enabled by default, which is a privacy concern as users did not explicitly consent to data collection.

Changes

  • Changed default enableAnalytics setting from true to false in Settings reducer
  • Added migration logic to disable analytics for all existing users with analytics currently enabled
  • Migration preserves user privacy by defaulting to opt-in model
  • Users can still manually enable analytics in Settings → Privacy if they choose to opt-in

Testing

  • Tested with existing installation where analytics were enabled - confirmed analytics are now disabled after upgrade
  • Tested with fresh installation - confirmed analytics are disabled by default
  • Verified users can manually re-enable analytics through Settings UI

Notes

This change affects both new and existing users to ensure consistent privacy-first behavior. Existing users who had analytics enabled will have them automatically disabled, but can easily re-enable if desired through the app settings.

Closes #248

… users

Changed default value of enableAnalytics from true to false to address
privacy concerns. Previously, analytics were enabled by default without
user consent.

Added automatic migration that runs on app startup:
- Detects existing users with analytics enabled and automatically disables it
- New installations use the new default (false)
- Users can manually opt-in through Settings → Privacy

This is intentional to correct the privacy violation. Users never actively
opted in - analytics were enabled by default. The migration ensures all
users (new and existing) have analytics disabled by default while still
allowing them to opt in if they choose to support the project.

Files changed:
- app/containers/Settings/reducers.js (line 22)
- app/containers/App/index.jsx (lines 132-145 - migration logic)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Let "Anonymous usage statistics gathering" be opt-in instead of opt-out

1 participant