Skip to content

Stop sending voice transcripts and AI responses to PostHog#81

Open
sat-sat wants to merge 1 commit intofarzaa:mainfrom
sat-sat:fix/posthog-transcript-privacy
Open

Stop sending voice transcripts and AI responses to PostHog#81
sat-sat wants to merge 1 commit intofarzaa:mainfrom
sat-sat:fix/posthog-transcript-privacy

Conversation

@sat-sat
Copy link
Copy Markdown

@sat-sat sat-sat commented May 3, 2026

Problem

trackUserMessageSent and trackAIResponseReceived in ClickyAnalytics.swift
were sending the full verbatim text of every user voice transcript and every
Claude response to PostHog. For an app that captures screen and voice, users
reasonably expect that conversation content stays on their device.

Fix

Remove the transcript and response properties from the two analytics events.
The character_count property is retained in both — this preserves useful usage
metrics (response length trends, input length) without exposing any content.

Changes

  • ClickyAnalytics.swift: remove "transcript" from user_message_sent event
  • ClickyAnalytics.swift: remove "response" from ai_response_received event

User transcripts and Claude responses were being sent verbatim to
PostHog analytics, exposing private conversation content to a
third-party service. Retain character_count for usage metrics only.
@sat-sat
Copy link
Copy Markdown
Author

sat-sat commented May 3, 2026

Hey @farzaa — just curious, was there a specific reason for sending full transcripts and responses to PostHog? Given that Clicky has access to the user's screen and voice, I think keeping conversation content off third-party servers is important for user trust. If there's specific analytics signal you were hoping to get from the content, let me know and I'm happy to add something more privacy-preserving to this PR.

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.

1 participant