@davoodmehraban89 / LifeMate / commits / b68ae60
Fork 0

LifeMate — Personal, Family & Learning Companion

docs: define privacy minimal analytics policy

davoodmehraban89 committed Oct 5, 2026 at 06:28 UTC b68ae60c6bba052ed4bfc0d038648bba2966056d
1 file changed +24
docs/quality/ANALYTICS_POLICY_V1.md new
+24
@@ -0,0 +1,24 @@
1 +# LifeMate — Analytics Policy v1
2 +
3 +## Principle
4 +Product analytics answers whether flows work; it does not become a shadow copy of private user content.
5 +
6 +## Allowed event shape
7 +Use stable event names plus low-sensitivity categorical/boolean metadata. Examples: `auth_signup_completed`, `family_invite_accepted`, `task_completed`, `pwa_install_prompt_shown`, `notification_permission_result`, `study_session_completed`.
8 +
9 +## Never send to PostHog/product analytics
10 +- passwords, tokens, recovery links;
11 +- raw AI/wellbeing transcripts;
12 +- journal/private free text;
13 +- assignment/task free-text content unless an explicit future use case is separately approved;
14 +- precise sensitive safety-event narrative;
15 +- email/phone as event properties unless a specific operational requirement and privacy review approve it.
16 +
17 +## Identity
18 +Use internal pseudonymous user/profile identifiers where needed for product analysis. Family identifiers are pseudonymous. Analytics identity does not grant application authorization.
19 +
20 +## Feature flags
21 +AI/wellbeing and other higher-risk capabilities launch behind server-respected feature flags where appropriate. A client flag is not a security boundary.
22 +
23 +## Retention
24 +Analytics retention and deletion behavior must be configured before production based on actual product needs and deployment obligations; default to less data and shorter retention when uncertain.
\ No newline at end of file